{"uid":"cap_xBQ9eHbW6wv6hX1AIJzwr","slug":"nexusapi-ai-text-completion-a2770f64","name":"NexusAPI AI Text Completion","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://nexus-api-virid.vercel.app/api/ai/completion","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.148739","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.148739/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.148739","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.148739","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yPw0acd_mRwIyU5nknOCw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.148739","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates AI text completions from a natural language query or prompt input","exampleAgentPrompt":"Complete this prompt for me using an AI model: 'The main benefits of renewable energy are...' and give me a thorough paragraph-length response.","exampleUseCases":[{"title":"AI-drafted marketing copy","prompt":"Write me a compelling product description for a new ergonomic office chair called 'ErgoFlex Pro' — something a customer would find persuasive, around two paragraphs."},{"title":"On-demand Q&A for research","prompt":"Can you ask the AI to explain the key differences between supervised and unsupervised machine learning in plain language, like I'm a non-technical manager?"},{"title":"Creative writing assistance","prompt":"Generate a short opening paragraph for a sci-fi short story where humanity discovers a signal from another galaxy for the first time."}],"resultDescription":"Returns an AI-generated text completion or response to the provided query or prompt, delivered as a JSON object containing the generated content.","failureModes":["Empty or missing query field returns an error or empty completion","Insufficient USDC balance causes payment failure before the call is processed","Overly long prompts may be truncated or rejected depending on model limits","Vague or ambiguous queries may produce low-quality or irrelevant completions","Network timeouts may occur under high load on the Vercel-hosted service"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call AI text completion with no API key setup, paying in USDC on Base via x402. Ideal for agents that need occasional AI-generated text without committing to a subscription or managing API credentials. Less suitable if you need fine-grained model selection, streaming responses, or very high-volume throughput.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:54:13.615Z","isFirstParty":false}