Skip to main content
Glama

kling_extend_video

Extend a short generated video to continue its motion and story by adding new content after the original ends. Use it when a video is too short or to build a longer video piece by piece.

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

TableJSON Schema
NameRequiredDescriptionDefault
modeNoGeneration mode. 'std' (standard, default), 'pro' (higher quality), or '4k' (native 4K, only for kling-v3 and kling-v3-omni).std
modelNoKling model to use. Default: 'kling-v2-master'.kling-v1
promptYesDescription of what should happen in the extended portion of the video. Describe the continuation of motion and new content.
durationNoDuration of the extended segment in seconds. Supports 5 or 10.
video_idYesID of the video to extend. This is the 'video_id' field from a previous generation result.
cfg_scaleNoClassifier-free guidance scale.
callback_urlNoOptional webhook URL for asynchronous result notification.
negative_promptNoThings to avoid in the extended video.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.24
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "kling-v1",
      -  "kling-v1-6",
      -  "kling-v2-master",
      -  "kling-v2-1-master",
      -  "kling-v2-5-turbo",
      -  "kling-v2-6",
      -  "kling-v3",
      -  "kling-v3-omni",
      -  "kling-o1"
      -]New value: +[
      +  "kling-v1",
      +  "kling-v1-6",
      +  "kling-v2-master",
      +  "kling-v2-1-master",
      +  "kling-v2-5-turbo",
      +  "kling-v2-6",
      +  "kling-v3",
      +  "kling-v3-turbo",
      +  "kling-v3-omni",
      +  "kling-o1"
      +]
  2. Changed1 schema field changedv0.1.23
    • addedInput schema / properties / callback_url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional webhook URL for asynchronous result notification.",
      +  "title": "Callback Url"
      +}
  3. Changed1 schema field changedv0.1.21
    • changedInput schema / properties / model / default
      Previous value: -"kling-v2-master"New value: +"kling-v1"
  4. Changed1 schema field changedv0.1.18
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "kling-v1",
      -  "kling-v1-6",
      -  "kling-v2-master",
      -  "kling-v2-1-master",
      -  "kling-v2-5-turbo",
      -  "kling-v2-6",
      -  "kling-v3",
      -  "kling-v3-omni",
      -  "kling-video-o1"
      -]New value: +[
      +  "kling-v1",
      +  "kling-v1-6",
      +  "kling-v2-master",
      +  "kling-v2-1-master",
      +  "kling-v2-5-turbo",
      +  "kling-v2-6",
      +  "kling-v3",
      +  "kling-v3-omni",
      +  "kling-o1"
      +]
  5. Changed1 schema field changedv0.1.17
    • addedInput schema / properties / duration
      Added value: +{
      +  "default": 5,
      +  "description": "Duration of the extended segment in seconds. Supports 5 or 10.",
      +  "title": "Duration",
      +  "type": "integer"
      +}
  6. Changed2 schema fields changedv0.1.13
    • changedInput schema / properties / mode / description
      Previous value: -"Generation mode. 'std' (standard, default) or 'pro' (higher quality)."New value: +"Generation mode. 'std' (standard, default), 'pro' (higher quality), or '4k' (native 4K, only for kling-v3 and kling-v3-omni)."
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "std",
      -  "pro"
      -]New value: +[
      +  "std",
      +  "pro",
      +  "4k"
      +]
  7. Changed1 schema field changedv0.1.1
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "kling-v1",
      -  "kling-v1-6",
      -  "kling-v2-master",
      -  "kling-v2-1-master",
      -  "kling-v2-5-turbo",
      -  "kling-video-o1"
      -]New value: +[
      +  "kling-v1",
      +  "kling-v1-6",
      +  "kling-v2-master",
      +  "kling-v2-1-master",
      +  "kling-v2-5-turbo",
      +  "kling-v2-6",
      +  "kling-v3",
      +  "kling-v3-omni",
      +  "kling-video-o1"
      +]
  8. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description bears the full behavioral burden. It discloses that the operation is asynchronous by promising a returned Task ID and the callback_url param documents webhook notification. It does not cover permissions, cost, whether the extension is reversible, or rate limits, so meaningful gaps remain.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded purpose followed by scannable use-case bullets; every line is relevant. The second sentence ('adding more motion and content after the original video ends') and the Returns block restate information already conveyed by the title or the output schema, costing some brevity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter tool with an output schema present, the description needn't explain return values yet still gives a brief summary. Combined with the 100% schema coverage and explicit use cases, an agent has enough to call it correctly; only the async/permission behavior remains under-specified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all 8 parameters are already documented in the schema, including enums, defaults, and the 5/10 second duration constraint. The description adds no parameter-level detail beyond this, which is the expected baseline 3 when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Extend an existing video') and clarifies scope: continuing a previously generated video rather than creating a new one. It implicitly separates itself from siblings like kling_generate_video by requiring a prior video_id, but never names an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'Use this when' block gives three concrete scenarios (video too short, continue story/motion, build longer piece by piece) that establish clear context. However, it offers no when-not guidance or named alternatives such as kling_generate_video for fresh generations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.