Wan 2.2 API for Developers

Wan 2.2 API

Generate cinematic AI videos with Wan 2.2 via API. Strong control, flexible workflows, and open ecosystem compatibility — no GPU setup required.

Free to start
No watermarks on paid plans
Subscription or usage-based
Auto-scaling
Rustic kitchen
Fantasy jungle
City street
Cyberpunk VR city
Hallway portrait
Wildflowers
Speaker
Halfpipe skateboarder
Elegant portrait

Trusted by teams at

meta
nba
loreal
puma
cisco
deel
shopify
decathlon
dallas-mavericks
pittsburgh-pirates
tala
dyson
dazn
wsc-sports

Everything You Need to Ship Wan 2.2

Budget-friendly cinematic video with strong control and free tier access.

Cinematic Control
Strong control over camera movement, lighting, and composition for directed-feeling output.
Budget-Friendly
At 24 credits/sec, Wan 2.2 is one of the most cost-efficient video models available.
Free Tier Available
Available on the free plan — test and iterate without a paid subscription.
Flexible Workflows
Supports text-to-video and image-to-video with open ecosystem compatibility.
Auto-Scaling Infrastructure
Scales compute to match demand automatically. No GPU provisioning or cold starts.
Commercial-Ready
Paid plans support non-watermarked outputs with commercial licensing for production delivery.

Integrate in 3 Steps

Add budget-friendly cinematic video generation to your app in minutes.

1
Get Your API Key
Sign up free and generate an API key from the Developer dashboard. You get free credits to start.
2
Send Your Request
Pass a text prompt or reference image to the image-to-video endpoint and select the wan-2.2 model.
3
Get Results & Scale
Receive the generated video via response or webhook. Deploy to production — infrastructure scales automatically.
Get Started Free

Code Examples

Wan 2.2 in a few lines of code. Install an SDK or use the REST API directly.

from magic_hour import Client
from os import getenv

client = Client(token=getenv("API_TOKEN"))
res = client.v1.image_to_video.generate(
    assets={"image_file_path": "/path/to/first-frame.png"},
    end_seconds=5,
    model="wan-2.2",
    name="Wan 2.2 Video",
    resolution="720p",
    style={"prompt": "A cinematic dolly zoom through a neon city at night"},
)
API Docs

Wan 2.2 API Pricing

Subscription plans for standard usage.

Prefer usage-based pricing?

Email us or message us in Intercom and we will set up your usage-based pricing.

API Calculator
Use our calculator to estimate your API costs.
Tier
Estimated monthly cost

$1.73

Based on 24 FPS

Built for Builders

See how developers use the Wan 2.2 API to power real products.

Cost-Efficient Batch Production
Generate high volumes of video content at low cost for content pipelines.
Creative Exploration
Rapidly iterate on visual concepts with low cost per generation.
Social Media Content
Produce engaging short-form content at scale with cinematic quality.
Concept Art & Mood Boards
Bring static concepts to life with affordable video previews.
Marketing Automation
Power automated marketing video pipelines with predictable costs.
Educational Content
Create educational video content affordably at scale.
Try before integrating

Try Wan 2.2 Free — No Code Required

Test quality first with the free tool, then plug the same output quality into your app with the API when you are ready.

Wan 2.2 API — Frequently Asked Questions

Magic Hour's Wan 2.2 API lets developers generate AI videos using Alibaba's Wan 2.2 model via REST API with SDKs for Python, Node.js, Go, and Rust.

Yes. Wan 2.2 is available on Magic Hour's free tier.

24 credits per second — one of the most affordable video models available.

480p, 720p, and 1080p. Aspect ratios follow common portrait and landscape formats.

No. Wan 2.2 does not generate native audio in the current Magic Hour workflow.

Use Wan 2.2 when you need cinematic control at low cost. It's great for batch production, creative exploration, and workflows where budget efficiency matters.

Wan 2.2 offers strong cinematic control at a fraction of the cost. Premium models like Veo 3.1 or Sora 2 offer higher fidelity and native audio but at significantly higher cost.

Official SDKs for Python, Node.js, Go, and Rust.

Start Building with the Magic Hour Wan 2.2 Video API

Free credits on signup. SDKs for Python, Node.js, Go, and Rust. Production-ready in minutes.