Skip to main content
POST
Create an image-to-video task

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
enum<string>
required

model ID

Available options:
wan2.2-i2v-a14b
Example:

"wan2.2-i2v-a14b"

image
string
required

Public URL of the reference image.

Example:

"https://example.com/reference.jpg"

prompt
string

Video description text (optional, used to guide generation).

Example:

"The camera slowly dollies in"

duration
number
default:5

Video duration in seconds, 3–5.

Required range: 3 <= x <= 5
width
integer

Output video width in pixels.

height
integer

Output video height in pixels.

seed
integer

Random seed, used to reproduce results.

Response

Task created successfully

task_id
string

Task ID, used to poll status.

status
string