About Wan 2.5
Wan 2.5 was the first Alibaba Wan model to make sound and picture in one pass. Text to video, image to video and clip extension return 5 or 10 second clips at 480p, 720p or 1080p, and you can hand it a recorded voice line or music cue for the clip to follow.
Call it with the model name alibaba/wan-2.5/video-extend on POST /jobs/createTask, from $0.225.
Introduction
Wan 2.5 Video Extend continues a clip you already have. Send it as video_url and, if you like, a prompt for what happens next. The final frame of your clip becomes the opening frame of a new Wan 2.5 image-to-video shot of 5 or 10 seconds, and the two are joined into one MP4: your original first, then the continuation, with the repeated seam frame removed. The new segment also comes back as its own file, so you can keep extending or edit the pieces separately.
Key features
Continuity comes from the last frame. Wardrobe, set, light and where everyone stands carry over because the new segment literally starts on your final frame. Motion does not carry over the same way: the model sees one still, not the whole clip, so describe the movement you want to continue instead of assuming it will keep its speed or direction.
One file back, plus the new piece on its own. The joined MP4 keeps your clip’s frame rate and its framing, with no black bars. To line the seam up, the picture may be trimmed or adjusted by a few percent at the edges. If the model returns a noticeably different shape, the new segment is scaled to fill your frame and centered, cropping what spills over. It is encoded as H.264 MP4 with AAC sound. Sound from your source stays; sound for the new segment follows it; a silent side is padded with silence so picture and sound stay in step at the seam. The second asset in the output is the new segment alone, ready for another extend or for an editor.
Bring your own sound for the new part. Pass audio_url and the new segment is built against that track, so a spoken line or a beat lands where you expect. It shapes only the new segment: your original keeps the sound it had, and the two are joined as they are.
Everything else is Wan 2.5 image-to-video.
Request parameters
| Parameter | Required | Description |
|---|---|---|
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 | No | 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 |
video_url | Yes | The clip to work on. |
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
Lengthen a shot that ended too early: a product turntable that stops before the label faces camera, or a walk that cuts before the subject reaches the door. Extend it by a few seconds and describe only the remaining motion.
Build a longer sequence step by step. Because every step starts from a single frame, watch each seam before stacking the next one.
Prompt guide & pro tips
Describe the next beat, not the whole scene. The frame already fixes who and where, so spend the prompt on the action that follows, the camera move and the sound. Repeat the camera language your clip ended on, such as a slow push in or a locked shot, so the seam reads as one take. The prompt is optional, but one clear action line gives steadier motion than none.
Trim before you extend. The last frame is the only picture the model sees, so a blurred, mid-cut or heavily compressed ending carries straight into the continuation. Cut your source on a clean, sharp frame first. Sources of up to 60 seconds are accepted as MP4, MOV or WebM.
Match the resolution to your source. resolution only sets how sharp the new segment is generated.
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/video-extend 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/video-extend",
"input": {
"video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
"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.
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 Extend 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 are the limits of the Wan 2.5 · Extend Video API?
Clip length: 5–10 s; Resolutions: 480p · 720p · 1080p; Prompt length (characters): 1,500; Longest input clip: 60 s. Requests outside these limits are rejected before anything is charged.
More about Wan 2.5
- Endpoints
- All Wan 2.5 endpoints and pricing