kling

Kling by Ace Data Cloud

MCPMode: REMOTE0 downloads

Generate video from a prompt or reference image, explore motion and lip-sync tools, and retrieve an existing task. Use your own Ace Data Cloud key. Generation uses credits.

Kling

Kling by Ace Data Cloud

Generate video, animate a still, extend a clip, or apply motion and lip sync.

  1. Open Ace Data Cloud Applications and copy an application API key with access to Kling.
  2. Install this server from LangBot Space. Paste the key into the private token field without the Bearer prefix. LangBot supplies that prefix when it connects.
  3. Enable the server for your agent. Run kling_list_actions to explore the supported operations. Use kling_get_task with an existing task ID to retrieve the video.

Media generation uses Ace credits. View service pricing.

Source and usage · Support · Privacy

Available tools
kling_generate_with_assets

Generate with platform element or voice IDs. Specified V2.6 voices cost 1.68 Credits/second. Ownership is verified by the service.

Parameters
{
  "type": "object",
  "$defs": {
    "VoiceReference": {
      "type": "object",
      "title": "VoiceReference",
      "required": [
        "voice_id"
      ],
      "properties": {
        "voice_id": {
          "type": "string",
          "title": "Voice Id",
          "minLength": 1,
          "description": "Owned or verified preset platform voice ID."
        }
      },
      "additionalProperties": false
    },
    "ElementReference": {
      "type": "object",
      "title": "ElementReference",
      "required": [
        "element_id"
      ],
      "properties": {
        "element_id": {
          "type": "string",
          "title": "Element Id",
          "minLength": 1,
          "description": "Owned or verified preset platform element ID."
        }
      },
      "additionalProperties": false
    },
    "AssetVideoRequest": {
      "type": "object",
      "title": "AssetVideoRequest",
      "required": [
        "prompt"
      ],
      "properties": {
        "mode": {
          "enum": [
            "std",
            "pro",
            "4k"
          ],
          "type": "string",
          "title": "Mode",
          "default": "std"
        },
        "async": {
          "type": "boolean",
          "title": "Async",
          "default": true
        },
        "model": {
          "enum": [
            "kling-v3",
            "kling-v3-omni",
            "kling-o1",
            "kling-v2-6"
          ],
          "type": "string",
          "title": "Model",
          "default": "kling-v3"
        },
        "action": {
          "enum": [
            "text2video",
            "image2video"
          ],
          "type": "string",
          "title": "Action",
          "default": "text2video"
        },
        "prompt": {
          "type": "string",
          "title": "Prompt",
          "minLength": 1
        },
        "duration": {
          "type": "integer",
          "title": "Duration",
          "default": 5,
          "maximum": 15,
          "minimum": 3
        },
        "cfg_scale": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ],
          "title": "Cfg Scale",
          "default": null
        },
        "image_list": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "$ref": "#/$defs/KlingReferenceImage"
              },
              "maxItems": 7,
              "minItems": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Image List",
          "default": null
        },
        "video_list": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "$ref": "#/$defs/KlingReferenceVideo"
              },
              "maxItems": 1,
              "minItems": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Video List",
          "default": null
        },
        "voice_list": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "$ref": "#/$defs/VoiceReference"
              },
              "maxItems": 2,
              "minItems": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Voice List",
          "default": null
        },
        "aspect_ratio": {
          "enum": [
            "16:9",
            "9:16",
            "1:1"
          ],
          "type": "string",
          "title": "Aspect Ratio",
          "default": "16:9"
        },
        "callback_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Callback Url",
          "default": null
        },
        "element_list": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "$ref": "#/$defs/ElementReference"
              },
              "maxItems": 3,
              "minItems": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Element List",
          "default": null
        },
        "end_image_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "End Image Url",
          "default": null
        },
        "camera_control": {
          "anyOf": [
            {
              "$ref": "#/$defs/KlingCameraControl"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "generate_audio": {
          "type": "boolean",
          "title": "Generate Audio",
          "default": false
        },
        "negative_prompt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Negative Prompt",
          "default": null
        },
        "start_image_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Start Image Url",
          "default": null
        }
      },
      "additionalProperties": false
    },
    "KlingCameraControl": {
      "type": "object",
      "title": "KlingCameraControl",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "enum": [
            "simple",
            "down_back",
            "forward_up",
            "left_turn_forward",
            "right_turn_forward"
          ],
          "type": "string",
          "title": "Type"
        },
        "config": {
          "anyOf": [
            {
              "$ref": "#/$defs/KlingCameraControlConfig"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "description": "Structured camera-control request."
    },
    "KlingReferenceImage": {
      "type": "object",
      "title": "KlingReferenceImage",
      "required": [
        "image_url"
      ],
      "properties": {
        "type": {
          "anyOf": [
            {
              "enum": [
                "first_frame",
                "end_frame"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Type",
          "default": null
        },
        "image_url": {
          "type": "string",
          "title": "Image Url",
          "format": "uri",
          "maxLength": 2083,
          "minLength": 1
        }
      },
      "description": "Omni reference image, optionally used as a first or end frame."
    },
    "KlingReferenceVideo": {
      "type": "object",
      "title": "KlingReferenceVideo",
      "required": [
        "video_url"
      ],
      "properties": {
        "video_url": {
          "type": "string",
          "title": "Video Url",
          "format": "uri",
          "maxLength": 2083,
          "minLength": 1
        },
        "refer_type": {
          "enum": [
            "feature",
            "base"
          ],
          "type": "string",
          "title": "Refer Type",
          "default": "feature"
        },
        "keep_original_sound": {
          "enum": [
            "yes",
            "no"
          ],
          "type": "string",
          "title": "Keep Original Sound",
          "default": "no"
        }
      },
      "description": "Omni feature reference or editable base video."
    },
    "KlingCameraControlConfig": {
      "type": "object",
      "title": "KlingCameraControlConfig",
      "properties": {
        "pan": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1,
              "minimum": -1
            },
            {
              "type": "null"
            }
          ],
          "title": "Pan",
          "default": null
        },
        "roll": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1,
              "minimum": -1
            },
            {
              "type": "null"
            }
          ],
          "title": "Roll",
          "default": null
        },
        "tilt": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1,
              "minimum": -1
            },
            {
              "type": "null"
            }
          ],
          "title": "Tilt",
          "default": null
        },
        "zoom": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1,
              "minimum": -1
            },
            {
              "type": "null"
            }
          ],
          "title": "Zoom",
          "default": null
        },
        "vertical": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1,
              "minimum": -1
            },
            {
              "type": "null"
            }
          ],
          "title": "Vertical",
          "default": null
        },
        "horizontal": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1,
              "minimum": -1
            },
            {
              "type": "null"
            }
          ],
          "title": "Horizontal",
          "default": null
        }
      },
      "description": "Numeric camera controls accepted by Kling's simple preset.",
      "additionalProperties": {
        "type": "number",
        "maximum": 1,
        "minimum": -1
      }
    }
  },
  "title": "kling_generate_with_assetsArguments",
  "required": [
    "request"
  ],
  "properties": {
    "request": {
      "$ref": "#/$defs/AssetVideoRequest"
    }
  }
}
kling_list_models

