Render segment assets
generate_segmentsRender every actionable segment asset (images, video clips, overlays) across the project, in dependency order. THE most expensive call in the pipeline: ALWAYS dry_run=true first, show your user the estimate next to get_credit_balance, and wait for a fresh yes before the real run — prior blanket permission ("do the whole thing") does not cover this spend. The staged flow is cheapest: asset_scope="no_clips" first (images + overlays), review, then animate_segment the shots that deserve motion. Pass segment_numbers to render only a subset — e.g. segments 1-18 for the opening minute before committing to the full video. Safe to re-run: completed and currently-generating assets are skipped, so a second call only picks up new/failed work. Async — one job per asset; await_jobs until all complete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | True returns the credit-cost estimate without rendering anything; ALWAYS run true first and get user approval before the real run | |
| project_id | Yes | Project ID, as returned by create_project or list_projects | |
| asset_scope | No | "" renders everything actionable; "no_clips" is the cheap base pass (images, overlays, fetched b-roll — no generated video clips); "clips_only" renders just the generated clips | |
| segment_numbers | No | 1-based segment numbers (from get_segments) to render only a subset; omit to render every actionable asset in the project |