composer_generate_clip
Generates one clip (5-15 s) into the project as an async task: Boreal H3 for r2v/t2v/i2v, Aurora 2.0 for a2v. Returns task_id and the credit cost; the finished task's result includes the clip's CDN URL.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"mode": "<mode>",
"prompt": "<prompt>",
"out": "<out>"
},
"name": "composer_generate_clip"
}
}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. t2v: text only. These three render on Boreal H3. a2v: lip-syncs a speaker frame to an audio track on Aurora 2.0. | |
| 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. |