
🇺🇸 English

🇺🇸 English
- Chat Models
- Chat
- OpenAI-Realtime
- Completions
- Audio
- Image generation
- Embeddings
- Models
- Help
- Anthropic
- Suno
- Udio
- Midjourney API
- Flux
- Recraft
- Ideogram
- Luma
- Runway
- Kling-API
- Replicate
- MiniMax
Video extend
POST
/kling/v1/videos/video-extend
Last modified:2025-05-14 09:05:18
2、此接口要求传入任务id和视频id
此接口属于子任务,需要在父任务账号上使用,请尽快操作避免资源包过期。
官方文档:https://docs.qingque.cn/d/home/eZQClW07IFEuX1csc-VejdY2M#section=h.8fzev2i9nkje
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
Authorization
string
optional
Default:
{{YOUR_API_KEY}}
Body Params application/json
task_id
string
required
video_id
string
required
prompt
string
optional
callback_url
string
optional
Example
{
"task_id": "111",
"video_id": "CmCmrWduIncAAAAAANzAog"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/kling/v1/videos/video-extend' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"task_id":"111",
"video_id": "CmCmrWduIncAAAAAANzAog"
}'
Responses
🟢200成功
application/json
Body
code
integer
required
message
string
required
request_id
string
required
data
object
required
task_id
string
required
task_status
string
required
created_at
integer
required
updated_at
integer
required
Example
{
"code": 0,
"message": "string",
"request_id": "string",
"data": {
"task_id": "string",
"task_status": "string",
"created_at": 0,
"updated_at": 0
}
}