generate_video
Submit a text prompt to create a video using Wan, Seedance, or Kling models with selectable duration and resolution; track the task and retrieve the MP4 when ready.
Instructions
Submit a generation (set model to Wan 3.0 / Prime, Seedance 2.0 Fast / 2.5, or kling v3); it may take up to an hour. If the result is unclear, check the original task first; never regenerate automatically. Call list_models for short descriptions.
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 |
|---|---|---|---|
| model | No | wan3.0-video | |
| output | No | ||
| prompt | Yes | ||
| duration_s | No | ||
| resolution | No | 720p |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |