Wan 3.0 Video
Alibaba Wanxiang 3.0 all-in-one reference video model. Text, first frame, first + last frame, multi-modal reference (images, video, audio) and document or web page references, 2-30 seconds at 480p/720p/1080p.
- Text to video
- Image to video
Playground
Input
Text description. Required unless at least one media input is supplied. In reference mode you can address assets positionally with "图N / 视频N / 音频N" labels; indices run per media type.
Image URLs without explicit roles. In the frame family the first item is the start frame and an optional second is the end frame; in the reference family every item is a reference image (up to 10).
Reference videos, up to 5 clips of 1-15s each (total <= 15s). Input video duration plus the requested output duration must stay within 30 seconds.
Reference audio, up to 5 clips of 1-15s each (total <= 15s).
Reference document driving the generation (docx/xlsx/pptx/pdf/txt/md and similar, <=100MB, <=50 pages). Cannot be combined with linkUrl. A prompt is optional when this is supplied.
Public, login-free web page to turn into a video. Cannot be combined with fileUrl.
Runs are charged to your balance.
Output
Output will appear here.
Pricing
Quick start
Full API reference →1curl -X POST https://api.api-stock.com/api/v1/generation/create \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "wan3.0-video",6 "input": {7 "size": "adaptive",8 "resolution": "720p",9 "duration": 5,10 "audio": true,11 "watermark": false12 }13 }'
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | No | — | Text description. Required unless at least one media input is supplied. In reference mode you can address assets positionally with "图N / 视频N / 音频N" labels; indices run per media type. |
imageUrls | string[] | No | — | Image URLs without explicit roles. In the frame family the first item is the start frame and an optional second is the end frame; in the reference family every item is a reference image (up to 10). |
imageWithRoles | string[] | No | — | Images with explicit roles. Use this when you need first/last frame or reference images stated outright rather than inferred from order. |
videoUrls | string[] | No | — | Reference videos, up to 5 clips of 1-15s each (total <= 15s). Input video duration plus the requested output duration must stay within 30 seconds. |
audioUrls | string[] | No | — | Reference audio, up to 5 clips of 1-15s each (total <= 15s). |
fileUrl | string | No | — | Reference document driving the generation (docx/xlsx/pptx/pdf/txt/md and similar, <=100MB, <=50 pages). Cannot be combined with linkUrl. A prompt is optional when this is supplied. |
linkUrl | string | No | — | Public, login-free web page to turn into a video. Cannot be combined with fileUrl. |
generationType | string | No | — | How bare imageUrls are classified: frame (first/last frame) or reference. Omit to let it be inferred — reference when the request already carries reference-family inputs, frame otherwise.One of: frame, reference |
size | string | No | adaptive | Aspect ratio. `adaptive` lets the model pick one from the inputs.One of: adaptive, 16:9, 4:3, 1:1, 3:4, 9:16 |
resolution | string | No | 720p | Output resolution. Each tier is billed at its own per-second rate, so 1080p costs four times 480p for the same duration.One of: 480p, 720p, 1080p |
duration | number | No | 5 | Duration in seconds (2-30). Billing is per second at the resolution's rate. With reference videos, total input video duration plus this value must be at most 30 seconds. |
audio | boolean | No | true | Include an audio track in the output. |
watermark | boolean | No | false | Add a watermark to the output |
seed | number | No | — | Random seed for controlling randomness |
Frequently asked questions
How much does Wan 3.0 Video cost?
Wan 3.0 Video starts at $0.048 per generation through the API Stock API. You pay per use from a single prepaid balance — there is no subscription — and the final price scales with parameters such as resolution or duration.
How do I call the Wan 3.0 Video API?
Send a POST request to https://api.api-stock.com/api/v1/generation/create with your API key and the model id "wan3.0-video". The call returns a task id you poll, or a webhook callback when the result is ready. A ready-to-run example is in the quick start above.
What input parameters does Wan 3.0 Video accept?
Wan 3.0 Video accepts 14 input parameters. Their types, defaults and allowed values are listed in the parameters table above.
What happens if a Wan 3.0 Video request fails?
API Stock automatically retries the request on a reserve provider. If every provider fails, the charge is refunded to your balance.
Can I use Wan 3.0 Video with the same API key as other models?
Yes. Every model on API Stock — video, image, music and chat — shares one API key and one prepaid balance, so you can switch to Wan 3.0 Video without new credentials.