List all available Kling models for video generation. Shows all available model options with their capabilities and use cases. Use this to understand which model to choose for your video. Returns: Table of all models with their descriptions and use cases.

Parameters
{
  "type": "object",
  "title": "kling_list_modelsArguments",
  "properties": {}
}
kling_list_actions

List all available Kling API actions and corresponding tools. Reference guide for what each action does and which tool to use. Helpful for understanding the full capabilities of the Kling MCP. Returns: Categorized list of all actions and their corresponding tools.

Parameters
{
  "type": "object",
  "title": "kling_list_actionsArguments",
  "properties": {}
}
kling_lip_sync

Synchronize lip movements in a video to match a given audio track or text. Takes an existing video (by URL or task ID) and replaces the speaker's lip movements so they match the provided audio. In 'text2video' mode the audio is generated from the supplied text via TTS. Use this when: - You want to dub a video into a different language - You want to replace the audio of a generated video with custom speech - You want to create a talking-head video from text Returns: Task ID and lip-sync video information.

Parameters
{
  "type": "object",
  "title": "kling_lip_syncArguments",
  "required": [
    "mode"
  ],
  "properties": {
    "mode": {
      "enum": [
        "audio2video",
        "text2video"
      ],
      "type": "string",
      "title": "Mode",
      "description": "Lip-sync mode. 'audio2video' to drive lips from an audio file or URL; 'text2video' to generate speech from text and drive the video."
    },
    "text": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Text",
      "default": null,
      "description": "Text to convert to speech. Required when mode='text2video'."
    },
    "video_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Video Id",
      "default": null,
      "description": "Task ID of a previously generated video to use as the source. Provide either video_url or video_id."
    },
    "voice_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Voice Id",
      "default": null,
      "description": "Voice ID to use for text-to-speech synthesis (mode='text2video')."
    },
    "audio_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Audio Url",
      "default": null,
      "description": "URL of the driving audio. Required when mode='audio2video' and audio_type='url'."
    },
    "video_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Video Url",
      "default": null,
      "description": "URL of the source video whose lip movements will be replaced. Provide either video_url or video_id."
    },
    "audio_file": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Audio File",
      "default": null,
      "description": "Base64-encoded audio file content. Required when mode='audio2video' and audio_type='file'."
    },
    "audio_type": {
      "enum": [
        "url",
        "file"
      ],
      "type": "string",
      "title": "Audio Type",
      "default": "url",
      "description": "Audio source type. 'url' (default) to supply audio_url; 'file' to supply audio_file as a base64-encoded string."
    },
    "voice_speed": {
      "type": "number",
      "title": "Voice Speed",
      "default": 1,
      "maximum": 2,
      "minimum": 0.8,
      "description": "Speech speed multiplier from 0.8 to 2.0 (default 1.0). Used when mode='text2video'."
    },
    "callback_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Callback Url",
      "default": null,
      "description": "Webhook URL that receives a POST when the lip-sync task completes."
    },
    "voice_language": {
      "enum": [
        "zh",
        "en"
      ],
      "type": "string",
      "title": "Voice Language",
      "default": "zh",
      "description": "Language of the TTS voice. 'zh' for Chinese (default), 'en' for English. Used when mode='text2video'."
    }
  }
}
kling_talking_photo

