Wan MCP
Generate videos from text or images using Wan in the AI Agent through MCP.
Wan AI video generation with text, image, video, and audio references.
Your API key is pre-filled in the snippet — copy and run it in your terminal or IDE.
This is only a basic call example. See the full docs for more parameters and advanced usage.
An interface covers text-to-video, first and last frames, reference images, reference videos, and audio drives, and automatically selects the corresponding generation mode.
Generate complete shots from prompts, suitable for concept films, social content, and video drafts.
Lock the starting and ending images, making the motion process, subject position, and transition direction more controllable.
Use images, videos, or audio to reference characters, actions, styles, and rhythms without switching interfaces.
Both videos are generated by the production API and stored in AceDataCloud CDN, available for direct playback verification.
curl -X POST 'https://api.acedata.cloud/wan/videos' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "wan3.0-video",
"prompt": "A red ball on a white studio floor",
"duration": 2,
"resolution": "480P",
"ratio": "16:9",
"async": true
}'{
"success": true,
"task_id": "9478f7ee-5ebb-47ac-ab49-63fbb42d8233",
"data": {
"status": "succeeded",
"usage": {
"input_video_duration": 0,
"output_video_duration": 2,
"SR": 480,
"ratio": "16:9"
}
},
"cost": {"list_amount": 1.16}
}Production verification trace: 087bbe73-e336-4b4a-a410-c56d54c763b8. Asynchronous tasks can be queried through Tasks API, polling does not incur repeated charges.
The Pricing tag displays the standard price per second based on resolution; the final bill is calculated based on the actual input video seconds and successful output seconds in the usage.
Suitable for quick previews, shot drafts, and mobile content.
Suitable for daily releases, social content, and product demonstrations.
Suitable for high-quality finished products, detailed images, and large screen displays.
The per second Credits and USD prices are displayed in real-time by the Pricing tag on this page and are not copied as static prices in the introduction text.
Enables smart duration. Pre-authorization checks against a 30-second upper limit, and billing is still based on actual usage after completion.
The input reference video seconds are added to the successful output video seconds; image, audio, and text inputs do not increase video seconds.
View the Wan Video Generation API documentation; field constraints and response structures are based on that document.
Start with text shots, then add frames, videos, images, and audio references as needed.
Get API KeyThis API can be used to query Wan's video generation tasks.
This API can generate videos by inputting prompt words and first and last frame images.
We offer various credit packages. The more you purchase, the higher the discount you receive.
up to46% OFFGenerate videos from text or images using Wan in the AI Agent through MCP.
Configuration Method
Connect to the current service in Claude Code:
/mcp to check the connection and tool list.export ACEDATACLOUD_API_TOKEN='YOUR_API_TOKEN'
claude mcp add --scope user --transport http 'wan-mcp' 'https://wan.mcp.acedata.cloud/mcp' --header 'Authorization: Bearer ${ACEDATACLOUD_API_TOKEN}'
Provide prompt words, material input, and task processing guidelines for AI Agent to generate videos from text and images.
Install the current Skill to Claude Code. Project-level configurations are shared across the repository, while user-level configurations apply to all projects on this machine.
npx skills add acedatacloud/skills --skill 'wan-video' -a 'claude-code' --yes