{"uid":"cap_bLaCB7VQ5gPpRIoZkm-Vv","slug":"amanchain-llm-chat-ai-text-generation-2608c836","name":"AmanChain LLM Chat – AI Text Generation","description":"AI chat and text generation API — general-purpose LLM completion for any prompt; chatbots, drafting and Q&A. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {\"serviceId\":\"aman-llm-chat\",\"request\":\"<input>\"}.","url":"https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-llm-chat","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"body":{"type":"object"}}},"output":{"type":"object","properties":{"example":{"type":"object","example":{"ok":true}}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007465","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.007465/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007465","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007465","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_i7x9KKhWCOyyY598lKzDo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007465","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates AI text responses to any free-form prompt, paid per call via x402/USDC on Base with no account or API key required.","exampleAgentPrompt":"Write me a short professional bio for a blockchain developer named Alex who specializes in DeFi protocols and has 5 years of experience — pay for the generation via x402 USDC.","exampleUseCases":[{"title":"On-demand marketing copy generation","prompt":"Write a punchy 3-sentence product description for my new cold brew coffee brand called 'Midnight Drip' — make it sound bold and energetic."},{"title":"Automated agent Q&A response","prompt":"I need an AI-written answer to this customer support question: 'What is the difference between a hot wallet and a cold wallet in crypto?' — keep it under 100 words and beginner-friendly."},{"title":"Creative writing on demand","prompt":"Generate a short sci-fi opening paragraph set on Mars in 2147 where the protagonist discovers an ancient alien signal — make it atmospheric and mysterious."}],"resultDescription":"Returns an AI-generated text string responding to the provided prompt. The response is produced by an LLM node operated by AmanChain and may vary in length and style depending on the input prompt. No additional metadata is returned beyond the generated text content.","failureModes":["Payment not received or x402 settlement fails — request rejected with payment required error","Invalid serviceId value (must be exactly 'aman-llm-chat') — returns error or no response","Missing or malformed 'request' field in JSON body — returns validation error","LLM node temporarily unavailable — service error response","Prompt too long or containing disallowed content — may return empty or error response"],"whenToPreferThis":"Choose this endpoint when you need general-purpose AI text generation without signing up for an account or obtaining an API key, and you can settle payment per-call in USDC on Base via the x402 protocol. It is ideal for agentic workflows that need occasional, on-demand LLM calls billed micropayment-style rather than via a monthly subscription. Less suitable if you need structured JSON outputs, fine-tuned model behavior, or deterministic reproducibility across calls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:08.714Z","isFirstParty":false}