Render segments
renderRender segment images and clips, the biggest spend in the video: always run it with dry_run=true first and get the user's yes on the estimate.
generate: without segment_numbers, everything not yet rendered (items rendering are skipped); with them, those segments, finished renders included, e.g. the first minute before the whole video. Overrides need segment_numbers and what=images or what=clips.
animate: turn one segment's rendered image into a clip; animate only images worth motion. dry_run quotes the default clip or talking head model. A refused render leaves the segment as it was; to go back to the image, segment_restructure change_type to=image keep_image=true.
Check renders with storyboard_read action=segment_assets and view_image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| what | No | generate: images (everything but clips: images, overlay segments, real photos, B-roll), clips, or all | all |
| model | No | Model id (get_generation_options); omit for the saved choice | |
| action | Yes | generate: optional segment_numbers, what; animate: segment_number, optional talking_head | |
| dry_run | No | Return the count and credit estimate; start nothing | |
| settings | No | Model settings: keys of its settings_schema | |
| project_id | Yes | Project id | |
| talking_head | No | animate: true for a talking head (the person in the image speaks the narration with lip sync, billed on the segment's full length); false for a clip | |
| segment_number | No | Segment number (1-based, from storyboard_read) | |
| segment_numbers | No | generate: only these segments, finished ones included; omit for everything not yet rendered | |
| editable_sections | No | Template prompt section overrides, keyed by section id |