video_subtitles
Burns SRT, VTT, or ASS subtitles directly into a video, with optional style overrides to control font, color, and positioning in the final rendered output.
Instructions
Burn subtitles (SRT/VTT/authored ASS) into a video.
Args: input_path: Absolute path to the input video. subtitle_path: Absolute path to the subtitle file (.srt, .vtt, or .ass). output_path: Where to save the output. Auto-generated if omitted. style: Optional force_style override applied to any subtitle format including authored ASS (e.g. "FontSize=24,PrimaryColour=&H00FFFFFF"). Omit to preserve an authored ASS file's own styling/positioning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| overwrite | No | Explicitly allow replacing existing media. Existing non-media files are protected. | |
| input_path | Yes | ||
| output_path | No | ||
| subtitle_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||