视频延长

POST /kling/v1/videos/video-extend

MethodPOST
Path/kling/v1/videos/video-extend
Typehttp
Status-1
Module2102810
Folder72897665

概览

MethodPOST
Path/kling/v1/videos/video-extend
Typehttp
Status-1
Module2102810
Folder72897665

参数

{
  "header": [
    {
      "required": false,
      "description": "",
      "type": "string",
      "id": "w8BoB35GeW",
      "enable": true,
      "name": "Content-Type",
      "sampleValue": "application/json"
    },
    {
      "required": false,
      "description": "",
      "type": "string",
      "id": "nv1rIdNz8J",
      "enable": true,
      "name": "Authorization",
      "sampleValue": "Bearer {{YOUR_API_KEY}}"
    }
  ]
}

请求体

{
  "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"
    ]
  },
  "required": true,
  "mediaType": "",
  "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}"
    }
  ],
  "oasExtensions": ""
}

响应

[
  {
    "id": 113146752,
    "name": "成功",
    "code": 200,
    "contentType": "json",
    "jsonSchema": {
      "type": "object",
      "properties": {}
    },
    "itemSchema": {},
    "description": "",
    "mediaType": "",
    "headers": []
  }
]