Wan MCP
Generate videos from text or images using Wan in the AI Agent through MCP.
Turn text and reference assets into videos with first- and last-frame control and multimedia references. Integrate with your creative workflow through a unified API.
One interface covers text-to-video, first and last frames, reference images, reference videos, and audio-driven generation, automatically selecting the appropriate generation mode.
Generate complete shots from prompts, ideal for concept videos, social content, and video drafts.
Lock the opening and closing frames for greater control over motion, subject position, and transition direction.
Use images, videos, or audio as references for characters, movement, style, and rhythm without switching interfaces.
Both videos were generated by the production API and transferred to AceDataCloud CDN. Play them directly to verify.
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
}'{
"task_id": "9478f7ee-5ebb-47ac-ab49-63fbb42d8233"
}curl --request POST "https://api.acedata.cloud/wan/tasks" \
--header "Authorization: Bearer $ACEDATACLOUD_API_KEY" \
--header "Content-Type: application/json" \
--data '{"action":"retrieve","id":"YOUR_TASK_ID"}'The following illustrates the response structure; use the task ID and output returned by this request.
{
"id": "9478f7ee-5ebb-47ac-ab49-63fbb42d8233"
}{
"id": "9478f7ee-5ebb-47ac-ab49-63fbb42d8233",
"response": {
"success": true,
"task_id": "9478f7ee-5ebb-47ac-ab49-63fbb42d8233",
"data": {
"status": "succeeded",
"video_url": "https://cdn.acedata.cloud/assets/examples/wan/92c7a0fc-5942-4539-81ee-37833c1e3c3b-aedee115fc1e.mp4"
}
}
}{
"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}
}Submission returns a task ID; the corresponding completed historical task result is shown on the right. Retrieve asynchronous tasks through the Tasks API; task retrieval is free. Historical charges are based on the price at the time of the request; see the pricing page for current rates.
The Pricing tab displays standard per-second rates by resolution; the final bill is calculated using the actual input video duration plus the successful output duration in seconds from the response usage.
Suitable for quick previews, shot drafts, and mobile content.
Suitable for everyday publishing, social content, and product demos.
Suitable for high-quality finished videos, detailed footage, and large-screen displays.
Per-second prices in Credits and USD are displayed in real time on this page's Pricing tab, rather than duplicated as static prices in the introduction.
Enables intelligent duration. Pre-authorization is checked against a 30-second upper limit, but final billing is based on actual usage.
The duration of input reference videos is added to the duration of successfully generated output videos; image, audio, and text inputs do not add to the video duration.
See the Wan Video Generation API documentation; refer to that document for field constraints and response structures.
Start with a text prompt, then add frame, video, image, and audio references as needed.
Get an API Key