
Wan 3.0 Reference-to-Video API by Alibaba
All-in-One Reference: keep subjects consistent from any mix of reference images, videos, and audio; pixel-level identity/voice/space alignment.
Wan 3.0 Reference-to-Video dikembangkan oleh Alibaba. Atlas Cloud (dioperasikan oleh Atlas Cloud AI LLC) menyediakan akses ke model ini dan tidak memilikinya. Semua merek dagang adalah milik pemiliknya masing-masing.
Wan 3.0 Reference-to-Video
Wan 3.0 Reference-to-Video is the "all-in-one reference" mode: give it any mix of reference images, videos, and audio, and it keeps those subjects, props, voices, and spatial relationships consistent throughout a new clip driven by your prompt. This is pixel-level identity preservation — not "close enough," but faithful replication of the reference details.
Why Choose This?
-
Mix four modalities Combine reference images, reference videos, and reference audio in one request.
-
Pixel-level consistency Characters, props, voices, and spatial relationships stay aligned across the whole clip.
-
Multi-subject scenes Reference several subjects at once and direct them with your prompt.
-
Native long-form + audio Up to 30 seconds with a synchronized audio track.
-
Flexible aspect ratios adaptive, 16:9, 4:3, 1:1, 3:4, or 9:16.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the scene and action for the subjects (up to 5000 chars) |
| refers | Yes | Array of reference materials, each { "url": "...", "type": "image|video|audio" }. type is optional (inferred from the URL). |
| resolution | No | Output quality: 1080P (default), 720P, 480P |
| duration | No | Output length in seconds: 5 (default), 2–30. Pass -1 for smart-duration |
| ratio | No | Aspect ratio: adaptive (default), 16:9, 4:3, 1:1, 3:4, 9:16 |
| audio | No | Whether the output has an audio track: true (default) / false |
| enable_thinking | No | Deep thinking mode: false (default). Required for file/link parsing |
| file | No | Document to parse (requires enable_thinking): docx/doc/xlsx/xls/ppt/pdf/txt/key/pages/numbers/md , ≤100MB, ≤50 pages. Mutually exclusive with link |
| link | No | Public webpage URL to parse (requires enable_thinking; no-login pages only). Mutually exclusive with file |
Reference limits
| Kind | Max count | Notes |
|---|---|---|
| Image | 10 | jpeg/jpg/png (no alpha)/bmp/webp, single edge 240–8000px, ratio ≤ 8:1, ≤ 20MB |
| Video | 5 | mp4/mov, total ≤ 15s, each 1–15s, single edge 240–4096px, ≤ 100MB |
| Audio | 5 | wav/mp3, total ≤ 15s, each 1–15s, ≤ 15MB |
refers example
"refers": [ { "url": "https://.../subject1.jpg", "type": "image" }, { "url": "https://.../subject2.png" }, { "url": "https://.../clip.mp4", "type": "video" }, { "url": "https://.../beat.mp3", "type": "audio" } ]
How to Use
- Add your references — any mix of images, videos, and/or audio.
- Write your prompt — describe the scene, action, and camera movement for the subjects.
- Set resolution, duration, and ratio.
- Run — submit and download your video.
Best Use Cases
- Character Consistency — Keep the same character across shots.
- Product Placement — Feature a specific product in generated scenes.
- Branded Content — Maintain a consistent mascot or spokesperson.
- Audio-driven Motion — Sync the action to a reference beat.
Pro Tips
- Give one clean image per subject when combining several subjects.
- Describe the new scene and action, not the reference materials themselves.
- Supply a reference audio track to drive the timing/beat of the motion.
Notes
promptand at least one reference are required.- Reference mode is mutually exclusive with first/last-frame mode — do not mix reference materials with
image/last_image; use Image-to-Video for strict frame control. fileandlinkrequireenable_thinking = trueand are mutually exclusive.- Negative prompts are not supported on Wan 3.0.
- Ensure all reference URLs are publicly accessible.
- Generation is asynchronous — submit, then poll for the finished video.
Related Models
- Wan 3.0 Text-to-Video — Generate video directly from a text prompt.
- Wan 3.0 Image-to-Video — Animate a first frame (optionally with a last frame).


















