Wan 2.6 API - Build with the next generation of video creation.
Alibaba's latest model, Wan 2.6 excels in AI video generation with realistic motion and strong temporal consistency. Start creating with PiAPI today and launch Wan 2.6 workflows faster.
WAN 2.6 API Pricing
Pay-as-you-go access through PiAPI.
T2V 720PText-to-video
$0.08 /second
- 720P output
- Text-to-video generation
T2V 1080PText-to-video
$0.12 /second
- 1080P output
- Text-to-video generation
I2V 720PImage-to-video
$0.08 /second
- 720P output
- Image-to-video generation
I2V 1080PImage-to-video
$0.12 /second
- 1080P output
- Image-to-video generation
Features
Capabilities from the production model page.
Seamless Audio-Visual Sync
Wan 2.6 natively supports high-fidelity video generation with synchronized audio, aligning visuals, voices, and ambient sound.
Multimodal Input
Use text, image, audio, and video as inputs to build richer generation workflows through the Wan 2.6 API.
Cinematic Aesthetics
Wan 2.6 supports professional storytelling with stronger motion dynamics, visual stability, and up to 15-second 1080p generations.
Asynchronous API Calls
Submit tasks with callbacks and receive results when jobs finish, without blocking your app flow.
Multi-Image Control
Support reference-driven generation and editing with commercial-grade character and scene consistency.
Precision, Motion, and Visual Fidelity
Wan 2.6 improves instruction following, motion smoothness, and output quality across both T2V and I2V workflows.
Adjustable Aspect Ratios
Generate output in multiple aspect ratios for social, entertainment, product, and broader content workflows.
World-Level Understanding
Wan 2.6 combines real-world understanding and structured generation for more coherent, cinematic visual narratives.
Get started
Create your API key
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Top up credits
Add credits on the billing page when you are ready to scale beyond the free tier.
Call the API
POST your first task following the API docs, then poll the task until the result is ready.
Iterate in the playground
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": "Wan",
"task_type": "wan26-txt2video",
"input": {
"prompt": "A cinematic shot of a futuristic city at sunset.",
"resolution": "720p",
"aspect_ratio": "16:9",
"duration": 5
}
}'
# → { "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 wan-2-6 \ prompt="A cinematic shot of a futuristic city at sunset." \ resolution=720p \ aspect_ratio=16:9 \ duration=5 ✓ Task completed! https://img.theapi.app/ephemeral/…
Want To Know More About Wan 2.6 API?
What is Wan 2.6?
Wan 2.6 is an advanced AI model, a successor of Wan 2.5 developed by Alibaba. It supports multimodal input, synchronized audio, and professional-grade 1080p video generation for both T2V and I2V workflows.
How much does Wan 2.6 API cost?
Wan 2.6 costs $0.08/second for T2V and I2V 720P generation, and $0.12/second for T2V and I2V 1080P generation.
How do I access Wan AI via API?
Use PiAPI's Wan 2.6 API endpoints to submit prompts and retrieve generated videos programmatically.
Can I control duration and resolution?
Yes. You can configure both duration and resolution when generating Wan 2.6 videos through the API.
Does Wan 2.6 API support I2V and T2V generations?
Yes. Wan 2.6 supports both I2V and T2V workflows, making it suitable for both creators and developers.
Can I generate NSFW content using Wan 2.6 API?
Please refer to our NSFW policy for more information and follow the guidelines.
More questions? See the API docs.
Our blog
Wan 2.6 API

