converttranslatedownload_subtitle
Convert YouTube subtitles to different formats, translate them to other languages, and download the processed files for accessibility and content localization.
Instructions
Convert, translate, download the subtitle. To get the subtitle url, use Video -\u003e Subtitles endpoint or Video -\u003e Details endpoint Quota cost is 1 unit.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Provide the Subtitle url. Available in the Video -> Subtitles or Video -> Details endpoint response. | |
| format | No | Subtitle format options: json3 [mime: json] srv1 [mime: xml] [default] srv2 [mime: xml] srv3 [mime: xml] ttml [mime: xml] vtt [mime: text] srt [mime: text] | |
| targetLang | No | Translate to Language. Valid codes are in the translationLanguages param of the Video -> Subtitles or Video -> Info endpoint response. Or provide ISO-639 code of the language like es, zh-Hans, co, hi, etc | |
| X-CACHEBYPASS | No | Cache bypass, the value must be 1 Quota Cost +1 |