Wan 2.2 API

Alibaba's Wan 2.2 video family with standard and flash tiers, first and last frame interpolation, and 480p to 1080p output at low cost.

Alibaba CloudVideo GenerationReleased Jul 28, 2025SingaporeProprietary Endpoint

About Wan 2.2

Alibaba's Wan 2.2 video family with standard and flash tiers, first and last frame interpolation, and 480p to 1080p output at low cost.

Also known as Alibaba Cloud Wan 2.2

text to videoimage to video

Wan 2.2 specs

Model ID
wan-2-2
Provider
Alibaba Cloud
Category
Video Generation
Released
Jul 28, 2025
Input
TextImage
Output
Video
Region
Singapore
Endpoints
POST/v1/videos/generations
Alternate model IDs
alibaba/wan-2.2wan2.2

Wan 2.2 API pricing

Live pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.

Type
Spec
Rate
Standard 480P
per second
$0.02
Standard 1080P
per second
$0.10
Flash 480P
per second
$0.015
Flash 720P
per second
$0.036
Flash 1080P
per second
$0.07
Compare on the full pricing page

How to call the Wan 2.2 API

Wan 2.2 runs through POST /v1/videos/generations. The request returns a job_id right away; poll GET /v1/jobs/{job_id} until the job completes and read the output URLs from the result. Get an API key from the EmpirioLabs dashboard.

cURL: submit the job
curl https://api.empiriolabs.ai/v1/videos/generations \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan-2-2",
    "prompt": "Describe what you want Wan 2.2 to generate."
  }'
cURL: poll for the result
curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY"
Python
import requests

response = requests.post(
    "https://api.empiriolabs.ai/v1/videos/generations",
    headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    json={
        "model": "wan-2-2",
        "prompt": "Describe what you want Wan 2.2 to generate.",
    },
)
job = response.json()

# Generation runs as an async job. Poll until it completes.
import time
while True:
    status = requests.get(
        f"https://api.empiriolabs.ai/v1/jobs/{job['job_id']}",
        headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    ).json()
    if status.get("status") in ("completed", "failed"):
        print(status)
        break
    time.sleep(5)
Full Wan 2.2 API reference

Wan 2.2 API parameters

Request parameters supported by the Wan 2.2 API on EmpirioLabs. Defaults apply when a field is omitted.

ParameterTypeDefaultRange / valuesDescription
promptstring--Scene description.
modeenumautoauto, t2v, i2v, kf2vAuto detects from attachments. t2v: text-to-video. i2v: animate one image. kf2v: interpolate between a first and last frame (two images).
resolutionenum1080p480p, 720p, 1080pStandard t2v/i2v supports 480p and 1080p. Flash i2v supports 480p and 720p. First-last frame supports all three.
flash_modebooleanfalse-Faster, cheaper i2v at 480p or 720p. Applies to i2v only.
aspect_ratioenum16:916:9, 9:16, 1:1, 4:3, 3:4Used for text-to-video; image modes follow the source image. 480p supports 16:9, 9:16, and 1:1 only.
imagestring--Source image URL. i2v uses one image; kf2v uses two (first and last frame).
negative_promptstring--What to avoid.
seednumber--Reproducibility seed.
prompt_extendbooleantrue-Let the service rewrite the prompt for better results.
watermarkbooleanfalse-Add a provenance watermark to the output.

Good to know

Clips render 5 seconds without audio. Standard text-to-video and image-to-video output 480p or 1080p. Flash image-to-video outputs 480p or 720p. Two attached images run first and last frame interpolation at Flash rates, up to 1080p.

Wan 2.2 API: common questions

How much does the Wan 2.2 API cost?

On EmpirioLabs, Wan 2.2 is billed pay as you go: Standard 480P $0.02 per second; Standard 1080P $0.10 per second; Flash 480P $0.015 per second. The live rate card on this page always matches what the API charges.

Which endpoint does Wan 2.2 use?

Wan 2.2 is served through POST /v1/videos/generations on api.empiriolabs.ai with standard bearer-token authentication.

Can I try Wan 2.2 in the browser before integrating?

Yes. The EmpirioLabs playground runs Wan 2.2 in the browser with the same parameters the API exposes, so you can test prompts before writing code.

How do I get a Wan 2.2 API key?

Create an EmpirioLabs account, then generate a key under API Keys in the dashboard. Billing is pay-as-you-go credits, so you only pay for the requests you make.

Ready to use better endpoints?

Check out our pricing or reach out if you want your own model deployed on our stack.