composer_generate_clip
Generates one Boreal-H3 clip (5-15 s) into the project as an async task. Returns task_id and the credit cost; the finished task's result includes the clip's CDN URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | Path relative to the project, e.g. gen/shot1.mp4. | |
| mode | Yes | r2v: conditioned on reference images/videos. i2v: animates a given first frame. a2v: lip-syncs a speaker frame to an audio track. t2v: text only. | |
| seed | No | Random seed. An identical request (same seed) within 10 minutes returns the existing task without a new charge. | |
| audio | No | a2v dialogue track. | |
| image | No | i2v/a2v first frame. | |
| audios | No | r2v reference audio (voice/sound), project paths. | |
| images | No | r2v reference images (<=9), project paths. | |
| prompt | Yes | Shot description, including camera and subject motion. | |
| videos | No | r2v reference videos, project paths. | |
| duration | No | ||
| last_image | No | i2v end frame. | |
| project_id | Yes | project_id from composer_project_create. | |
| resolution | No | Output tier for r2v/t2v/i2v; 768P costs about a third of 1088P. a2v always renders at 720p. | 1088P |
| aspect_ratio | No | Output aspect. Defaults to the project's aspect for r2v/t2v, and to the keyframe's own aspect for i2v/a2v. |