capcut_make_short
Assemble a vertical CapCut short from a clip with optional title, SRT subtitles, and background music; returns a dry-run plan or writes a draft.
Instructions
One call for a vertical short: clip + optional title (title_y, title_color, title_style) + optional SRT subtitles (sub_font_size, sub_color, sub_y, re-chunking, sub_style) + optional background music (with fades). sub_style and title_style use the same fields and writer as capcut_style_text. Give draft (an EMPTY project you made in CapCut: it is filled in place, best for CapCut 9.x) or name (a new draft that copies a CapCut-made project's markers). Dry-run by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | New drafts only (default 30). | |
| name | No | Or: name of a new draft to create. | |
| draft | No | Existing EMPTY CapCut-made project to fill in place (recommended for CapCut 9.x). | |
| sub_y | No | ||
| title | No | ||
| upper | No | ALL CAPS cards. | |
| width | No | ||
| height | No | ||
| dry_run | No | true (default): return the plan only. false: write to disk (CapCut must be closed). | |
| title_y | No | ||
| 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. | |
| clip_in_s | No | ||
| clip_path | Yes | Absolute path of the video clip. | |
| 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 | #FFFFFF | |
| sub_style | No | Caption look, same fields as capcut_style_text (stroke, shadow, background, highlight, font file, bold, italic). Applied to every subtitle. | |
| duration_s | No | Short length (default: rest of the clip after clip_in_s). | |
| music_in_s | No | ||
| music_path | No | Absolute path of the music file. | |
| clip_volume | No | ||
| punch_words | No | Words that get a card of their own (color them with capcut_style_text highlight). | |
| title_color | No | #FFFFFF | |
| title_style | No | Title look, same fields as capcut_style_text. Applied to the title. | |
| music_fade_s | No | Fade in and fade out length. | |
| music_volume | No | ||
| sub_font_size | No | ||
| template_draft | No | Folder of an empty project made by CapCut, to copy its version markers (needed for CapCut 9.x). "auto" (default) picks the newest CapCut-made project in the drafts root, then in CAPCUT_TEMPLATE_ROOT; "none" uses the built-in skeleton. | |
| music_fade_in_s | No | Overrides music_fade_s for the fade in. | |
| title_font_size | No | ||
| music_fade_out_s | No | Overrides music_fade_s for the fade out. | |
| title_duration_s | No | ||
| register_in_index | No | Also add/refresh the project entry in root_meta_info.json (backed up first). Use only if CapCut does not list the draft after a restart. | |
| clip_media_duration_s | No | Clip file length, only if it cannot be read (non-MP4/MOV). | |
| music_media_duration_s | No | Music file length, only if it cannot be read (MP3...). |