
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'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
wan-2-2/v1/videos/generationsalibaba/wan-2.2wan2.2Live pay-as-you-go rates from the EmpirioLabs catalog. You are billed only for what you use, with no monthly minimum.
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 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 https://api.empiriolabs.ai/v1/jobs/JOB_ID \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY"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)Request parameters supported by the Wan 2.2 API on EmpirioLabs. Defaults apply when a field is omitted.
| Parameter | Type | Default | Range / values | Description |
|---|---|---|---|---|
| prompt | string | - | - | Scene description. |
| mode | enum | auto | auto, t2v, i2v, kf2v | Auto detects from attachments. t2v: text-to-video. i2v: animate one image. kf2v: interpolate between a first and last frame (two images). |
| resolution | enum | 1080p | 480p, 720p, 1080p | Standard t2v/i2v supports 480p and 1080p. Flash i2v supports 480p and 720p. First-last frame supports all three. |
| flash_mode | boolean | false | - | Faster, cheaper i2v at 480p or 720p. Applies to i2v only. |
| aspect_ratio | enum | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4 | Used for text-to-video; image modes follow the source image. 480p supports 16:9, 9:16, and 1:1 only. |
| image | string | - | - | Source image URL. i2v uses one image; kf2v uses two (first and last frame). |
| negative_prompt | string | - | - | What to avoid. |
| seed | number | - | - | Reproducibility seed. |
| prompt_extend | boolean | true | - | Let the service rewrite the prompt for better results. |
| watermark | boolean | false | - | Add a provenance watermark to the output. |
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.
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.
Wan 2.2 is served through POST /v1/videos/generations on api.empiriolabs.ai with standard bearer-token authentication.
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.
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.
Check out our pricing or reach out if you want your own model deployed on our stack.