Make clips
make_clipsUse this when the user picks found clips to make. Cuts each one from the episode and renders it with captions burned in, in one step. Pass the numbers or refs get_episode listed (refs in brackets are fine). Optional style, caption_size, position, hook_title, fit and background apply to these clips. Returns a job per clip; follow with get_job for the files. Do not use before get_episode reports the episode ready, and do not use to change a clip that is already made (use restyle_clip).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | How the picture sits in the frame. "fill" (the default) crops it to fill the frame. "whole" shows the whole video, nothing cropped, with space around it; use when the user does not want a wide video cropped. | |
| clips | Yes | Numbers or refs from get_episode, e.g. [2, 5] or ["a3f9"]. Up to 10. | |
| style | No | A caption style id or name from list_styles, e.g. bold-punch. | |
| position | No | Where the captions sit. "up" and "down" move them from where they are now. | |
| background | No | What fills the space around a whole video: "black", or "blur" for a blurred copy of the video. Only matters with fit "whole". | |
| episode_id | Yes | The episode the clips were found in. | |
| hook_title | No | The title box at the top of the clip, on by default for new clips. false removes it, true puts the clip's title there, or give the words to show. | |
| caption_size | No | Caption size. "bigger" and "smaller" are relative to now. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clips | Yes | ||
| notes | No | ||
| message | Yes | ||
| episode_id | Yes |