Translate text
translate_textTranslate up to 50,000 characters of plain text (up to 50 strings). Long inputs are split into <=1,900-character chunks automatically. Synchronous. Cost: 1 credit per call; mcp-credit-gateway charges before forwarding the request. Requires Authorization: Bearer sk_live_... on the MCP endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target language code or English name, e.g. en, zh, cht, ja, ko, fr, de, es. | |
| from | No | Source language code or English name. Defaults to 'auto'. | auto |
| text | No | A single string to translate. Provide this or `texts`, not both. | |
| texts | No | Up to 50 strings to translate in one call. Total length must be <= 50,000 characters. | |
| idempotency_key | No | Optional per-job key for upstream job isolation. Billing is handled by mcp-credit-gateway. |