Skip to main content
Glama

MCP Kling

by 199-mcp

generate_image

Create high-quality images from text prompts with customizable aspect ratios, model versions, and optional character references for enhanced creative control.

Instructions

Generate images from text prompts using Kling AI. Create high-quality images with multiple aspect ratios and optional character reference support. Supports models v1, v1.5, and v2 with customizable parameters for creative control.

Input Schema

NameRequiredDescriptionDefault
aspect_ratioNoImage aspect ratio (default: 1:1)
model_nameNoModel version to use (default: kling-v2-master)
negative_promptNoText describing what to avoid in the image (optional)
num_imagesNoNumber of images to generate (default: 1)
promptYesText prompt describing the image to generate
ref_image_urlNoOptional reference image URL for character consistency
ref_image_weightNoWeight of reference image influence (0-1, default: 0.5)

Input Schema (JSON Schema)

{ "properties": { "aspect_ratio": { "description": "Image aspect ratio (default: 1:1)", "enum": [ "16:9", "9:16", "1:1", "4:3", "3:4", "2:3", "3:2" ], "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 image (optional)", "type": "string" }, "num_images": { "description": "Number of images to generate (default: 1)", "maximum": 4, "minimum": 1, "type": "number" }, "prompt": { "description": "Text prompt describing the image to generate", "type": "string" }, "ref_image_url": { "description": "Optional reference image URL for character consistency", "type": "string" }, "ref_image_weight": { "description": "Weight of reference image influence (0-1, default: 0.5)", "maximum": 1, "minimum": 0, "type": "number" } }, "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