Generate Video
generate_videoStart a text-to-video render (paid plans, no faces). Returns a job_id right away; rendering takes 1–3 minutes, then call check_video_status. Models and allowed lengths: Seedance25 (4/5/8/10/15/20/30s), Kling3 (3/5/10/15s). Other lengths are rounded to the nearest allowed one. Kling3 makes 16:9, 9:16 and 1:1 only; other shapes go to the nearest one.
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>"
},
"name": "generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Describe the motion, camera move, lighting and setting. | |
| duration | No | Length in seconds. Defaults to 5, or the model's shortest length. | |
| provider | No | Video model. | Seedance25 |
| resolution | No | Defaults to 720p. Unsupported values fall back to the default. | |
| aspect_ratio | No | Video shape. Kling3: 16:9, 9:16 or 1:1. | 16:9 |