Loading...
Loading...
Generate AI videos with Wan (Alibaba) via AceDataCloud API. Use when creating videos from text prompts or animating images into video. Supports text-to-video, image-to-video, reference video transfer, multi-resolution (480P-1080P), and optional audio.
npx skill4agent add acedatacloud/skills wan-videoSetup: See authentication for token setup.
curl -X POST https://api.acedata.cloud/wan/videos \
-H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"action": "text2video", "prompt": "a dolphin jumping through ocean waves at golden hour", "model": "wan2.6-t2v"}'Async: See async task polling. Poll viawithPOST /wan/tasks.{"id": "..."}
| Model | Type | Best For |
|---|---|---|
| Text-to-Video | Creating video from text description |
| Image-to-Video | Animating a still image into video |
| Reference Video-to-Video | Character extraction and transfer from reference video |
| Image-to-Video (Fast) | Quick image-to-video generation |
POST /wan/videos
{
"action": "text2video",
"prompt": "a time-lapse of flowers blooming in a meadow",
"model": "wan2.6-t2v",
"resolution": "720P",
"duration": 5
}POST /wan/videos
{
"action": "image2video",
"prompt": "gentle wind blows through the scene",
"model": "wan2.6-i2v",
"image_url": "https://example.com/landscape.jpg",
"resolution": "720P",
"duration": 5
}POST /wan/videos
{
"action": "image2video",
"prompt": "camera slowly pans across the landscape",
"model": "wan2.6-i2v-flash",
"image_url": "https://example.com/scene.jpg"
}POST /wan/videos
{
"action": "text2video",
"prompt": "the character walks through a futuristic city at night",
"model": "wan2.6-r2v",
"reference_video_urls": ["https://example.com/reference.mp4"]
}POST /wan/videos
{
"action": "text2video",
"prompt": "a chef preparing a meal in a busy kitchen",
"model": "wan2.6-t2v",
"shot_type": "multi",
"duration": 10
}POST /wan/videos
{
"action": "text2video",
"prompt": "ocean waves crashing on a rocky shore",
"model": "wan2.6-t2v",
"audio": true
}| Parameter | Required | Values | Description |
|---|---|---|---|
| Yes | | Action type |
| Yes | string | Scene description |
| Yes | | Model |
| For image2video | string | Source image URL (required for image-to-video) |
| No | string (max 500 chars) | Content to exclude from generation |
| For r2v | array of strings | Reference videos for character/timbre extraction |
| No | | Continuous shot or multi-cut editing |
| No | boolean | Enable audio in the generated video |
| No | string | Reference audio URL |
| No | | Output resolution (default: 720P) |
| No | string | The size of the generated video |
| No | | Video duration in seconds |
| No | boolean | Enable LLM-based prompt rewriting |
| No | string | Async webhook notification URL |
image_urlwan2.6-i2vwan2.6-i2v-flashreference_video_urlswan2.6-r2vnegative_promptshot_type: "multi"MCP:| Hosted:pip install mcp-wan| See all MCP servershttps://wan.mcp.acedata.cloud/mcp