{"uid":"cap_E7EQzfU1kZ2Q0ccNM4W2c","slug":"aayat-ai-text-translation-ed49a727","name":"Aayat AI Text Translation","description":"Translate text between 100+ languages with AI. POST JSON {\"text\": \"...\", \"target\": \"French\"} (language name or code such as fr, de, es, ja, zh, ar). Optional \"source\" language, otherwise it is detected. Up to about 12,000 characters of English (4,000 of Chinese/Japanese) per call. Keeps formatting such as Markdown and line breaks. Failed calls are not charged.","url":"https://aayatai.com/translate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":12000,"minLength":1,"description":"Text to translate."},"source":{"type":"string","maxLength":40,"description":"Language of the text. Default: detect automatically."},"target":{"type":"string","maxLength":40,"minLength":2,"description":"Language to translate into, e.g. French or fr."}}},"responseSchema":{"type":"json","example":{"chars":19,"model":"@cf/google/gemma-3-12b-it","source":"auto","target":"es","translation":"Hola, ¿cómo estás?"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_B6IMQ2J0tqt89ebVof8S0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates text between 100+ languages using AI, with automatic source language detection and formatting preservation","exampleAgentPrompt":"Translate this text to French: 'Good morning, how are you today? I hope you're having a wonderful week.' — detect the source language automatically.","exampleUseCases":[{"title":"Localize marketing copy for new market","prompt":"Translate this product description into Spanish for our Latin American launch: 'Discover our all-new wireless earbuds with 40-hour battery life, noise cancellation, and premium sound quality. Available now for $79.'"},{"title":"Translate user-submitted support ticket","prompt":"A customer sent us a support message and I think it's in Japanese — can you translate it to English? Here's the text: '注文した商品がまだ届いていません。追跡番号を確認しましたが、3日間動いていません。'"},{"title":"Convert multilingual Markdown documentation","prompt":"Translate this Markdown README file to German, keeping all the headings, code blocks, and formatting intact: '# Getting Started\n\nInstall the package with:\n\n```bash\nnpm install mylib\n```\n\nThen import it in your project.'"}],"resultDescription":"Returns a JSON object with the translated text string, the detected or specified source language code, the target language code, the character count of the input, and the AI model used for translation.","failureModes":["Text exceeds 12,000 character limit for Latin-script languages or 4,000 for CJK scripts — returns an error","Unsupported or misspelled target language name/code — returns an error","Payment failure — call is not charged and returns a payment error","Empty or whitespace-only text input — returns validation error","Ambiguous very short text may result in incorrect language detection"],"whenToPreferThis":"Choose this endpoint when you need cost-effective, pay-per-call AI translation across 100+ languages with automatic source detection, formatting preservation (Markdown, line breaks), and no subscription commitment. Ideal for agents handling occasional translation tasks without needing a dedicated translation service subscription. At $0.01 per call it suits low-to-medium volume use cases.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:46:25.760Z","isFirstParty":false,"canonicalSlug":"aayat-ai-text-translation-ed49a727"}