video_editor_upload_captions
Import subtitles (SRT or VTT) onto a video as caption rows that burn in on export. Pass the text inline via srt, or an already-uploaded subtitle asset_id. Cues are parsed into timed rows (absolute seconds). render "static" (default) burns each cue as a line via drawtext; "wordpop" shows one word at a time (TikTok pop); "karaoke" sweeps a highlight across the line — both render via libass, with each cue's words spread evenly across its interval. Replaces existing captions unless append=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| srt | No | Inline SRT or VTT text. | |
| style | No | ||
| y_pct | No | Vertical position 0..100 (default lower-third; ~65 keeps it out of the UI zone). | |
| append | No | ||
| render | No | ||
| asset_id | No | A subtitle asset previously uploaded (kind=subtitle). | |
| video_id | No | ||
| project_id | Yes |