Generate a video
generate_videoGenerates a video clip with sound from a prompt, or animates an image when image_url is given (Seedance 2.5: bytedance/seedance-2.5/us/text-to-video, bytedance/seedance-2.5/us/image-to-video). Video takes minutes: expect a request_id to follow with generate_status. Billed against your credits; waits up to wait_seconds, then returns the request_id to follow with generate_status.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | What happens; needed without image_url | |
| options | No | Any other input the model takes, per generate schema of its endpoint; the fields above win | |
| duration | No | Seconds, 4 to 30 | |
| image_url | No | The first frame | |
| resolution | No | The clip's resolution; higher takes longer and may cost more (see generate pricing). Omit for the model's default | |
| aspect_ratio | No | The frame's width to height, e.g. `16:9` landscape, `9:16` portrait, `1:1` square; `auto` lets the model choose, e.g. from image_url. Omit for the model's default | |
| wait_seconds | No | How long to wait for the result before returning the request id | |
| end_image_url | No | The last frame, with image_url | |
| generate_audio | No | false makes a silent clip; omit for the model's default, which generates sound with the video |