Skip to main content
POST

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
Available options:
wan2.2-i2v-flash,
wan2.2-i2v-plus,
wan2.2-kf2v-flash,
wan2.2-t2v-plus,
wan2.6-i2v,
wan2.6-i2v-flash
prompt
string
required

视频内容提示词。

image
string<uri>

图生视频模型使用的首帧图片 URL。

first_frame_image
string<uri>

首尾帧任务使用的首帧图片 URL;具体字段兼容性以端点校验为准。

last_frame_image
string<uri>

首尾帧任务使用的尾帧图片 URL;具体字段兼容性以端点校验为准。

duration
number

输出时长(秒);可用范围随模型版本变化。

width
integer

输出宽度(像素)。

height
integer

输出高度(像素)。

seed
integer

随机种子。

metadata
object

传递给模型的其他受支持参数。

Response

任务创建成功

id
string
task_id
string
object
string
Example:

"video"

model
string
Example:

"wan2.6-i2v"

status
string
Example:

"queued"

progress
integer
Example:

0

created_at
integer