generate_video
Generate a new MP4 video clip (a trailer shot, cutscene or animated background) from a prompt and 1-7 reference images, saved as a new video asset in the user's Voidless library. To continue an existing video use extend_video; to make a sprite move (a walk, an attack) as game frames use animate_sprite or generate_animation_set. 15 credits per second (60 for the default 4 s), charged on every call and refunded if it fails; a run usually takes minutes and returns a job for check_generation. Returns the asset ID, the MP4 link and a thumbnail; pass the asset ID to extend_video to make it longer.
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 |
|---|---|---|---|
| aspect | No | The clip's shape: '16:9' landscape (864x496, default) or '9:16' portrait (496x864) | 16:9 |
| images | Yes | 1-7 reference images for the characters, objects and style in the clip: image keys from get_asset, https URLs, or data: URIs | |
| prompt | Yes | What happens in the clip: the action, camera movement and setting, e.g. 'slow push-in on the knight drawing his sword at dusk' | |
| duration | No | Clip length in seconds, 4-15 (default 4). Cost is 15 credits per second |