translate_convert_download_subtitle
Translate YouTube video subtitles to different languages, convert them to various formats like SRT, and download them for offline use.
Instructions
This endpoint lets you translate, convert and download a subtitle of a YouTube video. Before doing this, please call endpoint Video \u003e Get Video Details to obtain subtitle URLs.
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": {
"subtitleUrl": "<subtitleUrl>"
},
"name": "translate_convert_download_subtitle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subtitleUrl | Yes | Subtitle URL of a YouTube video. To get this, please call Video > Get Video Details first. | |
| format | No | Subtitle format. Defaults to srt. | |
| fixOverlap | No | Example value: | |
| targetLang | No | Target language (IETF language tag) into which the subtitle will be translated. Leave blank to preserve the original language. Unsupported code will fallback to the original language. |