Upload continuity reference
upload_shot_continuity_referenceAttach an image you produced locally to a shot as a continuity reference. A continuity reference is fed into this shot's next clip generation as a layout, prop, wardrobe and screen-direction guide — it is NOT used as the shot's opening frame or exact composition. Attaching one changes nothing until the clip is generated again. Send the image as base64 — keep it small (a 720x1280 JPEG is roughly 40-130KB of base64). PNG, JPEG and WebP only; the bytes are sniffed, so the filename extension alone will not get a non-image through. If the image is already an asset in this project, use attach_shot_continuity_reference instead and send no bytes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shot_id | Yes | Shot id (episode_shots row) to attach the reference to. | |
| filename | Yes | File name to store it under, e.g. scene-1-last-frame.jpg. | |
| guidance | No | How the video model should use this reference, e.g. which positions or props to match and what to ignore. Saved on the reference and sent with every later generation of the shot. | |
| image_base64 | Yes | The image bytes, base64-encoded. No data: URI prefix. |