Skip to main content
POST
创建图生视频任务

授权

Authorization
string
header
必填

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

请求体

application/json
model
enum<string>
必填

模型 ID

可用选项:
wan2.2-i2v-a14b
示例:

"wan2.2-i2v-a14b"

image
string
必填

参考图片的公网 URL。

示例:

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

prompt
string

视频描述文字(可选,用于引导生成方向)。

示例:

"相机缓慢推进"

duration
number
默认值:5

视频时长(秒),3–5。

必填范围: 3 <= x <= 5
width
integer

输出视频宽度(像素)。

height
integer

输出视频高度(像素)。

seed
integer

随机种子,用于复现结果。

响应

任务创建成功

task_id
string

任务 ID,用于轮询状态。

status
string