About Wan 2.6
Wan 2.6 reference to video requires at least one reference: up to two images and up to three clips.
Call it with the model name alibaba/wan-2.6/reference-to-video on POST /jobs/createTask, from $0.325.
Introduction
Wan 2.6 Reference to video casts people, animals or objects from one to three short clips into a new scene you describe. The clips supply who or what appears; location, action, camera and light all come from the prompt. The result runs any whole number of seconds from 2 to 10, at 720p or 1080p, in one of five aspect ratios, as one continuous take or a multi-shot edit. The call is alibaba/wan-2.6/reference-to-video and it is asynchronous: create the task, then poll or take the callback.
Up to two still images can join the clips, or replace them, in the same request; together with the clips that is five references at most.
Choose a Wan 2.6 mode by starting material
| What you have at the start | Mode |
|---|---|
| a written scene or script | Wan 2.6 Text to video |
| an approved opening image | Wan 2.6 Image to video |
| separate visual, motion, or sound references | Wan 2.6 Reference to video |
Key features
Subjects travel, the setting is written
The reference clips decide who or what appears, and the prompt decides where they are, what they do and how the camera and light treat them. That is the difference from image-to-video, where the opening frame also fixes the set, the light and the proportions. Here, a presenter filmed once can be placed on a rooftop at dusk, in a different shape, without a second shoot.
Up to three clips in one scene
Send one clip when a single subject has to stay recognisable, or up to three when a scene needs several at once. Refer to the clips in the prompt by the order you sent them and say what each contributes, so the model knows which one is the presenter and which one is the dog. Busy clips with several people make it harder to know who should be cast.
Shape and size are parameters, not inherited
aspect_ratio is chosen per request: 16:9, 9:16, 1:1, 4:3 or 3:4, all available at both resolutions. 720p returns 1280×720, 720×1280, 960×960, 1088×832 or 832×1088; 1080p returns 1920×1080, 1080×1920, 1440×1440, 1632×1248 or 1248×1632. Nothing is taken from the reference footage, so a vertical delivery does not require vertical source clips, and one set of references can be delivered in several shapes.
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 |
duration_seconds | No | Length of the generated clip. ≥ 2 · ≤ 10 · Default: 5 |
negative_prompt | No | Things you don't want to see. |
prompt | Yes | Describe what you want to make. |
reference_image_urls | No | Pictures of the people, outfits or places the result should keep. |
reference_video_urls | No | Clips whose motion, camera or style the result should follow. |
resolution | No | Choose an available output size. 720p · 1080p · Default: 720p |
seed | No | Use the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 2147483647 |
shot_type | No | One continuous shot, or let the model cut it into several shots. single · multi · Default: single |
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 720p | $0.065 |
| resolution 1080p | $0.0975 |
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
Move a presenter into a new location
One clip of the person, then a prompt for the room, the light and the camera move. The presenter's look comes from the reference while the set is written, so a single shoot can supply footage for locations that were never available on the day.
Put a product into seasonal staging
Send the packshot turn you already have and describe a new surface, a new season, a new light. The object keeps its shape and finish while the scene around it is rebuilt, so one product clip can serve several campaign settings without restaging the shot.
Bring two subjects together
A clip of a presenter and a clip of the animal or object that has to share the frame, then a prompt saying what each of them does. It resolves scenes that would otherwise need both subjects on set on the same day.
Reuse footage you cannot reshoot
An archive clip of a presenter who is no longer available, or a product sample that has gone back to the client, still carries the subject. Send it as the reference and write the new setting: the old footage supplies the subject, the prompt supplies the scene.
Prompt guide & pro tips
Pick clips the model can read
Short footage where the subject is large in frame, well lit and seen from more than one angle transfers best. A subject that stays small or backlit tends to come back only approximately. Trim before you upload rather than after: the seconds you send are billable, and the few seconds where the subject is clearest usually transfer better than a long take that wanders.
Write the scene, not the reference
Name what each clip contributes first, such as the woman from clip 1 and the dog from clip 2, then describe setting, action, camera and light the way you would for text-to-video, within 1,500 characters. Re-describing what the footage already shows spends that budget and sometimes competes with the clips. Use negative_prompt for what keeps turning up and should not: extra people, on-screen captions, or a prop from the reference clip that keeps following the subject into the new scene.
Budget the seconds before you submit
Billable seconds are the output duration plus the combined length of the reference clips, each rounded up to whole seconds, with the reference side counted up to five seconds in total.
Adapt the included example
Start from the published example using aspect_ratio: 16:9, duration_seconds: 5, resolution: 720p and one clip in reference_video_urls. Replace the subject and the staging while keeping that input contract intact.
Keep character1, the amber glass bottle, exactly - its shape, colour and the marble block it stands on. Move it to a sunlit kitchen windowsill in the morning, lemons and a linen cloth beside it. The camera circles it slowly the way the reference clip does. Soft birdsong outside.
One product clip as the reference, re-staged in a new room while the camera repeats its slow circle.
Check the likeness before iterating
Play the whole clip rather than the first second: likeness tends to drift towards the end of the longer durations, so check the last second before committing to that length. On 2 to 3 seconds there is rarely room for a cut, so multi mostly pays off from about 6 seconds upward. Hold the seed and swap one reference clip at a time while comparing; it keeps the random draw constant so the thing you changed is the only thing moving, without promising a frame-identical rerun.
API quick start
Call the Wan 2.6 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.6/reference-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.6/reference-to-video",
"input": {
"prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
"reference_video_urls": [
"https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4"
],
"aspect_ratio": "16:9",
"resolution": "720p",
"duration_seconds": 5,
"shot_type": "single"
}
}'
# 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.
About the Wan 2.6 Reference to Video endpoint
Name the fixed element first ("keep character1 exactly") and then describe the new environment.
It is billed at a lower per-second rate than image to video.
Wan 2.6 API questions
How much does the Wan 2.6 API cost?
Wan 2.6 starts at $0.325 for a 5-second clip with Reference to Video, its lowest-priced task. Prices by option: 720p $0.065 per second, 1080p $0.0975 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.6 · Reference to Video API?
Clip length: 2–10 s; Resolutions: 720p · 1080p; Aspect ratios: 16:9 · 9:16 · 1:1 · 4:3 · 3:4; Reference images: 2; Reference videos: 3. Requests outside these limits are rejected before anything is charged.
More about Wan 2.6
- Endpoints
- All Wan 2.6 endpoints and pricing