Translate subtitles: SRT or VTT into another language, timings kept
subtitles_translateTranslate an SRT or WebVTT subtitle file into another language cue by cue, keeping every timing and the file format, so the result drops straight into a video player or editor. Up to 400 cues (40,000 characters) as text or by URL; the source language is detected unless given. Meta M2M100 translation, 100 languages. Use to subtitle videos, courses and podcasts in more languages; pair with transcribe_long, which writes the first SRT. Price $0.02/call via x402 USDC or a card key (/credits); failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subtitles": "<subtitles>",
"to": "<to>"
},
"name": "subtitles_translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target language code such as sv, de, es, fr or ja | |
| url | No | URL of an .srt or .vtt file, instead of subtitles | |
| from | No | Source language code (default: detected from the text) | |
| subtitles | Yes | The SRT or VTT text (or give url) |