Animate a portrait photo to match a provided audio track (talking-photo). Given a face image and an audio file, generates a short video where the portrait's lips, expressions, and head movements are synchronized to the audio. Use this when: - You want to create a talking-head video from a static photo - You want to make a person in a photo appear to speak - You need a quick avatar video without real footage Returns: Task ID and talking-photo video information.

Parameters
{
  "type": "object",
  "title": "kling_talking_photoArguments",
  "required": [
    "image_url",
    "audio_url"
  ],
  "properties": {
    "mode": {
      "enum": [
        "std",
        "pro"
      ],
      "type": "string",
      "title": "Mode",
      "default": "pro",
      "description": "Generation quality mode. 'pro' (default) for higher quality; 'std' for faster generation."
    },
    "model": {
      "enum": [
        "kling-v1",
        "kling-v1-6",
        "kling-v2-master",
        "kling-v2-1-master",
        "kling-v2-5-turbo",
        "kling-v2-6"
      ],
      "type": "string",
      "title": "Model",
      "default": "kling-v2-1-master",
      "description": "Kling model version. Default is 'kling-v2-1-master'. Options: kling-v1, kling-v1-6, kling-v2-master, kling-v2-1-master, kling-v2-5-turbo, kling-v2-6."
    },
    "prompt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Prompt",
      "default": null,
      "description": "Optional text description to guide the animation style or content."
    },
    "duration": {
      "enum": [
        5,
        10
      ],
      "type": "integer",
      "title": "Duration",
      "default": 5,
      "description": "Video duration in seconds. Options: 5 (default) or 10."
    },
    "audio_url": {
      "type": "string",
      "title": "Audio Url",
      "description": "URL of the audio file that drives the talking animation."
    },
    "image_url": {
      "type": "string",
      "title": "Image Url",
      "description": "URL of the portrait image to animate. Should be a clear frontal face photo."
    },
    "callback_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Callback Url",
      "default": null,
      "description": "Webhook URL that receives a POST when the talking-photo task completes."
    }
  }
}
kling_generate_motion

Transfer motion from a reference video to a character image. This tool enables character animation by extracting motion from a video and applying it to a static character image. Use this when: - You want to animate a character image using motion from a video - You want to create a dance or movement video from a still photo - You need to transfer specific movements to a character Returns: Task ID and motion generation information.

