Get clip captions
get_clip_captionsThe captions of a clip's last render as an SRT or WebVTT file: the same lines and times as the video (intro included), even when the style has captions off. Returns the file text; VTT with words: true adds karaoke word timestamps.
Instructions
The captions of a clip's last render as an SRT or WebVTT file: the same lines and times as the video (intro included), even when the style has captions off. Returns the file text; VTT with words: true adds karaoke word timestamps. A clip rendered before caption files existed answers that it needs a re-render (rerender_clip).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Clip id (from get_project or search_clips) | |
| words | No | VTT only: add a <timestamp> before every word after the first in each cue | |
| format | No | srt (default) or vtt | srt |