Alibaba
Available via APIVideo GenerationImage GenerationWan API
Wan is Alibaba's family of video and image generation models. Generate up to 30-second clips with native audio, animate a still, lip-sync a portrait or render 4K stills, every version behind one API key and billed per second or per image.
- Versions
- 7
- Starts at
- $0.033/second
- Free trial
- $0.20 · 200 credits
Try the Wan API
Output
Example output from Wan 3.0
Prompt usedNight in a narrow Tokyo alley after rain. A street musician in a long coat plays a slow jazz phrase on a saxophone under a flickering neon sign, puddles reflect pink and blue light. The camera slowly dollies in from a wide shot to a medium shot. Sound: the saxophone melody, rain dripping from awnings, distant traffic.
Night in a narrow Tokyo alley after rain. A street musician in a long coat plays a slow jazz phrase on a saxophone under a flickering neon sign, puddles reflect pink and blue light. The camera slowly dollies in from a wide shot to a medium shot. Sound: the saxophone melody, rain dripping from awnings, distant traffic.
Wan API examples
Every clip and image here was generated through the Wizzx API with the prompt and settings shown, including the input files. Hover a clip to play it, or open it in the Playground.
Generated with Wan 3.0
Audioresolution: 720pduration: 5aspect_ratio: 16:9generate_audio: truePromptNight in a narrow Tokyo alley after rain. A street musician in a long coat plays a slow jazz phrase on a saxophone under a flickering neon sign, puddles reflect pink and blue light. The camera slowly dollies in from a wide shot to a medium shot. Sound: the saxophone melody, rain dripping from awnings, distant traffic.
Night in a narrow Tokyo alley after rain. A street musician in a long coat plays a slow jazz phrase on a saxophone under a flickering neon sign, puddles reflect pink and blue light. The camera slowly dollies in from a wide shot to a medium shot. Sound: the saxophone melody, rain dripping from awnings, distant traffic.
Generated with Wan 3.0 Prime
Audioresolution: 720pduration: 5aspect_ratio: 16:9generate_audio: truePromptClose-up in a dark glassblowing workshop: an artisan turns a blowpipe while shaping a glowing orange glass vase, heat shimmer and tiny sparks in the air. The camera slowly orbits around the hands and the molten glass. Sound: the low roar of the furnace and soft crackling.
Close-up in a dark glassblowing workshop: an artisan turns a blowpipe while shaping a glowing orange glass vase, heat shimmer and tiny sparks in the air. The camera slowly orbits around the hands and the molten glass. Sound: the low roar of the furnace and soft crackling.
Generated with WAN 2.6 Flash
resolution: 720pduration: 5shot_type: single
image_urls· First frame, generated with Wan 2.7 Image
PromptThe tram rolls slowly across the bridge from left to right, fog drifts over the river and birds take off from the water. Gentle camera push-in.
The tram rolls slowly across the bridge from left to right, fog drifts over the river and birds take off from the water. Gentle camera push-in.
Generated with Wan 2.7
resolution: 720pduration: 5aspect_ratio: 16:9PromptAerial drone shot following a lone cyclist on a winding coastal road high above a turquoise sea at golden hour. Waves break on the cliffs below, then the camera slowly rises to reveal the whole coastline.
Aerial drone shot following a lone cyclist on a winding coastal road high above a turquoise sea at golden hour. Waves break on the cliffs below, then the camera slowly rises to reveal the whole coastline.

Generated with Wan 2.7 Image
aspect_ratio: 16:9resolution: 2KPromptCinematic still: a red vintage tram crossing an old stone bridge over a misty river at sunrise in a European city. Warm low sun breaks through the fog, a few small figures walk on the bridge, birds lift off the water. Photorealistic, 35mm film look, soft volumetric light, natural color.
Cinematic still: a red vintage tram crossing an old stone bridge over a misty river at sunrise in a European city. Warm low sun breaks through the fog, a few small figures walk on the bridge, birds lift off the water. Photorealistic, 35mm film look, soft volumetric light, natural color.

Generated with Wan 2.7 Image Pro
aspect_ratio: 4:3resolution: 4KPromptEditorial product photograph of a handmade ceramic teapot with a pale celadon crackle glaze on a walnut table. Steam curls from the spout, two small cups and a sprig of jasmine sit beside it, morning window light from the side, shallow depth of field, ultra-detailed glaze texture.
Editorial product photograph of a handmade ceramic teapot with a pale celadon crackle glaze on a walnut table. Steam curls from the spout, two small cups and a sprig of jasmine sit beside it, morning window light from the side, shallow depth of field, ultra-detailed glaze texture.
Compare Wan API versions
All 7 versions in the live Wizzx catalog. Prices are each version's lowest tier; resolution and duration set the final rate.
| Version | Mode | Inputs | Output | Price | Links |
|---|---|---|---|---|---|
| Video | |||||
Wan 3.0Latest wan-3.0 | Text / image → video |
| 480p720p1080p 2–30sAudio | $0.065/second 720p · 5s ≈ $0.645 | |
Wan 3.0 PrimeLatest wan-3.0-prime | Text / image → video |
| 480p720p1080p 2–30sAudio | $0.097/second 720p · 5s ≈ $0.97 | |
wan-2.7 | Text / image → video |
| 720p1080p 2–15sAudio | $0.124/second 720p · 5s ≈ $0.62 | |
wan-2.6-flash | Image → video |
| 720p1080p 2–15sSilent | $0.033/second 720p · 5s ≈ $0.165 | |
wan-2.2-speech-to-video | Image + speech → video |
| 480p580p720p 3–7sYour speech | $0.093/second 480p · 5s ≈ $0.465 | |
| Image | |||||
wan-2.7-image | Text → image · edit |
| 1K2K | $0.034/image | |
wan-2.7-image-pro | Text → image · edit |
| 1K2K4K | $0.084/image | |
Wizzx prices are the lowest tier of each version, read live from the pricing catalog. Official prices are the provider's list prices for comparable tiers where published. Resolution, duration and audio change the tier, so compare the full tier list on each version page.
Wan API cost examples
Worked out from each version's lowest live tier. Higher resolution, longer clips or more reference media cost more.
- Wan 3.0: 10 clips of 5s × $0.645 = $6.45
- Wan 3.0 Prime: 10 clips of 5s × $0.97 = $9.700
- Wan 2.7: 10 clips of 5s × $0.62 = $6.20
- WAN 2.6 Flash: 10 clips of 5s × $0.165 = $1.65
- Wan 2.2 Speech-to-Video: 10 clips of 5s × $0.465 = $4.650
- Wan 2.7 Image: 100 images × $0.034 = $3.40
- Wan 2.7 Image Pro: 100 images × $0.084 = $8.40
Wan models are developed by Alibaba. Wizzx provides API access to them and does not own the models. All trademarks belong to their respective owners.
Which Wan version should I use?
Pick by the job you need done. Each card links to the version's full spec and pricing.
Wan 3.0
$0.065/secondNarrative clips with sound
Up to 30 seconds per request with native audio, from text, a first and last frame, or up to 10 reference images and 5 audio clips. The default choice for most video work.
Open Wan 3.0Wan 3.0 Prime
$0.097/secondFinal renders where fidelity matters
The same inputs and 2–30 second range as Wan 3.0 at a higher per-second rate. Settle the prompt on Wan 3.0, then render the keeper here.
Open Wan 3.0 PrimeWan 2.7
$0.124/secondFrame- and audio-guided clips
2–15 seconds at 720p or 1080p from text, a first and last frame, or up to 5 reference images, with an optional audio track to drive the clip.
Open Wan 2.7WAN 2.6 Flash
$0.033/secondAnimate a still on a budget
Turns one first-frame image into a silent 2–15 second clip at 720p or 1080p, as a single shot or a short multi-shot sequence.
Open WAN 2.6 FlashWan 2.2 Speech-to-Video
$0.093/secondTalking avatars
Lip-syncs a portrait to a speech clip for 3–7 seconds at 480p to 720p, built on Alibaba's open Wan2.2-S2V-14B model.
Open Wan 2.2 Speech-to-VideoWan 2.7 Image
$0.034/imageStills, edits and first frames
Text-to-image and edits that blend up to 9 reference images, at one flat price per image. Image Pro adds 4K text-to-image. Use the output as a first frame for Wan video.
Open Wan 2.7 Image
What you can build with the Wan API
What each capability takes on Wizzx, and which versions support it.
Text-to-video
Describe subject, action, camera and sound in one prompt. Wan 3.0 and 3.0 Prime render 2–30 seconds per request; Wan 2.7 renders 2–15.
Image-to-video
Start from your own frame with first_frame_image, and fix the ending with last_frame_image. Wan 2.6 Flash takes a required first frame in image_urls and can split the clip into several shots.
Reference images and audio
Keep a character or product consistent with up to 10 reference_image_urls on Wan 3.0 (5 on Wan 2.7), and guide voice or ambience with up to 5 reference_audio_urls. References are not charged.
Native audio
Wan 3.0 and 3.0 Prime generate the soundtrack with the picture (generate_audio, on by default) at no extra cost. Wan 2.7 adds matching music or sound effects on its own, or follows the audio_url you send. Wan 2.6 Flash output is silent.
Speech-driven portraits
Send a portrait in image_url and speech in audio_url; Wan 2.2 Speech-to-Video returns a lip-synced 3–7 second clip with natural head movement.
Images and multi-reference edits
Wan 2.7 Image and Image Pro generate stills from text or blend up to 9 references, with an optional thinking_mode for complex layouts. 1K, 2K and Pro's 4K cost the same.
About the Wan models
Wan (Tongyi Wanxiang) is Alibaba's generative video and image family. Newer versions add longer clips, native audio and richer reference inputs, while Wan 2.1 and Wan 2.2 were also released as open weights. On Wizzx every Wan version shares one task API and one credit balance, so switching versions means changing one model ID.
Prompting tips
- 1
Write in beats: subject, action, camera move, lighting, then sound. Name the camera move explicitly, such as “slow dolly in” or “orbit around the hands”.
- 2
On Wan 3.0 and 3.0 Prime, describe the sound you want (dialogue, music, ambience) in the same prompt; the audio is generated with the picture.
- 3
Use either first/last frames or reference images in one Wan 3.0 request, not both: the API treats them as mutually exclusive.
- 4
Iterate at 480p or 720p with a fixed seed, then render the final at 1080p or on Wan 3.0 Prime. You pay per second, so a 5-second test costs a sixth of a 30-second render.
- 5
Prompt expansion (prompt_extend) rewrites short prompts with more detail. Turn it off when the model must follow your wording exactly; Wan 2.6 Flash needs it on for multi-shot.
Integrate the Wan API
Create a server-side API key, submit the supported inputs for your chosen model, and keep the returned task ID to retrieve the result. Model pages link to the exact request contract.
- 1
Create an API key
Sign in and create a key in the dashboard. Set WIZZX_API_KEY in your server environment; never expose it in browser code.
- 2
Submit a task
Send a POST request to the model endpoint. A successful submission returns data.task_id; keep that ID before polling. Submission is not generation completion.
- 3
Retrieve the result
Replace YOUR_TASK_ID with the returned ID and query GET /api/v1/task/{task_id}. Wait for SUCCEEDED and read the output URLs. Stop on FAILED or REVIEW_REQUIRED; do not automatically resubmit an uncertain task.
Version
https://api.wizzx.ai/api/v1/task/submit/wan-3.0curl -X POST \
https://api.wizzx.ai/api/v1/task/submit/wan-3.0 \
-H "Authorization: Bearer $WIZZX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"resolution": "720p",
"duration": 5,
"generate_audio": true,
"aspect_ratio": "adaptive",
"prompt": "Night in a narrow Tokyo alley after rain. A street musician in a long coat plays a slow jazz phrase on a saxophone under a flickering neon sign, puddles reflect pink and blue light. The camera slowly dollies in from a wide shot to a medium shot. Sound: the saxophone melody, rain dripping from awnings, distant traffic."
}'const response = await fetch("https://api.wizzx.ai/api/v1/task/submit/wan-3.0", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.WIZZX_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"resolution": "720p",
"duration": 5,
"generate_audio": true,
"aspect_ratio": "adaptive",
"prompt": "Night in a narrow Tokyo alley after rain. A street musician in a long coat plays a slow jazz phrase on a saxophone under a flickering neon sign, puddles reflect pink and blue light. The camera slowly dollies in from a wide shot to a medium shot. Sound: the saxophone melody, rain dripping from awnings, distant traffic."
}),
});
const payload = await response.json();
const task = payload.data ?? payload;
const taskId = task.task_id;import os
import requests
response = requests.post(
"https://api.wizzx.ai/api/v1/task/submit/wan-3.0",
headers={
"Authorization": f"Bearer {os.environ['WIZZX_API_KEY']}",
},
json={
"resolution": "720p",
"duration": 5,
"generate_audio": True,
"aspect_ratio": "adaptive",
"prompt": "Night in a narrow Tokyo alley after rain. A street musician in a long coat plays a slow jazz phrase on a saxophone under a flickering neon sign, puddles reflect pink and blue light. The camera slowly dollies in from a wide shot to a medium shot. Sound: the saxophone melody, rain dripping from awnings, distant traffic."
},
)
payload = response.json()
task = payload.get("data", payload)
task_id = task["task_id"]curl https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID \
-H "Authorization: Bearer $WIZZX_API_KEY"const response = await fetch("https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID", {
headers: {
Authorization: `Bearer ${process.env.WIZZX_API_KEY}`,
},
});
const payload = await response.json();
const task = payload.data ?? payload;
// Poll until task.status is SUCCEEDED, then read task.result_urls (stop on FAILED or REVIEW_REQUIRED)import os
import requests
response = requests.get(
"https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID",
headers={
"Authorization": f"Bearer {os.environ['WIZZX_API_KEY']}",
},
)
payload = response.json()
task = payload.get("data", payload)
# Poll until task["status"] == "SUCCEEDED", then read task["result_urls"] (stop on FAILED or REVIEW_REQUIRED)Wan 3.0 request parameters
Full specThe fields this endpoint accepts on Wizzx, read from the same schema as the Playground form.
| Parameter | Type | Default | Allowed values | Description |
|---|---|---|---|---|
promptPromptrequired | string | — | ≤ 20,000 | Describe the video you want to generate |
first_frame_imageFirst Frame | url | — | — | Optional opening frame URL (mutually exclusive with Reference Images). |
last_frame_imageEnd Frame Image | url | — | — | Optional closing frame URL (requires First Frame). |
reference_image_urlsReference Images | url[] ≤ 10 | — | — | Optional. Up to 10 reference images (mutually exclusive with First Frame). Reference images are not charged. |
reference_audio_urlsReference Audio | url[] ≤ 5 | — | — | Optional. Up to 5 reference audio clips. Reference audio is not charged. |
durationDuration | integer | 5 | 2 – 30 | Video duration in seconds. Duration determines the total. |
resolutionResolution | string | 720p | 480p · 720p · 1080p | Resolution selects the per-second rate. |
generate_audioGenerate Audio | boolean | true | — | Audio is included by default and does not change the price. |
aspect_ratioAspect Ratio | string | adaptive | adaptive · 16:9 · 9:16 · 1:1 · 4:3 · 3:4 | — |
seedSeed | integer | — | 0 – 2147483647 | Random seed for reproducibility |
API integration questions
- Which Wan version should I use?
- Start with Wan 3.0 for most video: up to 30 seconds, native audio and the richest inputs. Move to Wan 3.0 Prime for final renders, Wan 2.6 Flash to animate a still at a low per-second rate, Wan 2.2 Speech-to-Video for talking portraits, and Wan 2.7 Image for stills and first frames.
- Does the Wan API generate audio?
- Yes. Wan 3.0 and Wan 3.0 Prime generate audio with the video by default (generate_audio: true) at no extra charge and take up to 5 reference audio clips. Wan 2.7 adds matching background music or sound effects, or uses the audio_url you send as driving audio. Wan 2.2 Speech-to-Video returns the speech clip you send, lip-synced. Wan 2.6 Flash output is always silent.
- How long can a Wan video be?
- Wan 3.0 and 3.0 Prime: 2–30 seconds. Wan 2.7 and Wan 2.6 Flash: 2–15 seconds (Wan 2.7 allows up to 10 seconds when you send reference images). Wan 2.2 Speech-to-Video: 3–7 seconds. Video is billed per second, so length sets the price.
- Can I start from my own image?
- Yes. Send a public image URL as first_frame_image on Wan 3.0, 3.0 Prime and 2.7 (add last_frame_image to fix the ending), or in image_urls on Wan 2.6 Flash, where a first frame is required. Wan 2.2 Speech-to-Video takes a portrait in image_url.
- Is Wan open source?
- Partly. Alibaba has published open weights for Wan 2.1 and Wan 2.2 on its Wan-Video GitHub, including the Wan2.2-S2V-14B speech-to-video model (Wan 2.2 is Apache 2.0). Wan 2.6, 2.7 and 3.0 have no open weights there; they run as hosted models, which is how Wizzx serves every version.
- Is this the official Wan API?
- No. Wan models are developed by Alibaba. Wizzx is an independent API platform that gives you access to them with one API key, an asynchronous task API and pay-as-you-go credits.
- How much does the Wan API cost?
- Pay as you go, with no subscription. Starting prices: Wan 3.0 $0.065/second, Wan 3.0 Prime $0.097/second, Wan 2.7 $0.124/second, WAN 2.6 Flash $0.033/second, Wan 2.2 Speech-to-Video $0.093/second, Wan 2.7 Image $0.034/image, and Wan 2.7 Image Pro $0.084/image. Billing units and rates vary by model and settings. Some models charge extra for reference inputs; check the selected model’s pricing details and run estimate before generating.
- What are the Wan API model IDs?
- Submit tasks to POST /api/v1/task/submit/{model_id} with one of: wan-3.0, wan-3.0-prime, wan-2.7, wan-2.6-flash, wan-2.2-speech-to-video, wan-2.7-image, wan-2.7-image-pro.
- Am I charged if a task fails?
- No. Credits are reserved when you submit a task and refunded if it fails. You are only charged for successful tasks.
- Can I try the Wan API for free?
- Yes. New accounts start with $0.20 in free credits, about 6 seconds of video with WAN 2.6 Flash, the lowest-priced version.
Explore more AI APIs
Other model families and categories on the same Wizzx API key.
Wizzx API
Start building with the Wan API
New accounts get $0.20 in free credits. Pay as you go with no subscription, and failed tasks are refunded.