Skip to main content
POST

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <YOUR_API_KEY>. API Keys

Body

application/json
model
enum<string>
required
Available options:
wan3.0-video
prompt
string
required

Required prompt.

Required string length: 1 - 20000
resolution
enum<string>
default:720P
Available options:
480P,
720P,
1080P
duration
integer
default:5

Requested output duration in seconds; -1 is not accepted.

Required range: 2 <= x <= 30
aspect_ratio
enum<string>

Optional; the model adapts the output aspect ratio when omitted.

Available options:
16:9,
9:16,
1:1,
4:3,
3:4
generate_audio
boolean
default:false

Generate audio; does not affect credits.

reference_images
object[]

Up to 10 asset images; frame control permits one first frame and one optional last frame.

Maximum array length: 10
reference_videos
object[]
Maximum array length: 5
reference_audios
object[]

Must accompany asset image or video references.

Maximum array length: 5

Response

Task accepted; poll for the result.

task_id
string
model
string
Example:

"wan3.0-video"

created_at
string

ISO 8601 UTC

request_id
string