generate_video
Submits an asynchronous AI video generation task to VideoToken using a chosen model and prompt, with optional aspect ratio, duration, and resolution settings.
Instructions
Submit an asynchronous AI video generation task to VideoToken (supports Seedance 2.5/2.0, Dreamina, and Alibaba Wan 3.0). Requires VIDEOTOKEN_API_KEY.
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": {
"model": "<model>",
"prompt": "<prompt>"
},
"name": "generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Public model ID from list_video_models (e.g. "dreamina-seedance-2-5-cheap", "wan3.0-video"). | |
| ratio | No | Optional aspect ratio (e.g. "16:9", "9:16", "1:1") when supported by the model. | |
| prompt | Yes | Detailed visual scene description for video generation. | |
| duration | No | Video duration in whole seconds (e.g. 5 or 10). Defaults to 5. | |
| protocol | No | Endpoint format: "videos" (/v1/videos, default for Wan & Seedance Value), "newapi" (/v1/video/generations), or "ark" (/api/v3/contents/generations/tasks). | |
| resolution | No | Output resolution tier (e.g. "480p", "720p", "1080p"). Defaults to "720p". |