kling_extend_video
Extend a generated video by adding a described continuation after the original ends. Provide the video ID and prompt for the new motion to create a longer clip.
Instructions
Extend an existing video with additional content.
This allows you to continue a previously generated video, adding more motion
and content after the original video ends.
Use this when:
- A generated video is too short and you want to add more
- You want to continue the story or motion from a previous video
- You're building a longer video piece by piece
Returns:
Task ID and the extended video information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Generation mode. 'std' (standard, default), 'pro' (higher quality), or '4k' (native 4K, only for kling-v3 and kling-v3-omni). | std |
| model | No | Kling model to use. Default: 'kling-v2-master'. | kling-v1 |
| prompt | Yes | Description of what should happen in the extended portion of the video. Describe the continuation of motion and new content. | |
| duration | No | Duration of the extended segment in seconds. Supports 5 or 10. | |
| video_id | Yes | ID of the video to extend. This is the 'video_id' field from a previous generation result. | |
| cfg_scale | No | Classifier-free guidance scale. | |
| callback_url | No | Optional webhook URL for asynchronous result notification. | |
| negative_prompt | No | Things to avoid in the extended video. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |