Fix a clip's captions
edit_captionsUse this when the person wants to change captions on a made clip, applied in order. Word indexes and seconds come from get_clip_edit. set_text {word, text} fixes a word; split {word} starts a new caption at it; join {word} joins its caption to the one before; line_break {word} breaks the line before it inside the caption; insert {at_seconds, text, duration_seconds?, lane?} adds a caption where none was heard; delete {word} removes the caption that word is in (the sound stays) and restore {word} brings it back; hide / show {from_word, to_word} over a stretch; retime {word, start_seconds?, end_seconds?} moves a caption's edges; shift {word, by_seconds} slides it; set_lane {word, lane: 1 or 2} puts it on the first or second line of captions; place {word, x?, y?} puts that caption at a spot (fractions of the frame, null puts it back in line); move {direction: up or down} moves all captions; words_per_caption {n: 1 to 7}; split_by_speaker puts the second voice on lane 2. Saves the clip only, no render.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | ||
| clip_id | Yes | The clip's id (from get_episode, get_job or the Slice link). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_id | No | ||
| open_in_slice | No | The clip in the Slice editor, where the person sees the change. |