Back to models
Wan 3.0 Prime Reference-to-Video · key art

Wan 3.0 Prime Reference-to-Video API

Operational
Provider AlibabaVideoUpdated

Wan 3.0 Prime Reference-to-Video combines reference images, videos and audio with a prompt into a 2–30-second video at 480P, 720P, 1080P, billed per second.

Pricing

720P output

$0.1197/ s

Since Nov 5, 2026, billable seconds include the output duration plus the actual duration of all reference videos. Reference images and audio do not add billable seconds.

Input

127 / 20000
Duration5 s
2 s1-second steps30 s

Choose 2–30 seconds in 1-second steps.

Resolution
Aspect ratio

More parameters

Media

Upload a file or paste a direct link

A link must open the file itself (ending in .mp4, .mov, .jpg, .mp3…), not a YouTube, cloud-drive or other web page.

Reference imagesUp to 10

Subjects or scenes; the prompt refers to them as Image 1, Image 2…

Upload fileJPEG, PNG or WebP
Reference videosUp to 5

mp4 or mov file (upload, or a direct file link); 1–15 s each and 15 s in total; reference video length is billed. The prompt refers to them as Video 1…

Upload fileMP4 or MOV, up to 90 MB
Reference audioUp to 5

wav or mp3 file (upload, or a direct file link); length limits depend on the model. The prompt refers to them as Audio 1…

Upload fileWAV or MP3, up to 15 MB
Estimated cost$0.5985$0.1197/s × 5 s × 720P

Output

Run to see the result here

Result links are signed and kept for 24 hours — download anything you want to keep. Failed tasks are refunded in full.

Related video models

Choose by input, output specs, control and budget.

About Wan 3.0 Prime Reference-to-Video

Wan 3.0 Prime Reference-to-Video generates 2–30-second videos at 480P, 720P, 1080P in adaptive, 16:9, 9:16, 1:1, from Alibaba's Tongyi Wanxiang 3.0.

Up to 10 images, 5 videos and 5 audio clips, referred to in the prompt as Image 1, Video 1, Audio 1; reference video length is billed. For an exact first or last frame use Wan 3.0 Prime Image-to-Video. wan3.0-prime-reference-video

Prime is the high-speed edition: the same parameters, defaults and limits as Standard, at its own price.

Provider
Alibaba
Task
Reference to video
Input
Prompt + images, videos, audio
Starting price
$0.0599/s · 480P

Wan 3.0 Prime Reference-to-Video specs

The specs below follow the current request contract of wan3.0-prime-reference-video.

Input
Prompt + images, videos, audio
Video duration
2–30s
Output resolution
480P720P1080P
Aspect ratios
adaptive16:99:161:1
References
10 images · 5 videos · 5 audio
API protocol
POST /v1/videosAsync

480P: $0.0599/s720P: $0.1197/s1080P: $0.2394/sBilled per second at the chosen resolution: output seconds plus reference video seconds.

How to use Wan 3.0 Prime Reference-to-Video

Check the shot at 480P first, then switch to 1080P.

Subject and scene
Action order
Camera path
01

Set the subject, the action and the camera

Put the subject and scene first, then describe the action in order, the camera direction and its speed; say no cuts for one continuous shot.

Draft

5 s · 480P

Final

2–30 s · 1080P

02

Choose duration, resolution and ratio

Check subject motion and continuity at 5 s · 480P, then choose 2–30 s · 1080P.

Try online
POST /​v1/​videos
03

Verify, then call the API

Confirm motion and consistency here, then create an async task with the same model ID wan3.0-prime-reference-video.

Wan 3.0 Prime Reference-to-Video API quickstart

Copy a request, swap in your API key and asset URLs, and you are integrated. Full parameters, callbacks and result queries are in the docs.

Endpoint
POST /v1/videos
Model ID
wan3.0-prime-reference-video
cURL
TASK_ID=$(curl https://api.apiko.app/v1/videos \
  -H "Authorization: Bearer $APIKO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "wan3.0-prime-reference-video",
  "prompt": "Image 1 is the scene; follow the camera movement of Video 1 with a slow push-in. Cinematic light, one continuous shot, no cuts.",
  "duration": 5,
  "resolution": "720p",
  "aspect_ratio": "16:9",
  "reference_image_urls": [
    "https://apiko.app/imgs/model-cards/models-image.webp"
  ]
}' | python3 -c 'import json,sys; print(json.load(sys.stdin)["id"])')

while :; do
  TASK=$(curl -s https://api.apiko.app/v1/videos/$TASK_ID \
    -H "Authorization: Bearer $APIKO_API_KEY")
  printf '%s\n' "$TASK"
  printf '%s' "$TASK" | grep -qE '"status": *"(completed|failed)"|"error": *\{' && break
  sleep 5
done

The create request returns a task id right away; the video is generated in the background — poll GET /v1/videos/{id} for the result.

Read the full API docs

Comparing models and price tiers?

See live prices for every model

Wan 3.0 Prime Reference-to-Video FAQ

Does Wan 3.0 Prime Reference-to-Video need an image?

No. References are optional: up to 10 images, 5 videos and 5 audio clips as public HTTPS URLs.

Which output specs does Wan 3.0 Prime Reference-to-Video support?

2–30 seconds (default 5), 480P, 720P, 1080P (default 720P), aspect ratios adaptive, 16:9, 9:16, 1:1.

Are reference videos billed?

Yes. Billed seconds are the output duration plus the length of every reference video; reference images and audio are not billed.

What is the difference between Standard and Prime?

They take the same parameters, defaults and limits; Prime is the high-speed edition and has its own per-second price.

How is Wan 3.0 Prime Reference-to-Video billed?

By output duration at the published per-second rate and selected tier. See the failed-request question below for the refund rule.

Is it OpenAI-compatible?

Yes. Use the gateway base URL and your API key with the model-specific image/video endpoint and the additional fields shown above.

How do I get an API key?

Sign up, then create an API key in your console. One API key can call every model on the gateway.

Is there a free trial for the Wan 3.0 Prime Reference-to-Video API?

Yes. Sign in with Google using a Gmail address and $0.20 of trial credit is added to your balance, no card needed, once per person. It works on wan3.0-prime-reference-video and every other model.

How do I receive the generated file?

Images are asynchronous: submit the request, poll GET /v1/tasks/<id>, then read data[0].url. Videos are asynchronous: poll GET /v1/videos/<id>, then download video_url. APIKO-signed links are kept for 24 hours.

What if a request fails?

You are not billed for failed or errored calls. Retry, and if it keeps failing, contact us via the live chat at the bottom right of the page.