模型信息
| 模型 ID | kling-video-v3-omni | 供应商 | 快手可灵 |
|---|---|---|---|
| 输入模态 | 未注明 | 输出模态 | 未注明 |
| 分类 | 未注明 | 发布时间 | 1970-01-01 07:59:59 |
调用接口
| 分组 | 接口 | 渠道 | 方法 | 路径 |
|---|---|---|---|---|
| 文生视频 | 文生视频 | 本站 AI 中转站 | POST | /kling/v1/videos/text2video |
POST /kling/v1/videos/text2video
### 文生视频
本文档不实时更新,完整版请查看官方文档:
{
"summary": "文生视频",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"code",
"message",
"request_id",
"data"
],
"properties": {
"code": {
"type": "integer",
"description": "错误码;具体定义错误码"
},
"data": {
"type": "object",
"required": [
"task_id",
"updated_at",
"created_at",
"task_status"
],
"properties": {
"task_id": {
"type": "string",
"description": "任务ID,系统生成"
},
"created_at": {
"type": "integer",
"description": "任务创建时间,Unix时间戳、单位ms"
},
"updated_at": {
"type": "integer",
"description": "任务更新时间,Unix时间戳、单位ms"
},
"task_status": {
"enum": [
"submitted(已提交",
"processing(处理中)",
"succeed(成功)",
"failed(失败)"
],
"type": "string",
"description": "任务状态,枚举值:submitted(已提交)、processing(处理中)、succeed(成功)、failed(失败)"
}
}
},
"message": {
"type": "string",
"description": "错误信息"
},
"request_id": {
"type": "string",
"description": "请求ID,系统生成,用于跟踪请求、排查问题"
}
}
}
}
},
"description": "成功"
}
},
"parameters": [],
"description": "### 文生视频\n本文档不实时更新,完整版请查看官方文档:",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "文生视频",
"$schema": "",
"required": [
"prompt"
],
"properties": {
"mode": {
"enum": [
"std(高性能)",
"pro(高表现)"
],
"type": "string",
"description": "生成视频的模式,可选,枚举值:std(高性能)或 pro(高表现)"
},
"prompt": {
"type": "string",
"maxLength": 500,
"description": "正向文本提示,必须,不能超过500个字符"
},
"duration": {
"enum": [
"5",
"10"
],
"type": "string",
"description": "生成视频时长,单位秒,可选,枚举值:5,10"
},
"cfg_scale": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "生成视频的自由度,可选,值越大,相关性越强,取值范围:[0,1]"
},
"model_name": {
"type": "string",
"description": "kling-v1、kling-v1-5、kling-v1-6"
},
"aspect_ratio": {
"enum": [
"16:9",
"9:16",
"1:1"
],
"type": "string",
"description": "生成视频的画面纵横比,可选,枚举值:16:9, 9:16, 1:1"
},
"callback_url": {
"type": "string",
"description": "本次任务结果回调通知地址,可选"
},
"camera_control": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"config": {
"type": "object",
"properties": {
"pan": {
"type": "integer",
"maximum": 10,
"minimum": -10,
"description": "水平摇镜,可选,取值范围:[-10, 10]"
},
"roll": {
"type": "integer",
"maximum": 10,
"minimum": -10,
"description": "旋转运镜,可选,取值范围:[-10, 10]"
},
"tilt": {
"type": "integer",
"maximum": 10,
"minimum": -10,
"description": "垂直摇镜,可选,取值范围:[-10, 10]"
},
"zoom": {
"type": "integer",
"maximum": 10,
"minimum": -10,
"description": "变焦,可选,取值范围:[-10, 10]"
},
"vertical": {
"type": "integer",
"maximum": 10,
"minimum": -10,
"description": "垂直运镜,可选,取值范围:[-10, 10]"
},
"horizontal": {
"type": "integer",
"maximum": 10,
"minimum": -10,
"description": "水平运镜,可选,取值范围:[-10, 10]"
}
},
"description": "包含六个字段,用于指定摄像机的运动或变化"
}
},
"description": "控制摄像机运动的协议,可选,未指定则智能匹配"
},
"negative_prompt": {
"type": "string",
"maxLength": 200,
"description": "负向文本提示,可选,不能超过200个字符"
}
},
"x-apifox-id": "216574019"
}
}
},
"required": true
}
}价格
| 价格组 | 渠道 | 计费项 | 价格 | 单位 |
|---|---|---|---|---|
| default | AI 中转站 | request | CNY 1 | request |
| 国产特价2 | AI 中转站 | request | CNY 0.8 | request |
服务级错误码参照(error_code):
| 错误码 | 说明 | |
|---|---|---|
| 221301 | 数据源超时 | |
| 221303 | 认证失败 认证失败,请稍后重试 认证失败,该卡当日连续多次认证不通过被限制校验,次日恢复 |
|
| 221306 | 参数错误 参数错误:姓名格式不正确 参数错误:手机号格式不正确 参数错误:身份证格式不正确 参数错误:银行卡号格式不正确 同一银行卡请求过于频繁 |
系统级错误码参照:
| 错误码 | 说明 | |
|---|---|---|
| 10001 | 错误的请求KEY | |
| 10002 | 该KEY无请求权限 | |
| 10003 | KEY过期 | |
| 10004 | 错误的OPENID | |
| 10005 | 应用未审核超时,请提交认证 | |
| 10007 | 未知的请求源 | |
| 10008 | 被禁止的IP | |
| 10009 | 被禁止的KEY | |
| 10011 | 当前IP请求超过限制 | |
| 10012 | 请求超过次数限制 | |
| 10013 | 测试KEY超过请求限制 | |
| 10014 | 系统内部异常(调用充值类业务时,请务必联系客服或通过订单查询接口检测订单,避免造成损失) | |
| 10020 | 接口维护 | |
| 10021 | 接口停用 |
错误码格式说明(示例:200201):
| 2 | 002 | 01 | |
|---|---|---|---|
| 服务级错误(1为系统级错误) | 服务模块代码(即数据ID) | 具体错误代码 |
使用文档下载
| 附件标题/下载链接 | 更新时间 | |
|---|---|---|
| 接口资料:POST /kling/v1/videos/text2video(文生视频) | 2026-09-09 15:29:10 | |
| 价格分组:default(CNY 1/request) | 2026-09-09 15:29:10 | |
| 价格分组:国产特价2(CNY 0.8/request) | 2026-09-09 15:29:10 | |
| 阶梯与倍率计费资料 | 2026-09-09 15:29:10 | |
| 供应商令牌分组折扣资料 | 2026-09-09 15:29:10 |
常见问题:
| 标题 | 更新时间 | |
|---|---|---|
| Token 是什么?中文、英文与上下文窗口如何计算 | 2026-09-21 00:31:09 | |
| LLM API 费用如何计算?如何选择合适的模型 | 2026-09-21 01:16:03 | |
| Word-to-Token 转换与用量估算指南 | 2026-09-21 00:31:09 |
gemini-3.8-flash-thinking-medium
gemini-3.8-flash-thinking-high