About Wan 2.5
The Wan 2.5 API accepts an audio_url on every endpoint: send a recorded voice line or a music cue and the generated video paces itself to the file. That makes it a simple backend for talking-portrait features where your app already has the audio, for example from a text-to-speech step.
Call it with the model name alibaba/wan-2.5/text-to-video on POST /jobs/createTask, from $0.225.
Introduction
Wan 2.5 Text to video generates a 5- or 10-second clip with sound from a written prompt alone. prompt is the only required field, up to 1,500 characters; everything else has a default: 16:9, 720p, five seconds, prompt expansion off. Use it when no approved still exists yet and the setting, action and camera all have to come from the text. When you already have the opening frame, the image-led endpoint keeps that frame's subject and proportions instead.
Choose a Wan 2.5 mode by starting material
| What you have at the start | Mode |
|---|---|
| a written scene or script | Wan 2.5 Text to video |
| an approved opening image | Wan 2.5 Image to video |
Key features
Picture and sound in one pass
The clip comes back with audio already in the file: ambience, effects and voices are generated alongside the picture, so a closing line such as "Audio: gulls, a splash, her breath" is worth writing. To make movement and mouth shapes follow a take you already have, pass audio_url, a WAV or MP3 of 3 to 30 seconds and up to 15 MB. A track longer than the clip is cut at the end; a shorter one leaves the rest of the clip silent.
Five shapes, three resolutions, two lengths
aspect_ratio accepts 16:9, 9:16, 1:1, 4:3 and 3:4, and resolution accepts 480p, 720p and 1080p. The two interact: at 480p only landscape, portrait and square frames render, so 4:3 and 3:4 need 720p or above. duration_seconds is exactly 5 or 10, and a value such as 7 is rejected rather than rounded. Resolution also sets the per-second rate and how long the task takes to return.
Exclusions and controlled comparisons
negative_prompt holds up to 500 characters and is where captions, logos, extra people or a recurring colour belong. seed (0 to 2147483647) keeps the random source steady while you change one field at a time, without promising an identical frame. enable_prompt_expansion is off by default; switched on, it rewrites a short brief into a fuller one before generation.
Request parameters
| Parameter | Required | Description |
|---|---|---|
aspect_ratio | No | The shape of the frame: wide, square or tall. 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · Default: 16:9 |
audio_url | No | The voice or music track to use. |
duration_seconds | No | Length of the generated clip. 5 · 10 · Default: 5 |
enable_prompt_expansion | No | Lets the model add detail to a short prompt. Default: false |
negative_prompt | No | Things you don't want to see. |
prompt | Yes | Describe what you want to make. |
resolution | No | Choose an available output size. 480p · 720p · 1080p · Default: 720p |
seed | No | Use the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 2147483647 |
Pricing
Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
| Option | USD per second |
|---|---|
| resolution 480p | $0.045 |
| resolution 720p | $0.09 |
| resolution 1080p | $0.135 |
Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.
Use cases
Vertical clips with the soundtrack inside
Set aspect_ratio to 9:16 and keep five seconds for a feed draft that needs no separate audio pass. The published record-shop example goes further: ten seconds at 1080p in 9:16, a slow tilt from a crate of vinyl up to the man's face, and a negative prompt of "text on screen, logos, extra people" so no captions or passers-by appear.
Checking sound against a visible action
The saxophone example asks for ten seconds at 1080p in 16:9, with the horn's sound matching the fingering. Tying the audio to something you can see (keys, a splash, a turntable crackle) gives you a concrete check on playback instead of judging ambience alone.
A spoken line on your own timing
Record the line, pass it as audio_url, and describe who is speaking and where. Movement and mouth shapes follow the file's timing, so the review can focus on the performance. When the speaker has to be a specific face or product, text alone will not hold that likeness between runs; start from a still on the image-to-video endpoint.
Prompt guide & pro tips
Write the shot in a fixed order
Subject, one action, one camera move, light, then a line about sound. A clear verb changes the result more than a stack of adjectives. Keep exclusions out of the prompt and list them in negative_prompt, and leave enable_prompt_expansion off once your prompt is already a precise shot description, so the wording is used as written.
Start with one action
Start with aspect_ratio 16:9, duration_seconds 5 and resolution 720p. Describe your subject and location, then add one clear action.
Specify one camera position and describe the sound so effects match the visible action.
Iterate at five seconds and 720p
Fix seed and compare one change at a time: the verb, the camera move, the sound line. When the take works, rerender it at 10 seconds or at 1080p. If a 4:3 or 3:4 request is rejected, check the resolution first, because those shapes are not available at 480p.
Review the whole clip with sound on
Play the clip from start to finish with audio: does the action read at normal speed, do effects land on their visible source, and do hands and hair hold together? Longer clips drift more in hands, hair and fine detail, so compare a 10-second take against the 5-second version before delivery.
API quick start
Call the Wan 2.5 API in three steps
- Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
- Send the request. POST /jobs/createTask with model alibaba/wan-2.5/text-to-video and an input object that follows the parameter table. The response returns a task ID straight away.
- Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{
"model": "alibaba/wan-2.5/text-to-video",
"input": {
"prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
"aspect_ratio": "16:9",
"resolution": "720p",
"duration_seconds": 5
}
}'
# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $POPNOW_API_KEY"Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.
What to build with the Wan 2.5 API
- Talking portraits: TTS output as audio_url plus a user photo as image_url.
- Music-synced social clips that move on the beat of an uploaded track.
- Product beats from a packshot at 1080p.
Wan 2.5 parameter notes
- audio_url is accepted on text to video, image to video and extend.
- duration_seconds is 5 or 10.
- negative_prompt and enable_prompt_expansion are available on all endpoints.
- At 480p only 16:9, 9:16 and 1:1 render.
How Wan 2.5 API pricing adds up
One per-second table across all endpoints and three resolutions; 1080p costs three times 480p.
- resolution 480p, 5-second clip: $0.225 each, $22.50 for 100 clips
- resolution 1080p, 5-second clip: $0.675 each, $67.50 for 100 clips
Async jobs, webhooks and rate limits
Every Wan 2.5 request is asynchronous: createTask returns a taskId straight away, and the result arrives when the job finishes. Poll GET /jobs/recordInfo every few seconds, or pass a public https callBackUrl and verify the X-Webhook-Signature header (HMAC-SHA256 over taskId, timestamp and the body hash) before trusting the payload. Each account gets 1,000 write requests per 10 seconds; a 429 carries Retry-After. Send an Idempotency-Key with createTask so a retried request for alibaba/wan-2.5/text-to-video never runs or bills twice.
Common Wan 2.5 API errors
| errorCode | What it usually means and how to fix it |
|---|---|
invalid_request | A duration other than 5 or 10, or 4:3 and 3:4 requested at 480p. |
invalid_asset | An audio file that cannot be decoded or is longer than the clip. |
content_rejected | The prompt or image was refused. |
Wan 2.5 price on other platforms
| Options | fal | Replicate | |
|---|---|---|---|
| 480pGuaranteed | −10% vs fal$0.0450/ s | $0.0500/ s | $0.0500/ s |
| 720pGuaranteed | −10% vs fal$0.0900/ s | $0.1000/ s | $0.1000/ s |
| 1080pGuaranteed | −10% vs fal$0.1350/ s | $0.1500/ s | $0.1500/ s |
Each platform's public API list price for the same model and settings, checked Nov 13, 2026.
Wan 2.5 API questions
How much does the Wan 2.5 API cost?
Wan 2.5 starts at $0.225 for a 5-second clip with Create Video, its lowest-priced task. Prices by option: 480p $0.045 per second, 720p $0.09 per second, 1080p $0.135 per second. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
What is the model name for Wan 2.5 in the API?
Put alibaba/wan-2.5/text-to-video for Create Video; alibaba/wan-2.5/image-to-video for Image to Video; alibaba/wan-2.5/video-extend for Extend Video in the model field of POST /jobs/createTask.
How does audio_url work in the Wan 2.5 API?
The clip paces its motion to the file: mouths follow speech and movement follows music.
Does Wan 2.5 also generate its own audio?
Yes, when you do not send audio_url it generates sound with the picture.
Which aspect ratios work at 480p?
16:9, 9:16 and 1:1.
What are the limits of the Wan 2.5 API?
Clip length: 5–10 s; Resolutions: 480p · 720p · 1080p; Aspect ratios: 16:9 · 9:16 · 1:1 · 4:3 · 3:4; Prompt length (characters): 1,500. Requests outside these limits are rejected before anything is charged.
Can I try Wan 2.5 without writing code?
Run Wan 2.5 in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.
All Wan models
Wan 2.6 adds multi-shot clips and reference scenes; Wan 3.0 runs up to 30 seconds.
- Wan 3.0 APIUp to 30-second clips with synced audioFrom $0.215 for a 5-second clip
- Wan 3.0 Prime APIQuicker Wan 3.0 renders, up to 30 seconds with audioFrom $0.29 for a 5-second clip
- Wan 3.0 Pro Prime APIQuicker Wan 3.0 Pro with 2K and 4K outputFrom $1.17 for a 5-second clip
- Wan 3.0 Pro APIWan 3.0 at 1080p, 2K or 4K, up to 30 secondsFrom $0.72 for a 5-second clip
- Wan 2.7 Pro APILarge 4K canvases and nine-image compositesFrom $0.075 per image
- Wan 2.7 APIThinks through the composition, then draws up to four imagesFrom $0.03 per image
- Wan 2.6 Flash APIQuick multi-shot clips from a single imageFrom $0.1125 for a 5-second clip
- Wan 2.6 APIMulti-shot sequences with sound at up to 1080pFrom $0.325 for a 5-second clip
- Wan 2.5 API1080p clips with sound that can follow your own audioFrom $0.225 for a 5-second clip
- Wan 2.2 Animate APIDrive a character photo with a reference videoFrom $0.053 per second
- Wan 2.2 LoRA APIWan 2.2 video with your LoRAs on either expert passFrom $0.12 for a 5-second clip
- Wan 2.2 APISimple five-second clips at 480p or 720pFrom $0.24 per run
- Wan 2.2 5B LoRA APILight 720p Wan 2.2 clips that load your own LoRAsFrom $0.12 per run
- Wan 2.2 Image LoRA APIWan 2.2 stills with up to nine LoRAs across three slotsFrom $0.03 per image
- Wan 2.1 LoRA APIWan 2.1 video and edits with your own LoRAs, camera moves includedFrom $0.24 per run
- Wan 2.1 Image LoRA APIPhotoreal Wan 2.1 stills and restyles with your LoRAsFrom $0.03 per image