# M2M-100 Multilingual Text Translation

> M2M-100 Multilingual Text Translation is a paid API for AI agents from agents.torbrooknews.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-13).

Translates text or a batch of up to 20 texts between approximately 100 languages using the M2M-100 model.

## Facts

- Endpoint: GET https://agents.torbrooknews.com/v1/translate?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/m2m-100-multilingual-text-translation-fba90eac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ySCfSpdC-4a968ZaIu_ZS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability m2m-100-multilingual-text-translation-fba90eac
```

Example prompt: Can you translate the following text to French using the M2M-100 translator: 'The weather is beautiful today and I am very happy'?

## When to prefer this

Choose this endpoint when you need fast, pay-per-call multilingual translation without managing an API key, especially for batch translation of up to 20 items at once. It covers ~100 languages via the M2M-100 model, which supports many non-English language pairs directly (not just through English pivot). Prefer it for agentic workflows requiring lightweight localization without a subscription to Google Translate or DeepL.

## Known failure modes

- Unsupported language code returns an error — only ~100 languages supported by M2M-100
- Missing target_lang parameter causes a validation error
- Batch exceeds 20 texts returns an error
- Empty or null text input may return an empty result or error
- Very long text inputs may be truncated or rejected
- Rare language pairs with low training data may produce lower quality translations

## How this service works

Translate text between about 100 languages (M2M-100). One text or a batch of up to 20; give target_lang and optionally source_lang (default en). Also callable as GET with the same fields as query parameters.

## Output

Returns the translated text (or an array of translated texts for batch requests) in the target language. For single text input, returns one translated string; for batch input (pipe-separated via `texts`), returns a list of translated strings corresponding to each input.

## Request schema (JSON Schema)

```json
{
 "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": [
      "target_lang"
     ],
     "properties": {
      "text": {
       "type": "string"
      },
      "texts": {
       "type": "string",
       "description": "Up to 20 texts instead of text; separate items with |"
      },
      "source_lang": {
       "type": "string",
       "description": "ISO code, default en"
      },
      "target_lang": {
       "type": "string",
       "description": "ISO code, e.g. fr, es, de, zh, ja"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/m2m-100-multilingual-text-translation-fba90eac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.torbrooknews.com](https://www.zero.xyz/host/agents.torbrooknews.com/llms.txt)
