Skip to main content
POST
cURL
Wan 3.0 Prime is the high-speed version of Wan 3.0, with the same capabilities and significantly faster end-to-end generation at higher credit rates.

Billing Introduction

The credit rate is determined by the output video resolution. The total credit cost is based on the combined duration of input reference videos and the output video. See the Billing Introduction for current credit rates.

File Storage Policy

Query Task

This API creates an asynchronous task. Save the returned task_id, then use Querying Async Task Results to retrieve its final result. Results remain available for 24 hours; wait at least 5 seconds between queries.
All result URLs are temporarily available and will expire after 24 hours.

Submit Task

Authorizations

ailabapi-api-key
string
header
required

API KEY for authentication. See Get API KEY.

Body

multipart/form-data

Provide at least one reference image, video, or audio file. These reference types can be combined.

reference_images
file[]
required

Reference images for the all-purpose reference mode.

  • Supported formats: JPEG JPG PNG WEBP BMP
  • Maximum file size: No more than 20 MB.
  • Minimum resolution: 256 × 256 px.
  • Maximum resolution: 8000 × 8000 px.
  • Aspect ratio: From 1:8 to 8:1.
Required array length: 1 - 10 elements
model
enum<string>
required

Model.

Available options:
wan-30-prime/video
Example:

"wan-30-prime/video"

prompt
string
required

Prompt.

Required string length: 1 - 20000
Example:

"Create a cinematic scene inspired by the reference materials, with natural motion and a slow camera pan."

reference_videos
file[]

Reference videos for the all-purpose reference mode.

  • Supported formats: MP4 MOV.
  • Maximum file size: 100 MB.
  • Duration: 1–15 seconds per video, with a maximum combined duration of 15 seconds.
  • Minimum resolution: 256 × 256 px.
  • Maximum resolution: 4096 × 4096 px.
  • Aspect ratio: From 1:8 to 8:1.
Maximum array length: 5
reference_audios
file[]

Reference audios for the all-purpose reference mode.

  • Supported format: MP3 WAV.
  • Maximum file size: No more than 15 MB.
  • Duration: 1–15 seconds per audio file, with a maximum combined duration of 15 seconds.
Maximum array length: 5
resolution
enum<string>
default:720p

Output video resolution.

Available options:
480p,
720p,
1080p
duration
integer
default:5

Output video duration in seconds. Without video input, the range is [2, 30]. With reference videos: input video duration + output duration ≤ 30.

Required range: 2 <= x <= 30
audio
boolean
default:true

Whether to generate audio.

aspect_ratio
enum<string>
default:adaptive

Output video aspect ratio.

Available options:
adaptive,
1:1,
3:4,
4:3,
9:16,
16:9
seed
integer<int32>

Random seed. Using the same parameters and seed helps improve result reproducibility.

Required range: 0 <= x <= 2147483647
nsfw_checker
boolean
default:false

Whether to enable additional NSFW content filtering for model-generated results.

Response

request_id
string
required

Request ID for debugging.

log_id
string
required

Log ID for debugging.

error_detail
object
required
task_id
string
required

Task ID for querying Querying Async Task Results.