Wan 2.2 API
$0.12-$0.28/video / การสร้าง
Developer-ready API access
ยกระดับการสร้างวิดีโอด้วย ความแม่นยำเชิงศิลป์!
Pay-as-you-go access through PiAPI.
$0.12-$0.28/video / การสร้าง
Developer-ready API access
Capabilities from the production model page.
Wan 2.2 introduces an advanced MoE architecture to its video diffusion models. By dispersing the denoising process across specialized expert models for different timesteps, it enhances overall model capacity without increasing computational costs.
Achieve professional narrative control with Wan 2.2's in-depth shot language capabilities. Fine-tune elements like lighting, color, and composition for detailed and versatile video styles.
With a dataset expansion of 65.6% more images and 83.2% more videos compared to its predecessor, Wan2.2 delivers fluid, complex motion rendering that matches and exceeds top-tier models globally.
Experience fast, high-quality video generation at 720P and 24fps, thanks to Wan2.2's sophisticated Wan2.2-VAE. Compatible with consumer-grade GPUs, it supports diverse applications from academia to industry.
Wan 2.2 supports text-to-video and image-to-video generation, providing flexibility whether you're driven by creative storytelling or precise instructional content.
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": "wan22-txt2video-14b",
"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 wan-2-2 \ prompt="A cinematic shot of a futuristic city at sunset." \ aspect_ratio=16:9 ✓ Task completed! https://img.theapi.app/ephemeral/…
เมื่อเทียบกับ Wan2.1 แล้ว Wan2.2 ยกระดับคุณภาพการสร้างอย่างมากด้วยชุดข้อมูลที่ใหญ่ขึ้นและสถาปัตยกรรม Mixture-of-Experts (MoE) ที่เป็นนวัตกรรม ช่วยให้ควบคุมคุณลักษณะของวิดีโอได้ขั้นสูงโดยไม่เพิ่มภาระการคำนวณ
ได้ โมเดลถูกปรับให้ทำงานได้อย่างมีประสิทธิภาพบน GPU อย่าง NVIDIA 4090 ทำให้การสร้างวิดีโอความละเอียดสูงเข้าถึงผู้ใช้ได้กว้างขึ้น
ให้การควบคุมแบบละเอียดต่อองค์ประกอบต่าง ๆ เช่น แสง สี และองค์ประกอบภาพ ทำให้สร้างสไตล์แบบภาพยนตร์ได้อย่างแม่นยำและปรับแต่งได้
ใช่ Wan2.2 เป็นโอเพนซอร์สเต็มรูปแบบ ทำให้ชุมชนสามารถเข้าถึงและนำความสามารถอันทรงพลังไปใช้ในโครงการต่าง ๆ ได้
Wanx API ให้บริการโดย PiAPI และถูกออกแบบมาเพื่อช่วยให้นักพัฒนาสามารถเข้าถึงโมเดล Wanx 2.2 ได้ง่ายขึ้น ด้วย Wan API นักพัฒนาสามารถผสานความสามารถการสร้างวิดีโออันยอดเยี่ยมของ Wan2.2 ได้อย่างสะดวก
More questions? See the API docs.