POST /v1/video/generations
参数 | 类型 | 必填 | 描述 |
---|---|---|---|
Authorization | string | 是 | 用户认证令牌 (Bearer: sk-xxxx) |
Content-Type | string | 是 | application/json |
参数 | 类型 | 必填 | 描述 |
---|---|---|---|
model | string | 是 | 模型/风格ID |
prompt | string | 是 | 文本提示词 |
duration | number | 否 | 视频时长(秒) |
fps | integer | 否 | 视频帧率 |
height | integer | 否 | 视频高度 |
width | integer | 否 | 视频宽度 |
image | string | 否 | 图片 输入(URL/Base64) |
metadata | object | 否 | 供应商特定/自定义参数(如 negative_prompt, style, quality_level 等) |
n | integer | 否 | 生成视频数量 |
response_format | string | 否 | 响应格式 |
seed | integer | 否 | 随机种子 |
user | string | 否 | 用户标识符 |
{
"code": null,
"message": "string",
"param": "string",
"type": "string"
}
{
"code": null,
"message": "string",
"param": "string",
"type": "string"
}
{
"code": null,
"message": "string",
"param": "string",
"type": "string"
}
{
"code": null,
"message": "string",
"param": "string",
"type": "string"
}