Import an SRT as a styled caption track
import_subtitlesImport SRT subtitles into a CapCut project as a styled text track. Converts .srt files or raw SRT text into one segment per cue with presets and keyword highlighting.
Instructions
Turns an SRT file — or raw SRT text — into a text track with one segment per cue, styled in the same pass. Presets: bold-outline, boxed, accent. Keyword highlighting colours chosen words inside every caption (whole-word, case-insensitive), which editors otherwise do by hand. Byte offsets are correct for Cyrillic, Uzbek and emoji. Requires CapCut to be closed.
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": {
"project": "<project>"
},
"name": "import_subtitles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to an .srt file | |
| style | No | ||
| preset | No | One of: bold-outline, boxed, accent | |
| content | No | Raw SRT text, instead of a file | |
| project | Yes | Path to the project folder or its draft_content.json | |
| highlight | No | ||
| trackName | No | Defaults to "subtitles" | |
| colorCycle | No | Rotates the base colour cue by cue, e.g. two alternating brand colours | |
| timeOffsetSeconds | No | Shifts every cue |