{"uid":"cap_7cO_EZ3_OvrjhQrdR9C7z","slug":"whatchuneed-llm-text-generation-d8a9a561","name":"whatchuneed LLM Text Generation","description":"320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.","url":"https://whatchuneed.vercel.app/api/llm/generate","method":"POST","headers":{},"bodySchema":{"type":"object","required":["prompt"],"properties":{"style":{"type":"string"},"length":{"type":"string"},"prompt":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"text":{"type":"string"},"model":{"type":"string"},"word_count":{"type":"integer"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bu-vuZlW4uR6qDB6peeFX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates text from a prompt using a hosted LLM, with optional style and length controls, for $0.05 USDC per call via x402 protocol.","exampleAgentPrompt":"Write a short, casual-style paragraph introducing our new productivity app called FocusFlow — keep it under 100 words and punchy.","exampleUseCases":[{"title":"Marketing copy for a product launch","prompt":"Write a professional-style product description for our new ergonomic chair called SpineEase — aim for about 150 words and make it sound premium."},{"title":"Quick concept explanation for a blog","prompt":"Generate a concise, casual explanation of how blockchain works — something a beginner could understand, around 200 words."},{"title":"Creative story opener for a game","prompt":"Write a dramatic opening paragraph for a fantasy adventure game set in a medieval kingdom — make it atmospheric and around 100 words long."}],"resultDescription":"Returns a JSON object containing the generated text string, the name of the model used to generate it, and the word count of the output.","failureModes":["Missing required 'prompt' field returns a 400 validation error","Payment not provided or invalid x402 payment header returns 402 Payment Required","Invalid 'style' or 'length' values may be ignored or cause a 400 error","Prompt too long may exceed model context limits and return an error","Service unavailability on the hosted LLM backend returns a 503 or 500 error"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call LLM text generation without managing API keys or subscriptions, and you are already using the x402 micro-payment protocol. It is well suited for lightweight agents that need occasional text generation across varied styles and lengths without committing to a dedicated LLM provider contract.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:47:01.218Z","isFirstParty":false}