Skip to main content
Glama

MCP Kling

by 199-mcp

generate_video

Create videos from text prompts using Kling AI. Customize aspect ratio, duration, camera control, and creative freedom for tailored outputs. Supports multiple model versions and generation modes.

Instructions

Generate a video from text prompt using Kling AI

Input Schema

NameRequiredDescriptionDefault
aspect_ratioNoVideo aspect ratio (default: 16:9)
camera_controlNoCamera movement settings for V2 models
cfg_scaleNoCreative freedom scale 0-1 (0=more creative, 1=more adherent to prompt, default: 0.5)
durationNoVideo duration in seconds (default: 5)
modeNoVideo generation mode (default: standard)
model_nameNoModel version to use (default: kling-v2-master)
negative_promptNoText describing what to avoid in the video (optional, max 2500 characters)
promptYesText prompt describing the video to generate (max 2500 characters)

Input Schema (JSON Schema)

{ "properties": { "aspect_ratio": { "description": "Video aspect ratio (default: 16:9)", "enum": [ "16:9", "9:16", "1:1" ], "type": "string" }, "camera_control": { "description": "Camera movement settings for V2 models", "properties": { "config": { "description": "Camera movement configuration (only for \"simple\" type)", "properties": { "horizontal": { "description": "Horizontal movement [-10, 10]", "maximum": 10, "minimum": -10, "type": "number" }, "pan": { "description": "Pan rotation [-10, 10]", "maximum": 10, "minimum": -10, "type": "number" }, "roll": { "description": "Roll rotation [-10, 10]", "maximum": 10, "minimum": -10, "type": "number" }, "tilt": { "description": "Tilt rotation [-10, 10]", "maximum": 10, "minimum": -10, "type": "number" }, "vertical": { "description": "Vertical movement [-10, 10]", "maximum": 10, "minimum": -10, "type": "number" }, "zoom": { "description": "Zoom [-10, 10]", "maximum": 10, "minimum": -10, "type": "number" } }, "type": "object" }, "type": { "description": "Camera movement type", "enum": [ "simple", "down_back", "forward_up", "right_turn_forward", "left_turn_forward" ], "type": "string" } }, "type": "object" }, "cfg_scale": { "description": "Creative freedom scale 0-1 (0=more creative, 1=more adherent to prompt, default: 0.5)", "maximum": 1, "minimum": 0, "type": "number" }, "duration": { "description": "Video duration in seconds (default: 5)", "enum": [ "5", "10" ], "type": "string" }, "mode": { "description": "Video generation mode (default: standard)", "enum": [ "standard", "professional" ], "type": "string" }, "model_name": { "description": "Model version to use (default: kling-v2-master)", "enum": [ "kling-v1", "kling-v1.5", "kling-v1.6", "kling-v2-master" ], "type": "string" }, "negative_prompt": { "description": "Text describing what to avoid in the video (optional, max 2500 characters)", "type": "string" }, "prompt": { "description": "Text prompt describing the video to generate (max 2500 characters)", "type": "string" } }, "required": [ "prompt" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/199-mcp/mcp-kling'

If you have feedback or need assistance with the MCP directory API, please join our Discord server