{"uid":"cap_Y_1PeJ9AYtR3oDzc3V_EZ","slug":"momoai-translate-llm-powered-text-translation-bcec5e16","name":"momoAI Translate — LLM-Powered Text Translation","description":"Pay-per-use LLM API. Chat, reasoning, code review, translation, summarization, data extraction, and more. Pay with USDC on Base.","url":"https://momoai-cyan.vercel.app/api/translate","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text","target_lang"],"properties":{"text":{"type":"string","description":"Text to translate"},"tone":{"type":"string"},"source_lang":{"type":"string","description":"Source language code (auto-detect if omitted)"},"target_lang":{"type":"string","description":"Target language code (e.g. ja, zh, es, id)"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object","properties":{"tone":{"type":"string"},"model":{"type":"string"},"usage":{"type":"object"},"source_lang":{"type":"string"},"target_lang":{"type":"string"},"translation":{"type":"string"}}},"meta":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_d-SsD8QDU8lb9AudKI8zd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates text into a target language using an LLM, with optional tone control and automatic source language detection, billed at $0.01 USDC per call via x402.","exampleAgentPrompt":"Translate the following text into Japanese with a formal tone: 'Thank you for your continued support. We look forward to working with you.'","exampleUseCases":null,"resultDescription":"Returns a JSON object with a 'translation' string containing the translated text, plus metadata including detected or specified source language, target language, tone applied, the LLM model used, and token usage statistics.","failureModes":["Missing required 'text' or 'target_lang' fields returns a validation error","Invalid language code (e.g. unsupported locale) may return an error or fallback","Payment failure via x402 (insufficient USDC balance) blocks the request","Very long text may exceed model context limits and return a truncation or error","Network timeout on Vercel edge may result in a 5xx response"],"whenToPreferThis":"Choose this endpoint when you need LLM-quality translation (nuanced, tone-aware) rather than statistical MT, especially when tone control matters, when source language is unknown and auto-detection is needed, and when paying per-call in USDC on Base is acceptable or preferred over subscription-based translation APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:31:35.657Z","isFirstParty":false}