{"uid":"cap_s3RBmp_Tvr8Z27r54M0BD","slug":"devx-voice-machine-translation-6fa22c09","name":"DevX Voice Machine Translation","description":"Machine translation for agents between 100 languages: send text (up to 5,000 chars), target_lang and optional source_lang (auto-detect by default) and get the translation. $0.001 USDC per started 1,000 characters on Base; failures are not charged. LibreTranslate/dTelecom-style {q, source, target} also accepted at /v1/translation. M2M100 1.2B. By DevX.","url":"https://voice.madebydevx.com/v1/translate?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_cgHAAefIcpZikApMbB4qV","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 (up to 5,000 characters) between 100 languages using the M2M100 1.2B model, billed per 1,000 characters via USDC on Base.","exampleAgentPrompt":"Translate this text into German for me: 'Good morning, how are you today?' — auto-detect the source language.","exampleUseCases":[{"title":"Localize product listing to Spanish","prompt":"Translate this product description into Spanish for our Latin American store listing: 'Our premium wireless headphones deliver crystal-clear sound with 30-hour battery life and foldable design for travel.'"},{"title":"Customer support multilingual reply","prompt":"I got a support message in Japanese and need to reply — translate my English response into Japanese: 'Thank you for contacting us. Your refund has been processed and will appear in 3-5 business days.'"},{"title":"Auto-detect and convert to French","prompt":"I have this text but I'm not sure what language it's in — can you auto-detect the language and translate it to French? Here it is: 'Bonjour tout le monde, comment ça va?'"}],"resultDescription":"Returns a JSON object containing the translated text, the source and target language codes, character count, number of billed units, the model used (m2m100-1.2b), an operation ID, and payment confirmation details including transaction hash and amount paid in USDC.","failureModes":["Text exceeds 5,000 character limit — request rejected without charge","Invalid or unsupported target_lang enum value — validation error returned","Source text is empty or missing — request rejected","Network or model inference failure — not charged, error response returned","Invalid idempotency key format — request rejected with schema validation error"],"whenToPreferThis":"Choose this endpoint when you need pay-per-use machine translation across up to 100 languages with no subscription, billed only for successful translations at $0.001 USDC per 1,000 characters. It is ideal for AI agents that need on-demand, cost-accountable translation with auto language detection, idempotency support, and compatibility with both DevX-native and LibreTranslate-style ({q, source, target}) request formats.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:35:43.742Z","isFirstParty":false,"canonicalSlug":"devx-voice-machine-translation-6fa22c09"}