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), or any stretch of the episode as {"start_seconds", "end_seconds", "title"}. Optional style, caption_size, position, hook_title, fit and background apply to these clips. aspect is the shape: 9:16 (Shorts, Reels, TikTok), 4:5 (feeds), 1:1, 16:9 (YouTube) or source. Ask the person which shape before calling; with no aspect the clips are 9:16. 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"], or stretches {"start_seconds": 312, "end_seconds": 371, "title": "..."} on the episode. Up to 10. | |
| style | No | A caption style id or name from list_styles, e.g. bold-punch. | |
| aspect | No | The clip's shape. Ask the person first; 9:16 when left out. | |
| 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 | ||
| aspect | No | The shape the clips are made in. | |
| message | Yes | ||
| episode_id | Yes |