Render a video thumbnail
render_thumbnailGenerate a video thumbnail by selecting a frame, adding a short headline and optional picture, then saving it as -thumbnail.jpg for social posts.
Instructions
Package a finished video with its cover: one frame of it (frame_at, in seconds), three to five words, at most one picture. Filed beside the video as -thumbnail.jpg, so a post that carries the video key gets the cover. Free: budgetUsd (default 2, max 10) is held while it runs and released. Needs the write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accent | No | Hex colour of the starred words. Defaults to the cut's accent. | |
| outline | No | Hex colour of the contour and the scrim behind the words. Default near-black. | |
| frame_at | Yes | Seconds into the video (or into frame_key) to take the face from. | |
| headline | Yes | Three to five words, not the title. *Stars* mark the accent words: "I hired *an AI*". | |
| budgetUsd | No | Optional: the most this call may spend, in dollars, default 2, max 10. | |
| frame_key | No | A clip to take the frame from instead, at its own resolution: the take behind the cut. frame_at then counts on it. | |
| video_key | Yes | The finished video (mediaKey from edit_footage or videoKey from render_video_project). | |
| foreground | No | Hex colour of the words. Default white. | |
| picture_key | No | One picture at most (an image media key): the product, the post, the number, the company's mark or the face of the person the video is about. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| media | Yes | ||
| output | No | The tool's own result, shaped by the tool. | |
| chargedUsd | Yes |