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.
This is only a basic call example. See the full docs for more parameters and advanced usage.
View DocsTurn 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 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 the current service in Claude Code:
mcpServers service entry below into .mcp.json in the project root directory, retaining the existing configuration.ACEDATACLOUD_API_TOKEN in the terminal: use export ACEDATACLOUD_API_TOKEN='YOUR_API_TOKEN' on macOS/Linux, and $env:ACEDATACLOUD_API_TOKEN = 'YOUR_API_TOKEN' in Windows PowerShell; replace YOUR_API_TOKEN with your Ace Data Cloud API Token.claude in the same terminal where this variable has been set; new terminals or desktop-launched clients must also be able to read this variable./mcp to confirm that the service is connected and the tools have been loaded; when using the project configuration for the first time, check and approve the service as prompted.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