Parameters
{
  "type": "object",
  "$defs": {
    "KlingWatermarkInfo": {
      "type": "object",
      "title": "KlingWatermarkInfo",
      "properties": {
        "enabled": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Enabled",
          "default": null
        }
      },
      "description": "Watermark configuration for motion transfer."
    }
  },
  "title": "kling_generate_motionArguments",
  "required": [
    "image_url",
    "video_url"
  ],
  "properties": {
    "mode": {
      "enum": [
        "std",
        "pro"
      ],
      "type": "string",
      "title": "Mode",
      "default": "std",
      "description": "Generation mode. 'std' (standard, default) for faster generation, 'pro' for higher quality."
    },
    "prompt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Prompt",
      "default": null,
      "description": "Optional text description to guide the motion transfer. Use to add details about the desired output."
    },
    "image_url": {
      "type": "string",
      "title": "Image Url",
      "description": "URL of the character image to animate. The character in this image will be animated with the motion from the reference video."
    },
    "video_url": {
      "type": "string",
      "title": "Video Url",
      "description": "URL of the reference video providing the motion. The character movements from this video will be transferred to the image."
    },
    "model_name": {
      "anyOf": [
        {
          "enum": [
            "kling-v2-6",
            "kling-v3"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Model Name",
      "default": null,
      "description": "Optional Kling motion model name, such as 'kling-v2-6' or 'kling-v3'."
    },
    "callback_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Callback Url",
      "default": null,
      "description": "Webhook callback URL for asynchronous notifications."
    },
    "watermark_info": {
      "anyOf": [
        {
          "$ref": "#/$defs/KlingWatermarkInfo"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional watermark configuration forwarded to the API."
    },
    "keep_original_sound": {
      "anyOf": [
        {
          "enum": [
            "yes",
            "no"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Keep Original Sound",
      "default": null,
      "description": "Whether to keep the original sound from the reference video. Options: 'yes' or 'no'. Default depends on API."
    },
    "character_orientation": {
      "enum": [
        "image",
        "video"
      ],
      "type": "string",
      "title": "Character Orientation",
      "default": "image",
      "description": "Orientation of the character. 'image' (default) uses the orientation from the character image, 'video' uses the orientation from the reference video."
    }
  }
}
kling_generate_turbo_video

Generate V3 Turbo 720p/1080p, 3–15 seconds. Native audio is included with no off switch. Poll kling_get_task.

Parameters
{
  "type": "object",
  "$defs": {
    "TurboRequest": {
      "type": "object",
      "title": "TurboRequest",
      "required": [
        "prompt"
      ],
      "properties": {
        "mode": {
          "enum": [
            "std",
            "pro"
          ],
          "type": "string",
          "title": "Mode",
          "default": "std"
        },
        "async": {
          "type": "boolean",
          "title": "Async",
          "default": true
        },
        "model": {
          "type": "string",
          "const": "kling-v3-turbo",
          "title": "Model",
          "default": "kling-v3-turbo"
        },
        "action": {
          "enum": [
            "text2video",
            "image2video"
          ],
          "type": "string",
          "title": "Action",
          "default": "text2video"
        },
        "prompt": {
          "type": "string",
          "title": "Prompt",
          "maxLength": 2500,
          "minLength": 1
        },
        "duration": {
          "type": "integer",
          "title": "Duration",
          "default": 5,
          "maximum": 15,
          "minimum": 3
        },
        "aspect_ratio": {
          "enum": [
            "16:9",
            "9:16",
            "1:1"
          ],
          "type": "string",
          "title": "Aspect Ratio",
          "default": "16:9"
        },
        "callback_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Callback Url",
          "default": null
        },
        "generate_audio": {
          "type": "boolean",
          "const": true,
          "title": "Generate Audio",
          "default": true
        },
        "start_image_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Start Image Url",
          "default": null
        }
      },
      "additionalProperties": false
    }
  },
  "title": "kling_generate_turbo_videoArguments",
  "required": [
    "request"
  ],
  "properties": {
    "request": {
      "$ref": "#/$defs/TurboRequest"
    }
  }
}
kling_generate_storyboard

Generate V3/V3 Omni multishot video with optional elements and Omni references. Poll kling_get_task.

Parameters
{
  "type": "object",
  "$defs": {
    "Shot": {
      "type": "object",
      "title": "Shot",
      "required": [
        "index",
        "prompt",
        "duration"
      ],
      "properties": {
        "index": {
          "type": "integer",
          "title": "Index",
          "maximum": 6,
          "minimum": 1
        },
        "prompt": {
          "type": "string",
          "title": "Prompt",
          "maxLength": 512,
          "minLength": 1
        },
        "duration": {
          "type": "integer",
          "title": "Duration",
          "minimum": 1
        }
      },
      "additionalProperties": false
    },
    "ElementReference": {
      "type": "object",
      "title": "ElementReference",
      "required": [
        "element_id"
      ],
      "properties": {
        "element_id": {
          "type": "string",
          "title": "Element Id",
          "minLength": 1,
          "description": "Owned or verified preset platform element ID."
        }
      },
      "additionalProperties": false
    },
    "StoryboardRequest": {
      "type": "object",
      "title": "StoryboardRequest",
      "properties": {
        "mode": {
          "enum": [
            "std",
            "pro",
            "4k"
          ],
          "type": "string",
          "title": "Mode",
          "default": "std"
        },
        "async": {
          "type": "boolean",
          "title": "Async",
          "default": true
        },
        "model": {
          "enum": [
            "kling-v3",
            "kling-v3-omni"
          ],
          "type": "string",
          "title": "Model",
          "default": "kling-v3"
        },
        "action": {
          "enum": [
            "text2video",
            "image2video"
          ],
          "type": "string",
          "title": "Action",
          "default": "text2video"
        },
        "prompt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Prompt",
          "default": null
        },
        "duration": {
          "type": "integer",
          "title": "Duration",
          "default": 5,
          "maximum": 15,
          "minimum": 3
        },
        "cfg_scale": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ],
          "title": "Cfg Scale",
          "default": null
        },
        "shot_type": {
          "enum": [
            "intelligence",
            "customize"
          ],
          "type": "string",
          "title": "Shot Type",
          "default": "intelligence"
        },
        "image_list": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "$ref": "#/$defs/KlingReferenceImage"
              },
              "maxItems": 7,
              "minItems": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Image List",
          "default": null
        },
        "multi_shot": {
          "type": "boolean",
          "const": true,
          "title": "Multi Shot",
          "default": true
        },
        "video_list": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "$ref": "#/$defs/KlingReferenceVideo"
              },
              "maxItems": 1,
              "minItems": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Video List",
          "default": null
        },
        "aspect_ratio": {
          "enum": [
            "16:9",
            "9:16",
            "1:1"
          ],
          "type": "string",
          "title": "Aspect Ratio",
          "default": "16:9"
        },
        "callback_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Callback Url",
          "default": null
        },
        "element_list": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "$ref": "#/$defs/ElementReference"
              },
              "maxItems": 3,
              "minItems": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Element List",
          "default": null
        },
        "multi_prompt": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "$ref": "#/$defs/Shot"
              },
              "maxItems": 6,
              "minItems": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Multi Prompt",
          "default": null
        },
        "end_image_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "End Image Url",
          "default": null
        },
        "camera_control": {
          "anyOf": [
            {
              "$ref": "#/$defs/KlingCameraControl"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "generate_audio": {
          "type": "boolean",
          "title": "Generate Audio",
          "default": false
        },
        "negative_prompt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Negative Prompt",
          "default": null
        },
        "start_image_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Start Image Url",
          "default": null
        }
      },
      "additionalProperties": false
    },
    "KlingCameraControl": {
      "type": "object",
      "title": "KlingCameraControl",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "enum": [
            "simple",
            "down_back",
            "forward_up",
            "left_turn_forward",
            "right_turn_forward"
          ],
          "type": "string",
          "title": "Type"
        },
        "config": {
          "anyOf": [
            {
              "$ref": "#/$defs/KlingCameraControlConfig"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "description": "Structured camera-control request."
    },
    "KlingReferenceImage": {
      "type": "object",
      "title": "KlingReferenceImage",
      "required": [
        "image_url"
      ],
      "properties": {
        "type": {
          "anyOf": [
            {
              "enum": [
                "first_frame",
                "end_frame"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Type",
          "default": null
        },
        "image_url": {
          "type": "string",
          "title": "Image Url",
          "format": "uri",
          "maxLength": 2083,
          "minLength": 1
        }
      },
      "description": "Omni reference image, optionally used as a first or end frame."
    },
    "KlingReferenceVideo": {
      "type": "object",
      "title": "KlingReferenceVideo",
      "required": [
        "video_url"
      ],
      "properties": {
        "video_url": {
          "type": "string",
          "title": "Video Url",
          "format": "uri",
          "maxLength": 2083,
          "minLength": 1
        },
        "refer_type": {
          "enum": [
            "feature",
            "base"
          ],
          "type": "string",
          "title": "Refer Type",
          "default": "feature"
        },
        "keep_original_sound": {
          "enum": [
            "yes",
            "no"
          ],
          "type": "string",
          "title": "Keep Original Sound",
          "default": "no"
        }
      },
      "description": "Omni feature reference or editable base video."
    },
    "KlingCameraControlConfig": {
      "type": "object",
      "title": "KlingCameraControlConfig",
      "properties": {
        "pan": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1,
              "minimum": -1
            },
            {
              "type": "null"
            }
          ],
          "title": "Pan",
          "default": null
        },
        "roll": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1,
              "minimum": -1
            },
            {
              "type": "null"
            }
          ],
          "title": "Roll",
          "default": null
        },
        "tilt": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1,
              "minimum": -1
            },
            {
              "type": "null"
            }
          ],
          "title": "Tilt",
          "default": null
        },
        "zoom": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1,
              "minimum": -1
            },
            {
              "type": "null"
            }
          ],
          "title": "Zoom",
          "default": null
        },
        "vertical": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1,
              "minimum": -1
            },
            {
              "type": "null"
            }
          ],
          "title": "Vertical",
          "default": null
        },
        "horizontal": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1,
              "minimum": -1
            },
            {
              "type": "null"
            }
          ],
          "title": "Horizontal",
          "default": null
        }
      },
      "description": "Numeric camera controls accepted by Kling's simple preset.",
      "additionalProperties": {
        "type": "number",
        "maximum": 1,
        "minimum": -1
      }
    }
  },
  "title": "kling_generate_storyboardArguments",
  "required": [
    "request"
  ],
  "properties": {
    "request": {
      "$ref": "#/$defs/StoryboardRequest"
    }
  }
}
kling_goods_studio

