{"slug":"flat-rate-llm-kikoribera03-workers-dev-v1-ai-translate-2adbe4","title":"Use when an agent must say something in a language it was not given","host":"flat-rate-llm.kikoribera03.workers.dev","method":"POST","resource":"https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/translate","category":"code","description":"Use when an agent must say something in a language it was not given: about 100 languages with Meta M2M100 1.2B - pass the text and the target language (ISO code or English name); the source language is detected if omitted. Long texts are split by sentence, keeping order and line breaks. Up to 2000 c","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":3,"answered_7d":3,"latency_ms_median":32,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"text":"Your order has shipped and will arrive on Tuesday.","to":"es"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"from":{"description":"Optional source language; detected when omitted.","type":"string"},"text":{"description":"What to translate, up to 2000 characters.","type":"string"},"to":{"description":"Target language: ISO code (es, fr, de, zh, ja...) or English name (spanish).","type":"string"}},"required":["text","to"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":32,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":38,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":13,"error":null}],"description_full":"Use when an agent must say something in a language it was not given: about 100 languages with Meta M2M100 1.2B - pass the text and the target language (ISO code or English name); the source language is detected if omitted. Long texts are split by sentence, keeping order and line breaks. Up to 2000 characters per call. Chains with /v1/ai/transcribe and /v1/ai/speech. You are only charged if the translation is delivered. No API key, no account.","last_updated":"2026-11-23T16:34:26.932Z","schemes":["exact"]}