Wanx API
$0.12-$0.28/video
Developer-ready API access
Wan 2.1 is an advanced and open suite of video foundation models that sets a new standard for video generation. With superior performance, multi-tasking capabilities, and consumer-grade GPU compatibility, Wan 2.1 is the future of AI-driven video creation!
"Pay-as-you-go" Option
$0.12-$0.28/video
Developer-ready API access
Capabilities from the production model page.
Wan 2.1 consistently outperforms existing open-source models and commercial solutions, setting a new benchmark in video generation.
Wanx 2.1 excels across multiple tasks, including Text-to-Video, Image-to-Video, Video Editing, Text-to-Image, and Video-to-Audio, enabling versatility and broad applications in the video generation field.
Generate a 5-second 480P video in approximately 4 minutes, even without optimization techniques like quantization, making us the most efficient video generation tools available!
Wan 2.1 excels at simulating complex bodily movements, maintaining accurate spatial-temporal relationships for seamless, natural motion sequences in video creation.
Wanx 2.1 supports text prompts in both Chinese and English, making it accessible to a wide range of users globally, from developers to content creators.
Ranked among the top three video generative models on the VBench leaderboard with an impressive score of 84.7%, Wanx leads the field in motion handling and multi-object interaction.
With over 100 artistic style templates available, including oil painting and cyberpunk, users can create unique visual content in various genres to match their specific needs.
Wanx 2.1 can be used in advertising, short video production, digital restoration of historical footage, and immersive teaching materials, making it a versatile tool for various industries.
Subscribers to the Premium Plan are allowed to use the generated video outputs for commercial purposes to suit their needs.
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Add credits on the billing page when you are ready to scale beyond the free tier.
POST your first task following the API docs, then poll the task until the result is ready.
Prototype prompts and settings in the the playground above before wiring them into your product.
curl -X POST 'https://api.piapi.ai/api/v1/task' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "Qubico/wanx",
"task_type": "txt2video-1.3b",
"input": {
"prompt": "A cinematic shot of a futuristic city at sunset.",
"aspect_ratio": "16:9"
}
}'
# → { "task_id": "9d5a…", "status": "pending" }curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'
# poll until status = completed
{
"data": {
"status": "completed",
"output": {
"video_url": "https://img.theapi.app/ephemeral/…"
}
}
}$ npm install -g piapi-cli $ piapi run wanx \ prompt="A cinematic shot of a futuristic city at sunset." \ aspect_ratio=16:9 ✓ Task completed! https://img.theapi.app/ephemeral/…
Wan 2.1 is an Advanced AI model developed by Alibaba Cloud. Wan 2.1 excels at creating realistic images and videos, particularly in handling complex motions like figure skating, swimming, and diving, making it capable of producing highly detailed and physically accurate visuals.
The Wanx API is provided by PiAPI, designed to facilitate developers' access to the Wanx 2.1 model. PiAPI will leverage its advanced inference framework and cutting-edge hardware infrastructure to deliver highly efficient and scalable video generation capabilities. With Wan API, developers can easily integrate the Wan2.1 model's exceptional video generation capability.
Wanx 2.1 leads the industry with its superior motion handling, ability to simulate complex bodily movements, and fast video generation, placing it among the top video generative models worldwide.
Wanx 2.1 is perfect for advertising, education, film, gaming, and any industry that requires high-quality visual content, from video generation to artistic applications.
Wanx 2.1 supports 1080p video for a 1-minute clip, which can be generated in just 15 seconds. It also offers a Pro version at 1280x720 resolution for high-quality output.
Wanx 2.1 provides over 100 artistic style templates, including genres like cyberpunk, oil painting, sketch, and cartoon, offering diverse creative possibilities for users.
PiAPI does not put any restrictions on the legal usage of the video generator and its API, and PiAPI allows video generated to be use for legal commercial purposes to the extend of the original model licensing agreement.
More questions? See the API docs.