Generate product studio video from ref_image and goods_title contents. Poll kling_get_task.

Parameters
{
  "type": "object",
  "$defs": {
    "Content": {
      "type": "object",
      "title": "Content",
      "required": [
        "type"
      ],
      "properties": {
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url",
          "default": null
        },
        "text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Text",
          "default": null
        },
        "type": {
          "enum": [
            "product_info",
            "source_video",
            "product_image",
            "model_image",
            "bgm",
            "voice",
            "ref_image",
            "goods_title",
            "goods_description",
            "avatar_image",
            "avatar_id",
            "goods_price",
            "goods_target_audience",
            "goods_selling_point",
            "speech_script",
            "person_image"
          ],
          "type": "string",
          "title": "Type"
        },
        "voice_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Voice Id",
          "default": null
        }
      },
      "additionalProperties": false
    },
    "GoodsRequest": {
      "type": "object",
      "title": "GoodsRequest",
      "required": [
        "contents",
        "settings"
      ],
      "properties": {
        "async": {
          "type": "boolean",
          "title": "Async",
          "default": true
        },
        "contents": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Content"
          },
          "title": "Contents",
          "minItems": 1
        },
        "settings": {
          "$ref": "#/$defs/GoodsSettings"
        },
        "watermark": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Watermark",
          "default": null
        },
        "callback_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Callback Url",
          "default": null
        }
      },
      "additionalProperties": false
    },
    "GoodsSettings": {
      "type": "object",
      "title": "GoodsSettings",
      "required": [
        "aspect_ratio",
        "duration"
      ],
      "properties": {
        "duration": {
          "enum": [
            15,
            30,
            60
          ],
          "type": "integer",
          "title": "Duration"
        },
        "resolution": {
          "enum": [
            "720p",
            "1080p"
          ],
          "type": "string",
          "title": "Resolution",
          "default": "720p"
        },
        "aspect_ratio": {
          "enum": [
            "9:16",
            "1:1",
            "16:9"
          ],
          "type": "string",
          "title": "Aspect Ratio"
        }
      },
      "additionalProperties": false
    }
  },
  "title": "kling_goods_studioArguments",
  "required": [
    "request"
  ],
  "properties": {
    "request": {
      "$ref": "#/$defs/GoodsRequest"
    }
  }
}
kling_video_commerce

