by Alibaba

Wan 3.0 reference to video API: up to 10 images, 5 videos and 5 audio files per call to keep characters and voices consistent. 2 to 30 s, up to 1080p.

alibaba/wan-3.0/reference-to-video
Wan 3.0 AI Video Generator online
  • Up to 1080p
  • 2–30s clips
  • Sound included
  • Up to 10 reference images
  • 5 aspect ratios
  • Create Video
  • Image to Video
  • Reference to Video
  • Extend Video
  • Edit Video

About Wan 3.0

Wan 3.0 reference to video builds a new shot from up to 10 images, 5 videos and 5 audio files, with no opening frame required.

Call it with the model name alibaba/wan-3.0/reference-to-video on POST /jobs/createTask, from $0.215.

Introduction

Wan 3.0 Reference to video builds a new 2 to 30 second shot from supplied references: up to ten images, five video clips and five audio clips in one request. At least one of reference_image_urls, reference_video_urls, reference_audio_urls, reference_file_url or reference_link_url must be present, and the prompt is optional. Use it when a face, a garment, a location or a voice has to stay the same across separately rendered shots — something text-to-video cannot do, because it invents a new face on every run. Output is 480p, 720p or 1080p, default 720p.

Choose a Wan 3.0 mode by starting material

What you have at the startMode
a written scene or scriptWan 3.0 Text to video
an approved opening imageWan 3.0 Image to video
separate visual, motion, or sound referencesWan 3.0 Reference to video

Key features

Images for identity, wardrobe and sets

reference_image_urls takes 1 to 10 images — character plates, garment plates, set plates — as JPEG, PNG without transparency, BMP or WEBP, 240 to 8000 pixels per side and up to 20 MB each. Name each one in the prompt, or the model averages them into a subject that resembles none of them.

Video for movement, audio for voice

Reference videos carry movement and camera style rather than a face: up to five MP4 or MOV clips, each 1 to 15 seconds and 15 seconds in total, at least 16 fps. Reference audio carries a voice, a line reading or room tone: up to five WAV or MP3 clips, also 15 seconds in total. These limits are checked during generation rather than when the task is accepted, so measure your clips before you submit.

A 30-second budget shared with the output

A 12-second motion reference therefore leaves room for an output of at most 18 seconds. Reference images and reference audio do not count toward that budget.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · adaptive · Default: 16:9
duration_secondsNoLength of the generated clip. -1–30 · Default: 5
enable_prompt_expansionNoLets the model add detail to a short prompt.
enable_thinkingNoThe model plans more carefully first. Slower, but better with complex references. Default: false
generate_audioNoAdds sound made to match the picture: voices, ambience and effects. Default: true
promptNoDescribe what you want to make.
reference_audio_urlsNoAudio to match: a voice, music or a rhythm.
reference_file_urlNoA reference document the model can read for characters, clothing, settings or action.
reference_image_urlsNoPictures of the people, outfits or places the result should keep.
reference_link_urlNoA public reference page that opens without signing in.
reference_video_urlsNoClips whose motion, camera or style the result should follow.
resolutionNoChoose an available output size. 480p · 720p · 1080p · Default: 720p
seedNoUse 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.

OptionUSD per second
resolution 480p$0.043
resolution 720p$0.085
resolution 1080p$0.17

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

Re-rendering the same performer in a known room

The example uses image 1 for the performer and image 2 for the room. She then crosses to the window under a slow lateral track, 8 seconds at 720p with seed 771120. Keeping both plates and the seed fixed while changing only the action line is the request shape for episodic work.

A speaker with a matched voice

The monologue example pairs one image plate for the speaker's face and wardrobe with one audio reference for her voice. The prompt keeps those roles apart, then describes a locked medium shot at a kitchen table in morning light, 10 seconds at 720p. Presenters, narrators and recurring characters who must sound the same across takes follow this pattern.

Prompt guide & pro tips

Map every reference before describing the shot

Open the prompt with one sentence per reference — which image is the character, which is the set, what the video or audio is for — then write the scene: subject, one action, one camera move, light and sound. Supply images in the order you refer to them, because "Image 1" and "Image 2" are how the prompt points at them.

Change one thing per rerun

Hold seed and the reference set steady and change one line — the action, the camera move or a single reference — per attempt, so any difference in the result can be traced to that change. Explore at 5 seconds and 720p before committing to a longer or larger render, and check face, wardrobe, setting and voice against their references in every take.

API quick start

Call the Wan 3.0 API in three steps

  1. 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.
  2. Send the request. POST /jobs/createTask with model alibaba/wan-3.0/reference-to-video and an input object that follows the parameter table. The response returns a task ID straight away.
  3. 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-3.0/reference-to-video",
  "input": {
    "prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
    "reference_image_urls": [
      "https://media.popnow.ai/influencer/examples/ava.webp"
    ],
    "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.

About the Wan 3.0 Reference to Video endpoint

It also accepts reference_file_url and reference_link_url, so you can point at material you host elsewhere instead of uploading it again.

Use it for episodic content: keep one reference set per character and send it with every request.

Wan 3.0 API questions

How much does the Wan 3.0 API cost?

Wan 3.0 starts at $0.215 for a 5-second clip with Reference to Video, its lowest-priced task. Prices by option: 480p $0.043 per second, 720p $0.085 per second, 1080p $0.17 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 3.0 · Reference to Video API?

Clip length: 2–30 s; Resolutions: 480p · 720p · 1080p; Aspect ratios: 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · adaptive; Reference audio: 5; Reference images: 10. Requests outside these limits are rejected before anything is charged.

More about Wan 3.0