{"uid":"cap_ptLD24n2tJ5JxOd1Y19iP","slug":"devx-voice-translation-15d8c4fd","name":"DevX Voice Translation","description":"Pay-per-call speech-to-text, text-to-speech, translation and OCR for AI agents. x402 v2, USDC on Base, no account or API key. Price is computed from the input (audio minutes, characters, images) and returned in the 402 quote; failures are never charged. Runs on Cloudflare Workers AI open models (Whisper large-v3-turbo, MeloTTS, M2M100, Gemma 4).","url":"https://voice.madebydevx.com/v1/translation?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"q":{"type":"string"},"text":{"type":"string","maxLength":5000,"minLength":1,"description":"Text to translate (alias q)"},"source":{"type":"string"},"target":{"type":"string"},"requestKey":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$","maxLength":128,"minLength":8,"description":"Optional idempotency key: the same payer + requestKey + input within 7 days returns the stored result without a second charge."},"source_lang":{"type":"string","description":"Source language ISO 639-1 or \"auto\" (default; alias source)"},"target_lang":{"enum":["af","am","ar","ast","az","ba","be","bg","bn","br","bs","ca","ceb","cs","cy","da","de","el","en","es","et","fa","ff","fi","fr","fy","ga","gd","gl","gu","ha","he","hi","hr","ht","hu","hy","id","ig","ilo","is","it","ja","jv","ka","kk","km","kn","ko","lb","lg","ln","lo","lt","lv","mg","mk","ml","mn","mr","ms","my","ne","nl","no","ns","oc","or","pa","pl","ps","pt","ro","ru","sd","si","sk","sl","so","sq","sr","ss","su","sv","sw","ta","th","tl","tn","tr","uk","ur","uz","vi","wo","xh","yi","yo","zh","zu"],"type":"string","description":"Target language, ISO 639-1 (alias target)"}}},"responseSchema":{"type":"json","example":{"result":{"model":"m2m100-1.2b","characters":26,"source_lang":"en","target_lang":"de","billed_units":1,"translated_text":"Guten Morgen, wie geht es Ihnen?","detected_language":null},"status":"paid","payment":{"status":"paid","network":"eip155:8453","tx_hash":"0x0000000000000000000000000000000000000000000000000000000000000000","amount_raw":"1000"},"operation_id":"9b3e7a12-4c5d-4e6f-8a9b-0c1d2e3f4a5b"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cygjv8wgpINWZWUqb0jhu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 the M2M100 model, with pay-per-call USDC micropayments and no account required.","exampleAgentPrompt":"Translate this text into German for me: 'Good morning, how are you?' — detect the source language automatically and use the M2M100 model via DevX Voice, paying with USDC on Base.","exampleUseCases":[{"title":"Localizing customer support replies","prompt":"Translate this support reply into Spanish for our customer: 'Your order has been shipped and will arrive within 3 business days.' Auto-detect the source language."},{"title":"Multilingual product description pipeline","prompt":"I need to translate this product description into Japanese for our online store listing: 'Lightweight running shoes with breathable mesh upper and cushioned sole.' Target language is Japanese."},{"title":"Real-time chat message translation","prompt":"A user just sent me a message in an unknown language — translate it to English: 'Bonjour, je voudrais savoir où est ma commande.' Auto-detect the source."}],"resultDescription":"Returns a JSON object containing the translated text, the source and target language codes, the model used (m2m100-1.2b), the character count, a billed_units count, an operation_id UUID, and payment confirmation details including transaction hash, network, and amount paid in USDC.","failureModes":["Text exceeds 5000 character limit — request rejected before charge","Unsupported target_lang value — validation error returned, no charge","Source text is empty or missing — 400 error, not billed","Network or model inference failure on Cloudflare — 5xx, not billed","Invalid idempotency key format — rejected with schema validation error","Payment failure (insufficient USDC balance) — translation not executed"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call machine translation with no account, no API key, and no subscription — ideal for AI agents that translate sporadically and want to pay per use in USDC on Base. It supports 100 languages and up to 5000 characters per request. Prefer it over SaaS translation APIs (DeepL, Google Translate) when you want crypto-native micropayment billing, or over general LLM translation when you want predictable per-call pricing and a dedicated translation model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:30:44.092Z","isFirstParty":false,"canonicalSlug":"devx-voice-translation-15d8c4fd"}