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 credits on signup
Transparent per-credit pricing
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

Estimate Your API Costs

Build with model-specific APIs for video, image generation, and image editing. Compare inputs, examples, and capabilities across Magic Hour's supported models.
Seconds of Video Per Month
100 seconds
seconds
Recommended plan
Pro Annual
$300
/year
300,000 credits per year
Up to 3.5 hours of video
Up to 30,000 images
PRO ANNUAL covers your usage
Estimated usage
24,000credits / month
Included
25,000credits / month
Remaining headroom
1,000credits / month
TOTAL BILL
$300
/year

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.

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.

Magic Hour offers subscription plans starting at $15/month (Creator), $39/month (Pro), and $99/month (Business), each including a monthly credit allotment. Credits are consumed per generation based on output length and model. You can also contact us to set up usage-based (pay-as-you-go) pricing. A free tier with credits is available on signup — no credit card required.

Sign up at magichour.ai/developer — no credit card required. You'll receive free credits and an API key immediately. The key works across all Magic Hour API endpoints including Wan 2.2. Start making API calls in minutes using our Python, Node.js, Go, or Rust SDKs.

Yes. Every new Magic Hour account gets free credits on signup that work across all API endpoints. No credit card is required to get started. Paid plans unlock higher credit limits, higher concurrency, and commercial use rights.

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.