subtitle
Add captions to videos by burning them into frames or attaching selectable soft tracks; supports SRT, ASS, and VTT files.
Instructions
Add subtitles to video - burn into video (hardcode) or add as selectable soft track. Supports SRT, ASS, VTT.
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": {
"input": "<input>",
"subtitle": "<subtitle>"
},
"name": "subtitle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | burn: hardcode into video; soft: add as selectable track | burn |
| input | Yes | Input video file path | |
| output | No | Output file path | |
| subtitle | Yes | Subtitle file path (.srt, .ass, .vtt) | |
| font_size | No | Font size for burn-in subtitles |