支持模型与参数视频模型
Kling V2.6
kling-v2-6 的生成档位、音频和时长参数。
kling-v2-6 支持标准/专业档与可选音频。参数能力以后端模型 schema 为准。
模型速览
| 项 | 说明 |
|---|---|
| 模型 ID | kling-v2-6 |
| 类型 | 视频 |
| 区域 | Global / CN |
| 推荐场景 | 支持标准/专业档与可选音频 |
推荐请求写法
提交前建议先调用 POST /v1/quote,报价和创建任务使用完全相同的参数。
{
"model": "kling-v2-6",
"prompt": "A cinematic product reveal",
"mode": "pro",
"audio": false,
"duration": 5,
"aspect_ratio": "16:9"
}字段说明
| 字段 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
model | string | 是 | - | 固定传 kling-v2-6 |
prompt | string | 是 | - | 视频描述 |
reference_images | string[] | 否 | - | 参考图片 URL |
mode | string | 否 | std | 生成档位:标准、专业或 4K(以模型枚举为准) |
audio | boolean | 否 | false | 是否生成音频 |
duration | integer | 否 | 5 | 输出时长 |
aspect_ratio | string | 否 | 16:9 | 画面比例 |
可选枚举
| 字段 | 支持值 |
|---|---|
mode | std(720P) pro(1080P) |
audio | false true |
duration | 5 10 |
aspect_ratio | 16:9 9:16 1:1 |
Kling V2.6 接入说明
- 清晰度由
mode表达,不要额外传resolution。 - 不要传模型 schema 未声明的字段;运行时以
GET /v1/models返回值为准。
最小示例
{
"model": "kling-v2-6",
"prompt": "A cinematic product reveal"
}
