v1

latestOpenAPI 3.1.02026-07-267724480.0 KB

Video Extension

Only videos from supported generation types can be extended.

post/kling/v1/videos/video-extend

Request body

task_idstring required

Parent Kling task id for the extension-compatible video being extended.

video_idstring required

Video id from a parent task result. The source video must be extension-compatible; unsupported videos return HTTP 400.

promptstring

Text prompt describing the desired motion for the extended segment. Maximum 500 characters.

callback_urlstring

Webhook URL to receive task status updates when the task completes.

negative_promptstring

Elements to avoid in the extension.

cfg_scalenumber

Prompt adherence strength for the extension. Range: 0-1.

Response

Successful Response

codeinteger required

Error code; specifically define the error code

messagestring required

error message

request_idstring required

Request ID, system-generated, for tracking requests, troubleshooting issues