Translate text (M2M100, 100 languages)
ai_translateTranslates 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. $0.005 per call, paid over x402 (USDC).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target language: ISO code (es, fr, de, zh, ja...) or English name (spanish). | |
| from | No | Optional source language; detected when omitted. | |
| text | Yes | What to translate, up to 2000 characters. |