burn_subtitles
Burn subtitles directly into video frames with customizable font size, colors, and positioning so captions display on all platforms, including TikTok, Instagram Reels, and YouTube Shorts.
Instructions
Hardcode/burn subtitles directly into video frames with customizable font size, colors, and positioning. Unlike soft subtitles, burned subtitles render on all platforms including TikTok, Instagram Reels, and YouTube Shorts.
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": {
"videoPath": "<videoPath>",
"subtitlesPath": "<subtitlesPath>",
"outputPath": "<outputPath>"
},
"name": "burn_subtitles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| marginV | No | Vertical margin distance in pixels from the bottom edge. Default: 35. | |
| fontSize | No | Subtitle font size in points. Default: 24. | |
| fontColor | No | Primary subtitle text color: 'white', 'yellow', 'cyan', or ASS hex e.g. '&H00FFFFFF'. Default: 'white'. | white |
| videoPath | Yes | Path to the source video file. | |
| outputPath | Yes | Target output video path (.mp4, .mov, or .mkv). | |
| outlineColor | No | Subtitle border/outline color: 'black', 'white', or ASS hex. Default: 'black'. | black |
| outlineWidth | No | Outline thickness in pixels. Default: 2. | |
| subtitlesPath | Yes | Path to the subtitle file (.srt, .vtt, or .ass) to burn into the video. | |
| hardwareAcceleration | No | Use hardware-accelerated video encoding when available. Default: true. |