Wan 2.2 · Wan 2.1 · pay as you go

Open video generation with the Wan API.

Access Alibaba's Wan video models through one simple REST API. Buy credits, get a key, and render text-to-video and image-to-video — pay only for what you use.

99.9%Uptime target
1080pMax resolution
$10Minimum top-up
quickstart.py
import requests

BASE = "https://api.wanapi.io/v1"
H = {"Authorization": "Bearer sk-wan-your-key"}

task = requests.post(f"{BASE}/video/generations", headers=H, json={
    "model": "wan-2-2",
    "prompt": "a drone shot over a misty forest at sunrise",
    "duration": 5,
}).json()

print("task:", task["id"])

Works with the tools you already use

REST API Python JavaScript Webhooks Async tasks
Why wanapi.io

A thin, reliable layer over the Wan API

Everything you need to run Wan in production — without rebuilding your stack.

Drop-in compatible

Standard REST with an OpenAI-style schema. Point your existing client at wanapi.io — just change the base URL and key.

# point your client at us base_url = "https://api.wanapi.io/v1" api_key  = "sk-wan-your-key"

Prepaid credits

Top up and spend only on what you use. No subscription, no surprise invoices.

Low-latency proxy

Globally routed edge with minimal overhead, automatic retries, and failover.

Usage & keys

Real-time spend tracking per key and model, scoped keys, instant rotation and limits.

Secure by default

Encrypted in transit, rate-limit smoothing, and a 99.9% uptime target.


Models

The Wan lineup, one API

Pick the right model per request through a single consistent interface.

wan-2-2Abstract visual representing Wan 2.2

Wan 2.2

Open video generation with smooth motion for text-to-video and image-to-video.

View in docs
wan-2-1Abstract visual representing Wan 2.1

Wan 2.1

Efficient generations for quick iteration and shorter clips.

View in docs

Get started

From sign-up to first call in three steps

01

Buy credits

Create an account and top up. Credits never require a subscription.

02

Generate a key

Create an API key from your dashboard and drop it into your environment.

03

Render video

Submit a generation, poll the task, and download your finished video.


Pricing

Simple, pay-as-you-go credits

Buy a credit pack, spend it on any model. Top up more, get more bonus credit.

Starter

$10

For testing and short clips.

  • $10 in usage credit
  • Access to all models
  • 2 API keys
  • Usage dashboard
Get started

Scale

$1,000 + $200 bonus

For high-volume rendering.

  • $1,200 in usage credit
  • Highest rate limits
  • Dedicated routing
  • Invoicing, SSO & SLA
Get started
ModelResolutionPrice / 5s clip
wan-2-2720p$0.40 / 5s
wan-2-1480p$0.25 / 5s

Indicative rates for illustration. See your dashboard for live pricing.


FAQ

Frequently asked questions

No. wanapi.io is an independent API proxy and reseller for Wan and is not affiliated with Alibaba Tongyi Wanxiang. For Wan's official site, visit Alibaba Tongyi Wanxiang.

Immediately. After you top up credits and generate a key, you can make your first call in minutes — no waitlist or approval step.

Video generation is asynchronous: you create a task, then poll its status (or use a webhook). When it succeeds, the response includes a downloadable video URL.

Prepaid credits are valid for 12 months from purchase, and you'll get spend alerts before your balance runs low.

Requests are proxied over encrypted connections and we don't sell your data. See our Privacy Policy for full detail.

Yes — on the Scale plan we support invoicing and wire payment. Contact us to set it up.

Start building on Wan today

Top up, get an instant API key, and ship your first Wan-powered feature this afternoon.

Get your API key