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

授权

Authorization
string
header
必填

请求头

accept
enum<string>

Wan Videos Param Accept

可用选项:
application/json

请求体

application/json
action
enum<string>
默认值:text2video
必填

Wan Videos Action

可用选项:
text2video,
image2video
prompt
string
必填

Wan Videos Prompt

示例:

"Astronauts shuttle from space to volcano"

model
enum<string>
必填

Wan Videos Model

可用选项:
wan2.6-i2v,
wan2.6-r2v,
wan2.6-i2v-flash,
wan2.6-t2v
audio
boolean
默认值:false

Wan Videos Audio

prompt_extend
boolean
默认值:false

Wan Videos Prompt Extend

resolution
enum<string>

Wan Videos Resolution

可用选项:
480P,
720P,
1080P
shot_type
enum<string>

Wan Videos Shot Type

可用选项:
single,
multi
duration
enum<number>

Wan Videos Duration

可用选项:
5,
10,
15
negative_prompt
string

Wan Videos Negative Prompt

示例:

"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

示例:

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

响应

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