Wan video model
This page covers the parameters, allowed values and pricing of model ID wan3.0-video (Wan 3.0). Submit, status and download endpoints are described in Video generation API; both protocols (/v1/videos and /v1/video/generations) are supported with the same fields.
| Model ID | Output seconds | If omitted | Resolution resolution |
Max reference images / videos / audio |
|---|---|---|---|---|
wan3.0-video |
2–30, or -1 auto |
5 s | 480p / 720p / 1080p (default) |
10 / 5 / 5 |
The default resolution is 1080p. If your API Key is configured for the wan3 破甲 model type, use the same model ID wan3.0-video and the same submit, status and download endpoints.
Request parameters
One complete parameter table per model ID. Pick a model in Model ID at the top to see only its parameters, prices and examples.
- All media must be publicly reachable
http(s)URLs; base64 is not accepted. - First/last frames cannot be combined with
images/videos/audios. - For a single reference image you may also write
imageorinput_reference(a string). - With
-1auto duration, we reserve for the maximum output duration and account for reference video at settlement.
wan3.0-video
| Parameter | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
model |
string | Yes | — | wan3.0-video |
Model ID |
prompt |
string | Conditional | — | 0–20000 characters | Up to 20000 characters. Required when there is no first frame and no reference image, video or audio |
seconds / duration |
integer | No | 5 s | 2–30, or -1 |
Output seconds. -1 lets the model choose: 30 s is held at submission and we settle on actual billable usage. seconds may also be a string such as "8" |
resolution |
string | No | 1080p |
480p / 720p / 1080p |
Output resolution; sets the unit price |
aspect_ratio |
string | No | adaptive |
adaptive / 16:9 / 4:3 / 1:1 / 3:4 / 9:16 / 21:9 |
Aspect ratio; does not affect price |
images |
string[] | No | — | 0–10 URLs | Reference images |
videos |
string[] | No | — | 0–5 URLs | Reference videos, 15 s in total at most. With a reference video, input + output seconds are billed |
audios |
string[] | No | — | 0–5 URLs | Reference audio, 15 s in total at most |
first_image |
string | No | — | URL | First-frame image. Cannot be combined with images / videos / audios |
last_image |
string | No | — | URL | Last-frame image; requires first_image |
generate_audio |
boolean | No | true |
true / false |
Generate sound; sound: "on" / "off" also works. Does not affect price |
watermark |
boolean | No | false |
true / false |
Add a watermark |
Pricing
Billed per second. The unit price depends on resolution and is the same with or without a reference video.
- Without reference video: cost = output seconds × unit price.
- With reference video: cost = (total reference video seconds + output seconds) × unit price. A fixed-duration request reserves up to 15 extra seconds for input.
- For the
wan3 破甲model type, input plus output is limited to 30 seconds. Fixed-duration requests with reference video reservemin(requested output seconds + 15, 30). Auto-duration requests reserve up to 30 seconds. We round the sum of the reported input and output lengths up once. The task result still reports output seconds inseconds. Billed usage includes the reference video. - Reference images, reference audio, first/last frames and sound generation cost nothing extra.
Current prices (USD per second; the console model page is authoritative):
| Resolution | Unit price |
|---|---|
| 480p | $0.0451 |
| 720p | $0.0902 |
| 1080p | $0.1805 |
Example: 720p with 5 s output costs 5 × $0.0902 = $0.4510; adding a 3 s reference video makes it (3 + 5) × $0.0902 = $0.7216.
Failed tasks and billing
A successful submission means the gateway accepted the task. Polling can return failed on /v1/videos/{id} or FAILURE on /v1/video/generations/{id}. For example, a task can fail during input moderation. The gateway releases the authorization hold and charges $0. Failed tasks have no video to download.
Examples
Text to video
curl https://api.admesh.ai/v1/videos \
-H "Authorization: Bearer $ADMESH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan3.0-video",
"prompt": "A cat running across a meadow",
"seconds": "5",
"resolution": "720p",
"aspect_ratio": "16:9"
}'
Image to video (first frame)
curl https://api.admesh.ai/v1/video/generations \
-H "Authorization: Bearer $ADMESH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan3.0-video",
"prompt": "The flowers in the picture slowly bloom",
"first_image": "https://example.com/flower.png",
"duration": 5,
"resolution": "1080p"
}'
Generate from a reference video
curl https://api.admesh.ai/v1/videos \
-H "Authorization: Bearer $ADMESH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan3.0-video",
"prompt": "Use the camera motion in Video 1 to create a coastal sunset",
"seconds": "5",
"resolution": "720p",
"videos": ["https://example.com/reference.mp4"]
}'