POST
/kling/v1/videos/video-extend视频延长
API Key application/json
请求示例
curl -X POST https://top.qingyuntop.ai/kling/v1/videos/video-extend \
-H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"video_id": "828006748715380777",
"prompt": "延长动画效果",
"negative_prompt": "",
"cfg_scale": 0.5,
"callback_url": ""
}'请求参数
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
Content-Type | Header | string | 否 | - | application/json |
Authorization | Header | string | 否 | - | Bearer {{YOUR_API_KEY}} |
video_id | JSON body | string | 是 | 视频id 支持通过文本、图片和视频延长生成的视频的ID(原视频不能超过3分钟) | - |
prompt | JSON body | string | 是 | 正向文本提示词 不能超过2500个字符词 | - |
negative_prompt | JSON body | string | 否 | 负向文本提示词 | - |
cfg_scale | JSON body | number | 否 | 提示词参考强度 取值范围:[0,1],数值越大参考强度越大 | - |
callback_url | JSON body | string | 否 | - | - |
返回响应 (200)
此部分没有定义参数。
来源原始接口定义(用于追溯)
以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。
{
"id": 495899796,
"name": "视频延长",
"type": "http",
"serverId": "",
"preProcessors": [],
"postProcessors": [],
"inheritPreProcessors": {},
"inheritPostProcessors": {},
"description": "",
"operationId": "",
"sourceUrl": "",
"method": "post",
"path": "/kling/v1/videos/video-extend",
"tags": [],
"status": -1,
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"video_id": {
"type": "string",
"description": "视频id 支持通过文本、图片和视频延长生成的视频的ID(原视频不能超过3分钟)"
},
"prompt": {
"type": "string",
"description": "正向文本提示词 不能超过2500个字符词"
},
"negative_prompt": {
"type": "string",
"description": "负向文本提示词"
},
"cfg_scale": {
"type": "number",
"description": "提示词参考强度 取值范围:[0,1],数值越大参考强度越大"
},
"callback_url": {
"type": "string"
}
},
"required": [
"video_id",
"prompt"
],
"x-apifox-orders": [
"video_id",
"prompt",
"negative_prompt",
"cfg_scale",
"callback_url"
]
},
"examples": [
{
"mediaType": "application/json",
"value": "{\r\n \"video_id\": \"828006748715380777\",\r\n \"prompt\": \"延长动画效果\",\r\n \"negative_prompt\": \"\",\r\n \"cfg_scale\": 0.5,\r\n \"callback_url\": \"\"\r\n}"
}
],
"mediaType": "",
"oasExtensions": "",
"required": true,
"additionalContentTypes": []
},
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": [
{
"id": "w8BoB35GeW",
"name": "Content-Type",
"required": false,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "application/json"
},
{
"id": "nv1rIdNz8J",
"name": "Authorization",
"required": false,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "Bearer {{YOUR_API_KEY}}"
}
]
},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"auth": {},
"responses": [
{
"id": 134965140,
"name": "成功",
"code": 200,
"contentType": "json",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"itemSchema": {},
"description": "",
"mediaType": "",
"headers": []
}
],
"responseExamples": [],
"codeSamples": [],
"projectId": 8662722,
"moduleId": 8310462,
"folderId": 92436144,
"ordering": 0,
"responsibleId": 0,
"commonResponseStatus": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"customApiFields": {},
"oasExtensions": "",
"mockScript": {},
"createdAt": "2026-08-02T03:53:34.000Z",
"updatedAt": "2026-08-06T12:15:55.000Z",
"creatorId": 2863449,
"editorId": 2863449,
"creatorUserId": 2863449,
"editorUserId": 2863449,
"responseChildren": [],
"visibility": "INHERITED",
"securityScheme": {},
"callbacks": ""
}