Burn subtitles into a video
burn_subtitlesDraws subtitles directly onto a copy of a video for TikTok, Reels, and Shorts, where separate subtitle files cannot be used; the original video stays unchanged.
Instructions
Draw subtitles onto a copy of a video (NAME.subbed.mp4), for posting where a separate subtitle file is not possible (TikTok, Reels, Shorts). The input video is never changed; audio is copied.
video_path: absolute path to the video. subtitle_path: the .json written by transcribe (best: any style works, and text edited in it is used), or an .ass (drawn exactly as written), or an .srt / .vtt (plain only). Empty = the subtitle file next to the video; transcribe the video first if there is none. style: plain (white text at the bottom) | karaoke (each word lights up as it is spoken) | shorts (big, two or three words at a time, placed for vertical video). output_path: the video to write; empty = NAME.subbed.mp4 next to the input. Returns the file written, the style, the subtitle file used, the encoder and the picture size.
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": {
"video_path": "<video_path>"
},
"name": "burn_subtitles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | plain | |
| video_path | Yes | ||
| output_path | No | ||
| subtitle_path | No |