{"uid":"cap_n5K93BnAAZ00mL8CZw8xi","slug":"translate-text-m2m100-100-languages-f49d4171","name":"Translate Text (M2M100, 100 Languages)","description":"Translates text between about 100 languages with Meta M2M100 1.2B: pass the text and the target language (ISO code like es, fr, de, zh, ja, or its English name); the source language is detected if omitted. Long texts are split by sentence, so paragraphs keep their order and line breaks. Up to 2000 characters per call. Pairs with speech-to-text: translate a transcript, then read it aloud. You are only charged if the translation is delivered. No API key, no account.","url":"https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/translate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["text","to"],"properties":{"to":{"type":"string","description":"Target language: ISO code (es, fr, de, zh, ja...) or English name (spanish)."},"from":{"type":"string","description":"Optional source language; detected when omitted."},"text":{"type":"string","description":"What to translate, up to 2000 characters."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_I0ldNtH2bp5fiY5QoqUVY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 Meta's M2M100 1.2B model, with automatic source language detection and sentence-level splitting for long texts.","exampleAgentPrompt":"Translate this text to French using the M2M100 model: 'The weather is beautiful today and I hope it stays this way all weekend.'","exampleUseCases":[{"title":"Localize customer support reply","prompt":"Translate this support message to Spanish for our customer: 'Your order has been shipped and should arrive within 3-5 business days. Please contact us if you have any questions.'"},{"title":"Multilingual chatbot response","prompt":"I need this response translated to Japanese for our chatbot: 'Thank you for signing up! Your account is now active and ready to use.'"},{"title":"Translate speech-to-text transcript","prompt":"Translate this transcript to German: 'Welcome everyone, today we will be discussing the quarterly results and our plans for the upcoming fiscal year.'"}],"resultDescription":"Returns the translated text in the target language, preserving paragraph structure and line breaks. Long inputs are split by sentence and reassembled in order.","failureModes":["Text exceeds 2000 character limit — request rejected or truncated","Unsupported or misspelled language code/name — translation fails or returns error","Source language detection fails on very short or ambiguous input","Service unavailable or payment not processed — no charge applied if translation not delivered"],"whenToPreferThis":"Choose this endpoint when you need fast, no-account multilingual text translation across a wide range of ~100 languages, especially for short-to-medium texts up to 2000 characters. Ideal for agents that need quick localization without API key setup, with automatic source language detection and pay-per-use pricing at $0.005 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T07:51:57.239Z","isFirstParty":false,"canonicalSlug":"translate-text-m2m100-100-languages-f49d4171"}