模型信息
| 模型 ID | kling-video-multi-elements-clear | 供应商 | 快手可灵 |
|---|---|---|---|
| 输入模态 | 未注明 | 输出模态 | 未注明 |
| 分类 | 未注明 | 发布时间 | 1970-01-01 07:59:59 |
调用接口
| 分组 | 接口 | 渠道 | 方法 | 路径 |
|---|---|---|---|---|
| 全部接口 | 文生音效 | 本站 AI 中转站 | POST | /kling/v1/audio/text-to-audio |
| 全部接口 | 视频生音效 | 本站 AI 中转站 | POST | /kling/v1/audio/video-to-audio |
| 全部接口 | 扩图 | 本站 AI 中转站 | POST | /kling/v1/images/editing/expand |
| 全部接口 | 多图参考生图 | 本站 AI 中转站 | POST | /kling/v1/images/multi-image2image |
| 全部接口 | 图生视频 | 本站 AI 中转站 | POST | /kling/v1/videos/image2video |
| 全部接口 | 多图参考生视频 | 本站 AI 中转站 | POST | /kling/v1/videos/multi-image2video |
| 全部接口 | 文生视频 | 本站 AI 中转站 | POST | /kling/v1/videos/text2video |
| 全部接口 | 视频延长 | 本站 AI 中转站 | POST | /kling/v1/videos/video-extend |
POST /kling/v1/audio/text-to-audio
### 文生音效
本文档不实时更新,完整版请查看官方文档:
{
"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",
"duration"
],
"properties": {
"prompt": {
"type": "string",
"description": "文本提示词 内容长度不超过200字符"
},
"duration": {
"type": "integer",
"description": "生成音频的时长 取值范围: 3.0秒至10.0秒,支持小数点后一位精度"
}
},
"x-apifox-id": "337534133"
}
}
},
"required": true
}
}POST /kling/v1/audio/video-to-audio
### 视频生音效
本文档不实时更新,完整版请查看官方文档:
{
"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": "",
"properties": {
"video_id": {
"type": "string",
"description": "通过可灵AI生成的视频的ID 与video_url参数二选一填写,不能同时为空,也不能同时有值 仅支持30天内生成并且长度在3.0秒-20.0秒的视频"
},
"video_url": {
"type": "string",
"description": "所上传视频的获取链接 与video_id参数二选一填写,不能同时为空,也不能同时有值 视频格式仅支持MP4/MOV,文件大小≤100M, 分辨率支持720p或者1080p, 视频长度在3.0秒-20.0秒"
}
},
"x-apifox-id": "337536217"
}
}
},
"required": true
}
}POST /kling/v1/images/editing/expand
### 扩图
本文档不实时更新,完整版请查看官方文档:
{
"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",
"task_status",
"created_at",
"updated_at"
],
"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(已提交)、process任务创建时间,Unix时间戳、单位msing(处理中)、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": [
"image",
"up_expansion_ratio",
"down_expansion_ratio",
"left_expansion_ratio",
"right_expansion_ratio"
],
"properties": {
"n": {
"type": "integer"
},
"image": {
"type": "string"
},
"prompt": {
"type": "string"
},
"up_expansion_ratio": {
"type": "number"
},
"down_expansion_ratio": {
"type": "number"
},
"left_expansion_ratio": {
"type": "number"
},
"right_expansion_ratio": {
"type": "number"
}
},
"x-apifox-id": "337543595"
}
}
},
"required": true
}
}POST /kling/v1/images/multi-image2image
### 多图参考生图
本文档不实时更新,完整版请查看官方文档:
{
"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",
"task_status",
"created_at",
"updated_at"
],
"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(已提交)、process任务创建时间,Unix时间戳、单位msing(处理中)、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": [
"model_name",
"subject_image_list"
],
"properties": {
"n": {
"type": "integer"
},
"prompt": {
"type": "string"
},
"model_name": {
"type": "string"
},
"aspect_ratio": {
"type": "string"
},
"callback_url": {
"type": "string"
},
"scence_image": {
"type": "string"
},
"negative_prompt": {
"type": "string"
},
"subject_image_list": {
"type": "array",
"items": {
"type": "string"
}
}
},
"x-apifox-id": "337538792"
}
}
},
"required": true
}
}POST /kling/v1/videos/image2video
### 图生视频
本文档不实时更新,完整版请查看官方文档:
{
"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",
"task_status",
"created_at",
"updated_at"
],
"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": [
"image"
],
"properties": {
"mode": {
"enum": [
"std(高性能)",
"pro(高表现)"
],
"type": "string",
"description": "生成视频的模式,可选,枚举值:std(高性能)或 pro(高表现)"
},
"image": {
"type": "string",
"description": "参考图像,必须,支持Base64编码或图片URL,支持.jpg / .jpeg / .png格式,大小不能超过10MB,分辨率不小于300*300px"
},
"prompt": {
"type": "string",
"maxLength": 5000,
"description": "正向文本提示, 可选,不能超过500个字符"
},
"duration": {
"enum": [
"5",
"10"
],
"type": "string",
"description": "生成视频时长,单位秒,可选,枚举值:5,10(包含尾帧的请求仅支持5秒)"
},
"cfg_scale": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "生成视频的自由度,可选,值越大相关性越强,取值范围:[0, 1]"
},
"image_tail": {
"type": "string",
"description": "参考图像 - 尾帧控制,可选,支持Base64编码或图片URL,支持.jpg / .jpeg / .png格式,大小不能超过10MB,分辨率不小于300*300px"
},
"model_name": {
"type": "string",
"description": "kling-v1、kling-v1-5、kling-v1-6"
},
"callback_url": {
"type": "string",
"description": "本次任务结果回调通知地址,可选"
},
"negative_prompt": {
"type": "string",
"maxLength": 2000,
"description": "负向文本提示,可选,不能超过200个字符"
}
},
"x-apifox-id": "216574020"
}
}
},
"required": true
}
}POST /kling/v1/videos/multi-image2video
### 多图参考生视频
本文档不实时更新,完整版请查看官方文档:
{
"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",
"task_status",
"created_at",
"updated_at"
],
"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": [
"image_list",
"model_name",
"prompt"
],
"properties": {
"mode": {
"enum": [
"std",
"pro"
],
"type": "string",
"description": "生成视频的模式,可选,枚举值:std(高性能)或 pro(高表现)"
},
"prompt": {
"type": "string",
"maxLength": 5000,
"description": "正向文本提示, 可选,不能超过500个字符"
},
"duration": {
"enum": [
"5",
"10"
],
"type": "string",
"description": "生成视频时长,单位秒,可选,枚举值:5,10(包含尾帧的请求仅支持5秒)"
},
"cfg_scale": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "生成视频的自由度,可选,值越大相关性越强,取值范围:[0, 1]"
},
"image_list": {
"type": "array",
"items": {
"type": "object",
"required": [
"image"
],
"properties": {
"image": {
"type": "string"
}
}
},
"description": "参考图像,必须,支持Base64编码或图片URL,支持.jpg / .jpeg / .png格式,大小不能超过10MB,分辨率不小于300*300px"
},
"model_name": {
"type": "string",
"description": "kling-v1-6"
},
"callback_url": {
"type": "string",
"description": "本次任务结果回调通知地址,可选"
},
"negative_prompt": {
"type": "string",
"maxLength": 2000,
"description": "负向文本提示,可选,不能超过200个字符"
}
},
"x-apifox-id": "327714825"
}
}
},
"required": true
}
}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
}
}POST /kling/v1/videos/video-extend
### 视频延长
1、生成视频
2、此接口要求传入任务id和视频id
此接口属于子任务,需要在父任务账号上使用,请尽快操作避免资源包过期。
官方文档:
{
"summary": "视频延长",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "成功"
}
},
"parameters": [],
"description": "### 视频延长\n1、生成视频\n2、此接口要求传入任务id和视频id\n此接口属于子任务,需要在父任务账号上使用,请尽快操作避免资源包过期。\n官方文档:",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "视频延长",
"$schema": "",
"required": [
"video_id",
"prompt"
],
"properties": {
"prompt": {
"type": "string"
},
"video_id": {
"type": "string"
}
},
"x-apifox-id": "257160028"
}
}
},
"required": true
}
}价格
| 价格组 | 渠道 | 计费项 | 价格 | 单位 |
|---|---|---|---|---|
| default | AI 中转站 | request | CNY 0.0001 | request |
| 国产特价2 | AI 中转站 | request | CNY 0.00008 | 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/audio/text-to-audio(文生音效) | 2026-09-09 15:29:09 | |
| 接口资料:POST /kling/v1/audio/video-to-audio(视频生音效) | 2026-09-09 15:29:09 | |
| 接口资料:POST /kling/v1/images/editing/expand(扩图) | 2026-09-09 15:29:09 | |
| 接口资料:POST /kling/v1/images/multi-image2image(多图参考生图) | 2026-09-09 15:29:09 | |
| 接口资料:POST /kling/v1/videos/image2video(图生视频) | 2026-09-09 15:29:09 | |
| 接口资料:POST /kling/v1/videos/multi-image2video(多图参考生视频) | 2026-09-09 15:29:09 | |
| 接口资料:POST /kling/v1/videos/text2video(文生视频) | 2026-09-09 15:29:09 | |
| 接口资料:POST /kling/v1/videos/video-extend(视频延长) | 2026-09-09 15:29:09 | |
| 价格分组:default(CNY 0.0001/request) | 2026-09-09 15:29:09 | |
| 价格分组:国产特价2(CNY 0.00008/request) | 2026-09-09 15:29:09 | |
| 阶梯与倍率计费资料 | 2026-09-09 15:29:09 | |
| 供应商令牌分组折扣资料 | 2026-09-09 15:29:09 |
常见问题:
| 标题 | 更新时间 | |
|---|---|---|
| Token 是什么?中文、英文与上下文窗口如何计算 | 2026-09-18 19:52:51 | |
| LLM API 费用如何计算?如何选择合适的模型 | 2026-09-18 19:52:54 | |
| Word-to-Token 转换与用量估算指南 | 2026-09-19 00:49:28 |
gemini-3.8-flash-thinking-medium
gemini-3.8-flash-thinking-high