Generate chained clips
frame_chainGenerates 2 to 8 video clips in order, where each clip starts from the last frame of the previous clip so motion carries across shots. The first clip starts from your image. Spends credits per clip; a clip that cannot start is not charged. Returns a task id; check progress and clip URLs with get_task. Returns separate clips, not one joined file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenes | Yes | 2 to 8 clips, in order. | |
| aspect_ratio | No | Aspect ratio for every clip. | 16:9 |
| speed_ramping | No | Editing hint saved with the clips. It does not change how clips are generated. | |
| idempotency_key | No | Optional. Reuse the same key to retry safely: the earlier result is returned and nothing is charged twice. | |
| initial_frame_uri | Yes | The image the first clip starts from. Public https URL, or an asset_url from create_upload_url, upload_from_url or upload_media_data (used as-is). | |
| wait_for_completion | No | When true, waits a short while for the chain to finish before returning. Either way the task keeps running and get_task reports progress. |