capcut_add_cuts
Batch-cut video or audio in a CapCut draft by placing keep ranges (or all except cut ranges) back-to-back on a track, returning the time map and optionally remapping SRT cues.
Instructions
Batch cut list: place the keep ranges of one video/audio file (or everything except the cut ranges) back to back on a track from start_s, snapped to the draft's frame grid, and return the time map. A keep entry may be {in_s, out_s, x?, y?, scale?} so each speaker turn gets the same transform as capcut_set_clip. Optional source SRT is remapped through the cuts (cues in cuts dropped). srt_out writes that remapped SRT (frame-snapped, full cues, not the short cards) and never overwrites; dry-run by default. place_subtitles false skips burned-in captions. Re-chunking matches capcut_add_subtitles. Dry-run by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cut | No | Or: [[in_s, out_s], ...] source ranges to remove, ascending. | |
| keep | No | Ranges to keep, ascending. [in_s, out_s] or {in_s, out_s, x?, y?, scale?} (x and y are -10..10 from centre, scale 0.01..50, same writer as capcut_set_clip). | |
| path | Yes | Absolute path of the source file. | |
| draft | Yes | Draft folder name inside the drafts root (from capcut_list_drafts). | |
| sub_y | No | ||
| track | No | Default main (audio files: audio). | |
| upper | No | ALL CAPS cards. | |
| volume | No | ||
| dry_run | No | true (default): return the plan only. false: write to disk (CapCut must be closed). | |
| srt_out | No | Absolute path of a new .srt for the remapped cues (YouTube CC). Never overwrites. Omit to skip the file. Dry-run until dry_run is false. | |
| start_s | No | ||
| split_by | No | Share each cue's time between its cards by letters or by words. | chars |
| srt_path | No | Absolute path of the source .srt (source times). | |
| srt_text | 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). | |
| sub_color | No | ||
| sub_track | No | subtitles | |
| punch_words | No | Words that get a card of their own (color them with capcut_style_text highlight). | |
| sub_font_size | No | ||
| place_subtitles | No | false: remap (and optionally write srt_out) without putting captions on the draft. | |
| media_duration_s | No | Source length, if it cannot be read (MP3, MKV...). |