generate_video
Generate videos from text, images, or multi-modal inputs including images, videos, and audio. Supports custom aspect ratios and resolutions.
Instructions
Create a video generation task using Volcengine API.
CRITICAL INSTRUCTIONS FOR AI AGENTS:
This tool ONLY submits the task. It returns a Task ID. You MUST subsequently call
get_video_task_resultin a loop (wait 5-10s between calls) to retrieve the actual video URL.Use 'ratio' for video proportions (e.g., ratio="16:9"). DO NOT use 'size' or 'width'/'height'.
If user provides an Endpoint ID ('ep-...'), pass it to the 'model' parameter.
Capabilities:
Text-to-Video: Provide 'prompt' and 'ratio'.
Image-to-Video: Provide 'image_urls' array + optional 'prompt'.
Multi-Modal (Seedance 2.0): Mix 'image_urls' (up to 9), 'video_urls' (up to 3), and 'audio_urls' (up to 3).
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": {
"params": "<params>"
},
"name": "generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |