Qwen

Alibaba

Available via APIVideo GenerationImage Generation

Wan 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

Video
Image

Generate 2-30 second Alibaba Wan 3.0 videos with native audio at 480p, 720p, or 1080p from text, first/last frames, or up to 10 reference images and 5 audio clips.

Inputs

  • First Framefirst_frame_image

    Add your own file in the Playground.

    Optional
  • End Frame Imagelast_frame_image

    Add your own file in the Playground.

    Optional
  • Reference Images≤10reference_image_urls

    Add your own file in the Playground.

    Optional
  • Reference Audio≤5reference_audio_urls

    Add your own file in the Playground.

    Optional

$0.645 · 645 credits (720p · 5s)

$15 pack ≈ 23 runs

Over the $0.20 free credits.

Sign in to run it. This run costs more than the $0.20 in free credits new accounts get, so it needs a credit pack.

Output

Example output from Wan 3.0

resolution: 720pduration: 5aspect_ratio: 16:9generate_audio: true
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

    Audio
    resolution: 720pduration: 5aspect_ratio: 16:9generate_audio: true
    PromptNight 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

    Audio
    resolution: 720pduration: 5aspect_ratio: 16:9generate_audio: true
    PromptClose-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:9
    PromptAerial 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.

  • Wan 2.7 Image output: a red tram crossing a misty stone bridge at sunrise

    Generated with Wan 2.7 Image

    aspect_ratio: 16:9resolution: 2K
    PromptCinematic 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.

  • Wan 2.7 Image Pro output: 4K product photo of a celadon teapot

    Generated with Wan 2.7 Image Pro

    aspect_ratio: 4:3resolution: 4K
    PromptEditorial 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.

VersionModeInputsOutputPriceLinks
Video
Wan 3.0Latest
wan-3.0
Text / image → video
  • First Frame
  • End Frame Image
  • Reference Images≤10
  • Reference Audio≤5
480p720p1080p

2–30sAudio

$0.065/second

720p · 5s ≈ $0.645

wan-3.0-prime
Text / image → video
  • First Frame
  • End Frame Image
  • Reference Images≤10
  • Reference Audio≤5
480p720p1080p

2–30sAudio

$0.097/second

720p · 5s ≈ $0.97

wan-2.7
Text / image → video
  • First Frame
  • End Frame Image
  • Reference Images≤5
  • Audio URL
720p1080p

2–15sAudio

$0.124/second

720p · 5s ≈ $0.62

wan-2.6-flash
Image → video
  • First Frame
720p1080p

2–15sSilent

$0.033/second

720p · 5s ≈ $0.165

wan-2.2-speech-to-video
Image + speech → video
  • Portrait Image
  • Speech Audio
480p580p720p

3–7sYour speech

$0.093/second

480p · 5s ≈ $0.465

Image
wan-2.7-image
Text → image · edit
  • Reference Images≤9
1K2K

$0.034/image

wan-2.7-image-pro
Text → image · edit
  • Reference Images≤9
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.

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. 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. 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. 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. 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. 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. 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. 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. 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

POSThttps://api.wizzx.ai/api/v1/task/submit/wan-3.0
Submit a task
submit.sh
curl -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."
}'
Retrieve the result
status.sh
curl https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID \
  -H "Authorization: Bearer $WIZZX_API_KEY"

Wan 3.0 request parameters

Full spec

The fields this endpoint accepts on Wizzx, read from the same schema as the Playground form.

ParameterTypeDefaultAllowed valuesDescription
prompt
Promptrequired
string—≤ 20,000Describe the video you want to generate
first_frame_image
First Frame
url——Optional opening frame URL (mutually exclusive with Reference Images).
last_frame_image
End Frame Image
url——Optional closing frame URL (requires First Frame).
reference_image_urls
Reference Images
url[] ≤ 10——Optional. Up to 10 reference images (mutually exclusive with First Frame). Reference images are not charged.
reference_audio_urls
Reference Audio
url[] ≤ 5——Optional. Up to 5 reference audio clips. Reference audio is not charged.
duration
Duration
integer52 – 30Video duration in seconds. Duration determines the total.
resolution
Resolution
string720p480p · 720p · 1080pResolution selects the per-second rate.
generate_audio
Generate Audio
booleantrue—Audio is included by default and does not change the price.
aspect_ratio
Aspect Ratio
stringadaptiveadaptive · 16:9 · 9:16 · 1:1 · 4:3 · 3:4—
seed
Seed
integer—0 – 2147483647Random seed for reproducibility
View API Documentation

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.