Skip to main content
POST
Generate videos based on prompt and image frames

Authorizations

Authorization
string
header
required

Headers

accept
enum<string>

Wan Videos Param Accept

Available options:
application/json

Body

application/json
action
enum<string>
default:text2video
required

Wan Videos Action

Available options:
text2video,
image2video
prompt
string
required

Wan Videos Prompt

Example:

"Astronauts shuttle from space to volcano"

model
enum<string>
required

Wan Videos Model

Available options:
wan2.6-i2v,
wan2.6-r2v,
wan2.6-i2v-flash,
wan2.6-t2v
audio
boolean
default:false

Wan Videos Audio

prompt_extend
boolean
default:false

Wan Videos Prompt Extend

resolution
enum<string>

Wan Videos Resolution

Available options:
480P,
720P,
1080P
shot_type
enum<string>

Wan Videos Shot Type

Available options:
single,
multi
duration
enum<number>

Wan Videos Duration

Available options:
5,
10,
15
negative_prompt
string

Wan Videos Negative Prompt

Example:

"Astronauts shuttle from space to volcano"

size
string

Wan Videos Size

audio_url
string

Wan Videos Audio Url

reference_video_urls
string<uri>[]

Wan Videos Reference Video Urls

Minimum array length: 1
callback_url
string

Wan Videos Callback Url

async
boolean

Wan Videos Async

image_url
string

Wan Videos Image Url

Example:

"https://cdn.acedata.cloud/r9vsv9.png"

Response

Wan Videos Response 200

state
string

Wan Videos Response 200 State

prompt
string

Wan Videos Response 200 Prompt

success
boolean

Wan Videos Response 200 Success

task_id
string

Wan Videos Response 200 Task Id

video_id
string

Wan Videos Response 200 Video Id

video_url
string

Wan Videos Response 200 Video Url

video_width
number

Wan Videos Response 200 Video Width

video_height
number

Wan Videos Response 200 Video Height

thumbnail_url
string

Wan Videos Response 200 Thumbnail Url

thumbnail_width
number

Wan Videos Response 200 Thumbnail Width

thumbnail_height
number

Wan Videos Response 200 Thumbnail Height