Generate creator/product voiceover from an avatar and speech_script. Poll kling_get_task.

Parameters
{
  "type": "object",
  "$defs": {
    "Content": {
      "type": "object",
      "title": "Content",
      "required": [
        "type"
      ],
      "properties": {
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url",
          "default": null
        },
        "text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Text",
          "default": null
        },
        "type": {
          "enum": [
            "product_info",
            "source_video",
            "product_image",
            "model_image",
            "bgm",
            "voice",
            "ref_image",
            "goods_title",
            "goods_description",
            "avatar_image",
            "avatar_id",
            "goods_price",
            "goods_target_audience",
            "goods_selling_point",
            "speech_script",
            "person_image"
          ],
          "type": "string",
          "title": "Type"
        },
        "voice_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Voice Id",
          "default": null
        }
      },
      "additionalProperties": false
    },
    "CommerceRequest": {
      "type": "object",
      "title": "CommerceRequest",
      "required": [
        "contents"
      ],
      "properties": {
        "async": {
          "type": "boolean",
          "title": "Async",
          "default": true
        },
        "contents": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Content"
          },
          "title": "Contents",
          "minItems": 1
        },
        "settings": {
          "$ref": "#/$defs/CommerceSettings"
        },
        "watermark": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Watermark",
          "default": null
        },
        "callback_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Callback Url",
          "default": null
        }
      },
      "additionalProperties": false
    },
    "CommerceSettings": {
      "type": "object",
      "title": "CommerceSettings",
      "properties": {
        "voice_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Voice Id",
          "default": null
        },
        "resolution": {
          "enum": [
            "720p",
            "1080p"
          ],
          "type": "string",
          "title": "Resolution",
          "default": "720p"
        },
        "bgm_enabled": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Bgm Enabled",
          "default": null
        },
        "speech_rate": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Speech Rate",
          "default": null,
          "description": "Supported speech rates: 0.8, 1.0, 1.2; unavailable for product voiceover."
        },
        "allow_polish": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Allow Polish",
          "default": null
        },
        "aspect_ratio": {
          "enum": [
            "9:16",
            "16:9"
          ],
          "type": "string",
          "title": "Aspect Ratio",
          "default": "9:16"
        },
        "action_prompt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Action Prompt",
          "default": null
        }
      },
      "additionalProperties": false
    }
  },
  "title": "kling_video_commerceArguments",
  "required": [
    "request"
  ],
  "properties": {
    "request": {
      "$ref": "#/$defs/CommerceRequest"
    }
  }
}
kling_get_task

