seedance_create_and_wait
Generate a video from a text prompt and poll until completion, returning the video URL and status in a single call.
Instructions
Create a Seedance video task and wait for completion in one call.
Args: prompt: Text description of the video to generate. Required. model: Model ID override. ratio: Aspect ratio, e.g. "16:9". resolution: Resolution, e.g. "720p". duration: Video duration in seconds. camera_fixed: Whether to fix camera movement. image_url: Optional reference image URL. callback_url: Optional callback URL. extra_args: Additional request parameters. interval_seconds: Polling interval (default: SEEDANCE_POLL_INTERVAL). timeout_seconds: Max wait time (default: SEEDANCE_WAIT_TIMEOUT).
Returns: JSON with ok, task_id, status, video_url, error, and raw responses.
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": "seedance_create_and_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| ratio | No | ||
| prompt | Yes | ||
| duration | No | ||
| image_url | No | ||
| extra_args | No | ||
| resolution | No | ||
| callback_url | No | ||
| camera_fixed | No | ||
| timeout_seconds | No | ||
| interval_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |