Alibaba
Wan 3.0 Video
wan3.0-video
Alibaba's new-generation video generation model in the Wan series, capable of producing roughly 30-second 1080p clips in a single pass, supporting reference materials to maintain subject consistency, and the first to support structured document-type inputs
Try wan3.0-video
Input
Showcases
View all showcasesOutput
videoPricing
wan3.0-video per second
| Specifications | Unit Price |
|---|---|
| 480P | $0.040 |
| 720P | $0.080 |
| 1080P | $0.160 |
Overview
wan3.0-video is a model in the Alibaba Wan series for reference-to-video generation, accessible through the unified HiAPI.ai interface. Conditioned on multimodal reference materials, it can output a single video with audio up to 30 seconds long and up to 1080P, making it suitable for creating advertising shorts, explainer videos, and long narrative segments that require characters, products, or styles to stay consistent across a sequence of shots.
Key Features
- Combined multimodal reference conditions — Up to 10 images, 5 videos, and 5 audio clips can serve as generation conditions simultaneously, and the prompt references materials by their array order.
- Single-pass narrative up to 30 seconds — Output duration can be set between 2 and 30 seconds; the combined duration of reference videos and output must not exceed 30 seconds.
- Structured document and web page input — Supports up to one document or one login-free web page as a reference, turning materials such as PPTs and PDFs into video content.
- Controllable first/last frames and audio track toggle — You can specify first-frame and last-frame images separately and choose whether the output includes an audio track synchronized with the visuals.
Capabilities
Multimodal reference generation: Generates video conditioned on images, videos, audio, documents, or web pages, with the prompt pointing to specific materials precisely via indices such as Image1 and Video1, making it easy to control the source of subjects and styles.
First/last frame constraints: Passing first_frame_url and last_frame_url anchors the starting and ending frames of a clip, which is suitable for connecting existing shots or controlling where a transition lands.
Adjustable duration and resolution: Output duration ranges from 2 to 30 seconds, and resolution is selectable from 480P to 1080P; aspect ratios include adaptive and 16:9 among six options, making it easy to match the frame format to the distribution channel.
Synchronized audio track output: By default, the output video includes a synchronized audio track, but the audio track can be disabled for unified post-production dubbing; audio references must be used paired with images or videos.
Reproducible generation: Specifying a seed fixes the random seed, making it easy to reproduce the same result when tuning parameters or generating in batches.
Use Cases
- Product-image-to-ad for brand and e-commerce teams — Generate cinematic short videos with product images and reference videos as input, producing videos that can be used directly as ad creative or on product detail pages.
- Character-consistent narrative for content teams — Upload character reference images and audio to generate a sequence of shots that keeps the character's appearance consistent, for short dramas or serialized content production.
- Training and explainer document-to-video — Use PPTs, PDFs, or login-free web pages as references to produce explainer videos for internal training or product introductions.
- Shot extension and completion for existing footage — Use a reference video plus first and last frames to generate connecting clips, filling narrative gaps or extending the duration of already-shot footage.
Limitations and Model Selection Advice
Reference materials have clear limits: at most 10 images, at most 5 videos totaling no more than 15 seconds, at most 5 audio clips of 1 to 15 seconds each, and at most one document and one web page; first-frame mode cannot be used together with the reference materials array. The quality of the prompt's descriptions of subjects, actions, camera, and sound directly affects result stability, so debugging time should be budgeted. Billing is by output seconds, so the cost of combining long durations with high resolution should be evaluated in advance. If only short clips are needed and reference consistency is not required, a lighter video model can be used.
What's new
View changelog →- New model wan3.0-video-prime video generation model now available
Frequently asked questions
View all FAQs →-
What type of video model is Wan 3.0 Video?
It is prompt-led and can also use endpoint frames or image, video, and audio references according to the active contract.
-
Which output settings does Wan 3.0 Video support?
2-30 seconds, 480P, 720P, 1080P, and adaptive, 16:9, 4:3, 1:1, 3:4, 9:16.
-
Can it generate sound or use audio references?
Optional image, video, audio, file and link references; synchronized audio
-
How is Wan 3.0 Video billed?
Billing is based on the requested output video duration plus the measured total duration of reference videos, at the rate for the selected output resolution. Without reference videos, only the output duration is billed. For example, at 480P, 15.42 seconds of reference video plus 15 seconds of output costs 30.42 × $0.04 = $1.2168.
Create a generation task
https://api.hiapi.ai/v1/tasks Headers
AuthorizationstringRequiredAccount API key. Required on every request. Example: Bearer YOUR_HIAPI_API_KEY. Get your API key
Content-TypestringOptionalThe request body is always parsed as JSON; when sent, only application/json (optionally with charset) is accepted — any other value returns 415. Example: application/json.
Idempotency-KeystringOptionalIdempotency key, up to 255 bytes. Retries with the same key from the same account create the task only once; replays return the original taskId.
On network timeouts or client retries, the same key creates the task only once — no double charges (scope: the API key's account). Use a business-unique identifier as the key (e.g. "order-42"); replays return the original taskId, and keys expire 24 hours after the first request. See the Unified Async API overview for the full scenario matrix.
Body
modelstringRequiredCurrent fixed value: wan3.0-video
routestringOptionalCurrent fixed value: default
inputobjectRequired
Business parameters for wan3.0-video and route default — see the parameter table below.
seedintegerOptionalmin 0max 2147483647Random seed used to reproduce an existing generation result; pass a fixed integer when deterministic output is needed.
audiobooleanOptionalDefault: trueWhether to generate an audio track synchronized with the picture in the output video; boolean, defaults to true.
promptstringRequiredminLength 1maxLength 20000Text prompt describing the scene, motion, camera, lighting, and sound; in reference mode, refer to the corresponding assets as Image1, Video1, Audio1 in array order.
durationintegerOptionalDefault: 5min 2max 30Output video duration in seconds, defaults to 5; the sum of the reference video duration and the output duration must not exceed 30 seconds.
resolutionstringOptionalDefault: "1080P"Output resolution, string, defaults to 1080P.
480P720P1080Paspect_ratiostringOptionalDefault: "adaptive"Aspect ratio of the output picture, string, defaults to adaptive, i.e., adapts to the input media and prompt.
adaptive16:94:31:13:49:16last_frame_urlstringOptionalA publicly accessible image that, together with first_frame_url, specifies the last frame of the video.
first_frame_urlstringOptionalA publicly accessible image used as the first frame of the video; cannot be used together with the reference media arrays.
reference_file_urlsarrayOptionalmaxItems 1Array of URLs of reference documents or presentations, up to 1, and must be publicly accessible.
Array [ string ]
reference_link_urlsarrayOptionalmaxItems 1Array of URLs of reference web pages, up to 1, and the web page must be publicly accessible without login.
Array [ string ]
reference_audio_urlsarrayOptionalmaxItems 5Array of URLs of reference audio, up to 5 WAV or MP3 clips, each 1 to 15 seconds long; the audio must be used together with images or videos.
Array [ string ]
reference_image_urlsarrayOptionalmaxItems 10Array of URLs of reference images, up to 10, used for general reference generation.
Array [ string ]
reference_video_urlsarrayOptionalmaxItems 5Array of URLs of reference videos, up to 5 clips, each 1 to 15 seconds long, with a total duration not exceeding 15 seconds. Billed seconds include the measured total duration of the reference videos plus the requested output duration, calculated at the unit price of the selected output resolution.
Array [ string ]
callbackobjectOptional
Terminal-state notification config. When omitted, no callback is delivered — poll the task yourself. See the callback note below.
Provide callback.url when creating a task and HiAPI POSTs to your service once the task reaches a terminal state — no polling needed. The callback payload mirrors the task detail structure; signature verification, delivery retries and idempotency are documented on the Unified Async API overview page.
urlstringRequiredRequired when callback is present. A POST is sent to this URL once the task reaches a terminal state; must be a valid http(s) URL.
whenstringOptionalDefault: "final"Only final is supported today — notified on both success and fail.
finalstoragestringOptionalDefault: "temp"Artifact storage tier: temp (default, retained about 7 days) or persistent (long-term, billed by size). Insufficient balance or exceeding the storage cap silently downgrades to temp; the effective tier is shown in the task detail response.
temppersistentRequest examples
# Submit an async task; returns a taskId immediately (no waiting for generation)
curl -X POST "https://api.hiapi.ai/v1/tasks" \
-H "Authorization: Bearer $HIAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan3.0-video",
"input": {
"audio": true,
"prompt": "…",
"duration": 5,
"resolution": "1080P",
"aspect_ratio": "adaptive"
}
}' const res = await fetch("https://api.hiapi.ai/v1/tasks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HIAPI_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "wan3.0-video",
input: {
"audio": true,
"prompt": "…",
"duration": 5,
"resolution": "1080P",
"aspect_ratio": "adaptive"
}
}),
});
const task = await res.json();
// { code: 200, message: "success", data: { taskId } } import os, requests
res = requests.post(
"https://api.hiapi.ai/v1/tasks",
headers={"Authorization": f"Bearer {os.environ['HIAPI_API_KEY']}"},
json={
"model": "wan3.0-video",
"input": {
"audio": True,
"prompt": "…",
"duration": 5,
"resolution": "1080P",
"aspect_ratio": "adaptive"
}
},
)
print(res.json()) # { code, message, data: { taskId } } 200 OK
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR"
}
} 400 Bad Request
{
"code": 400,
"message": "invalid request",
"data": null,
"error_code": "INVALID_REQUEST"
} Get task detail
https://api.hiapi.ai/v1/tasks/:id Response fields
taskIdstringRequiredTask ID, always prefixed with tk-hiapi-.
modelstringRequiredResolved full model name. Tasks submitted with the route parameter return base@route (e.g. gpt-image-2/text-to-image@ext); otherwise identical to the name passed at creation.
routestringOptionalPresent only when the task was submitted with an explicit route parameter; echoes the submitted value.
statusstringRequiredTask status.
queued Queued, not started yet.
handling Being processed.
archiving Processing finished, artifacts being prepared.
success Terminal: completed, artifacts available (output returned).
fail Terminal: failed (error returned).
After submission, check status: success and fail are terminal, everything else is non-terminal. Poll every 1–3 seconds until terminal. On success, download artifacts from output[].url and transfer them before expireAt; pass storage: "persistent" at creation time when long-term retention is needed.
creatednumberRequiredTask creation time (Unix seconds).
completednumberRequiredUnix seconds when the task reached a terminal state; fixed to 0 while not terminal.
outputarrayOptional
Present only when status == success. Artifact list — always an array; a single task may return multiple types at once (e.g. video + first_frame).
Array [ object ]
Array items
urlstringRequiredArtifact URL, directly downloadable.
typestringRequiredCurrent possible values: video, image, audio, first_frame, last_frame, thumbnail; more may be added later.
expireAtnumberRequiredUnix seconds until which the artifact remains accessible; download or transfer before it expires.
errorobjectOptional
Present only when status == fail.
codestringRequiredBusiness error code.
messagestringRequiredError description.
Response examples
Success
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR",
"model": "happyhorse-1-0",
"status": "success",
"created": 1777282033,
"completed": 1777282099,
"output": [
{
"url": "https://cdn.hiapi.ai/tasks/.../video.mp4",
"type": "video",
"expireAt": 1777886899
}
]
}
} Processing (non-terminal)
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "archiving",
"created": 1777282033,
"completed": 0
}
} Failed
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "fail",
"created": 1777282033,
"completed": 1777282099,
"error": {
"code": "TASK_FAILED",
"message": "task failed"
}
}
} Articles
View all articles →-
Comparison
Kling 3.0 Turbo vs Seedance 2.5 vs Wan 3.0: Which Video Model Should You Use?
Choose by input control, duration, synchronized audio, and current online pricing
8 minutes -
Comparison
Sora API Shut Down: 5 Alternatives Tested on the Same Prompt
One night-market prompt on five video models, with sound, real prices per clip, and how to move your Sora code.
7 -
Comparison
Wan 3.0 Prime vs Wan 3.0 Video: Which Route Should You Use?
Same-prompt clips, per-second pricing, monthly budgets and the one-field switch between the accelerated and standard Wan 3.0 routes.
6 -
Guide
wan3.0-video-prime Prompts: 3 Copy-Paste Recipes With Real Clips
8 -
Guide
Wan 3.0 API Pricing: $0.04 per Second at 480P
Per-second prices for the three Wan 3.0 tiers, 2–30 second budgets, how reference inputs are billed, and how standard Wan 3.0 compares with Prime and Wan 2.7.
3 -
Guide
Wan 3.0 Prompts: 8 Prompt Examples with Real Video Outputs
Street food, landscape, product ads, food, dialogue with lip movement, an FPV camera move and more. Each prompt comes with its real 480P clip, settings and $0.20 cost.
3 -
Tutorial
How to Use wan3.0-video via the hiapi API: curl, Python, and a Working Request
-
Guide
Free Text-to-Video API With No Key? What Exists and the Cheapest Real Option
Web tools, free-credit APIs, and pay-as-you-go APIs compared, plus how far HiAPI's 200 sign-up credits go for video.
6
Related Models
View all models →Same Type
-
MiniMax H3 Max Turbo MiniMax $0.027 /second -
Vidu Q4 Preview Vidu $0.051 /second -
HeyGen Avatar IV HeyGen $0.150 /second -
FLUX 3 Video Black Forest Labs $0.090 /second -
Wan 2.6 Flash Alibaba $0.029 /second -
HeyGen Avatar V HeyGen $0.150 /second -
Kling 3.0 Kuaishou $0.100 /second -
Seedance 2.5 ByteDance $0.121 /second -
Muse Video 1.0 Meta $0.034 /video -
Kling 2.5 Kuaishou $0.090 /second -
Vidu Q3 Vidu $0.149 /second -
Veo 3.1 Fast Google $0.170 /second
Same Provider
-
Qwen Image 3.0 Alibaba $0.036 /image -
Wan 2.7 Video Alibaba $0.100 /second -
Qwen Image 2.0 Alibaba $0.042 /image -
Wan 2.6 Flash Alibaba $0.029 /second -
Qwen Audio 3.0 TTS Alibaba $0.030 /1,000 characters -
Z-Image Alibaba $0.008 /image -
Qwen Image 2.1 Alibaba $0.020 /image -
Wan 2.7 Image Alibaba $0.035 /image -
HappyHorse 1.1 Alibaba $0.160 /second -
HappyHorse 1.0 Alibaba $0.168 /second