capcut_add_subtitles
Import SRT file or SRT text as subtitle cards on a CapCut draft track, re-chunking cues and adding caps or punch words. Defaults to a dry-run plan.
Instructions
Import an SRT file (or SRT text) as caption text segments on one track. Optional re-chunking into short cards (max_words / max_chars, time shared by letters or words on the frame grid), ALL CAPS and punch words on their own card. x is -1..1 from the canvas centre (default 0, centred), same as capcut_add_text. Dry-run by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Horizontal position, -1..1 from the canvas centre (same as capcut_add_text). 0 is centred. | |
| y | No | ||
| color | No | #FFFFFF | |
| draft | Yes | Draft folder name inside the drafts root (from capcut_list_drafts). | |
| track | No | subtitles | |
| upper | No | ALL CAPS cards. | |
| dry_run | No | true (default): return the plan only. false: write to disk (CapCut must be closed). | |
| offset_s | No | Shift every cue by this many seconds. | |
| split_by | No | Share each cue's time between its cards by letters or by words. | chars |
| srt_path | No | Absolute path of a .srt file. | |
| srt_text | No | SRT content, if no file. | |
| font_size | No | ||
| max_chars | No | Split each cue into cards of at most this many characters (a longer single word keeps its own card). | |
| max_words | No | Split each cue into cards of at most this many words. | |
| min_gap_s | No | Shorten a card so at least this gap is left before the next one (never below one frame). | |
| punch_words | No | Words that get a card of their own (color them with capcut_style_text highlight). |