generate_video
Generate a short video clip (trailer shot, cutscene, animated background) from a prompt and 1–7 reference images. 15 credits per second.
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": {
"prompt": "<prompt>",
"images": "<images>"
},
"name": "generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| images | Yes | Reference images: image keys from get_asset, https URLs, or data: URIs | |
| prompt | Yes | What happens in the clip | |
| duration | No | Seconds (4–15) |