Query the status and result of a video generation task. Use this to check if a generation is complete and retrieve the resulting video URLs and other metadata. Use this when: - You want to check if a generation has completed - You need to retrieve video URLs from a previous generation - You want to get the full details of a generated video Task states: - 'pending': Generation is still in progress - 'completed': Generation finished successfully - 'failed': Generation failed (check error message) Returns: Task status and generated video information including URLs and state.

Parameters
{
  "type": "object",
  "title": "kling_get_taskArguments",
  "required": [
    "task_id"
  ],
  "properties": {
    "task_id": {
      "type": "string",
      "title": "Task Id",
      "description": "The task ID returned from a generation request. This is the 'task_id' field from any kling_generate_* or kling_extend_* tool response."
    }
  }
}
kling_get_tasks_batch

Query multiple video generation tasks at once. Efficiently check the status of multiple tasks in a single request. More efficient than calling kling_get_task multiple times. Use this when: - You have multiple pending generations to check - You want to get status of several videos at once - You're tracking a batch of generations Returns: Status and video information for all queried tasks.

Parameters
{
  "type": "object",
  "title": "kling_get_tasks_batchArguments",
  "required": [
    "task_ids"
  ],
  "properties": {
    "task_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "Task Ids",
      "description": "List of task IDs to query. Maximum recommended batch size is 50 tasks."
    }
  }
}

Use Kling by Ace Data Cloud in Feishu/Lark bots, DingTalk bots, WeCom bots, WeChat bots, QQ bots, Slack bots, Discord bots, Telegram bots, LINE Bots, and Matrix Bots.

Host your bot on LangBot Cloud and connect this extension to the collaboration platforms your team already uses.

Open LangBot Cloud

Comments