{"uid":"cap_exMDWehBF20s2IksErnzj","slug":"inference402-machine-translation-e58d8596","name":"Inference402 Machine Translation","description":"Pay-per-call AI inference for agents: chat (Llama 3.3 70B / 3.1 8B), structured JSON, summarize, translate (incl. Egyptian Arabic), extract, classify, sentiment, keywords, rewrite, embeddings, moderation, vision and speech-to-text. USDC on Base mainnet over x402. No API key, no account.","url":"https://inference402.worlddata402.workers.dev/v1/translate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":5000},"source":{"type":"string","default":"en","description":"ISO 639-1 source language code"},"target":{"type":"string","description":"ISO 639-1 target language code"}}},"responseSchema":{"type":"json","example":{"model":"@cf/meta/m2m100-1.2b","source":"en","target":"fr","translated_text":"La réunion est déplacée à jeudi matin."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RVByaaOQy_8pKmLXErRZV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates text between languages using Meta's M2M100 model, with support for Egyptian Arabic and other languages, paid per-call via USDC on Base.","exampleAgentPrompt":"Translate this text from English to French using the Inference402 pay-per-call translator: 'The meeting has been moved to Thursday morning.'","exampleUseCases":[{"title":"Customer support message localization","prompt":"Translate this support ticket from English to Spanish so I can respond to the customer: 'My order arrived damaged and I need a replacement sent as soon as possible.'"},{"title":"Egyptian Arabic content translation","prompt":"I need to translate this English marketing copy into Egyptian Arabic: 'Discover our new summer collection — fresh styles, great prices.'"},{"title":"Multilingual product description","prompt":"Translate the following product description from English to Japanese: 'Lightweight wireless earbuds with 24-hour battery life and noise cancellation.'"}],"resultDescription":"Returns a JSON object containing the translated text string, the source language code used, the target language code, and the model identifier (e.g. @cf/meta/m2m100-1.2b). Example: {model: '@cf/meta/m2m100-1.2b', source: 'en', target: 'fr', translated_text: 'La réunion est déplacée à jeudi matin.'}","failureModes":["Unsupported language pair returns an error or empty translation","Text exceeding 5000 characters is rejected","Missing or invalid ISO 639-1 language code causes a bad request","Payment failure (insufficient USDC balance) blocks the request with a 402 response","Low-resource languages may produce lower-quality translations"],"whenToPreferThis":"Choose this endpoint when you need pay-as-you-go machine translation with no API key or account setup, particularly for agents that require occasional translation calls billed in USDC on Base. Well-suited for Egyptian Arabic and other languages supported by M2M100. Prefer this over subscription-based translation APIs when cost predictability at the per-call level is important, or when operating in a crypto-native payment context via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:30:04.260Z","isFirstParty":false,"canonicalSlug":"inference402-machine-translation-e58d8596"}