Skip to main content
Glama

Kling AI MCP Server by useapi.net (third-party)

Generate an omni image

kling_omni_image

Kling Omni image from a prompt with up to 10 references (image_N, element_N; name them as @image_1 / @element_1). omni_version v3 (default; 1k / 2k / 4k, 1-4 credits an image), o1, or v4 = Kling Image 4.0 (2k / 4k / 8k, 4 / 6 / 10 credits an image; Series Mode from the prompt alone; presets in the prompt as @style:, @tone:, @font: "text", ids from kling_list_image_presets). v4 skill product_detail (a long product page from image_1, the product photo; length short / medium / long, 15-55 credits) or web_design (a long web page mockup, image_1 an optional style reference, 35-38 credits) makes one tall image instead. Usually done in a minute or two; finished images come back as links (and as images you can see when a file is under 3.5 MB, which most 2K and larger images are not). POST /images/omni.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "kling_omni_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoThe Kling account email. Optional: by default the account with the most free job slots; results name the account used. Pass it whenever an input belongs to one account (an uploaded file, a voice, an element, your own avatar or motion, a task_id).
skillNov4 only: product_detail (needs image_1, the product photo) or web_design. One tall image; no aspect_ratio, story_mode, elements or image_2..10.
lengthNoskill product_detail: short (2-5 sections), medium (default, 6-10) or long (11-18).
promptYesWhat the image shows. v4: @style:<id>, @tone:<id> and @font:<id> before quoted text apply presets from kling_list_image_presets.
image_1NoReference image 1; with skill product_detail the product photo, with web_design a style reference: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it).
image_2NoReference image 2: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it).
image_3NoReference image 3: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it).
image_4NoReference image 4: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it).
image_5NoReference image 5: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it).
image_6NoReference image 6: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it).
image_7NoReference image 7: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it).
image_8NoReference image 8: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it).
image_9NoReference image 9: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it).
image_10NoReference image 10: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it).
element_1NoElement 1: an element id (u_… / o_…).
element_2NoElement 2: an element id (u_… / o_…).
element_3NoElement 3: an element id (u_… / o_…).
element_4NoElement 4: an element id (u_… / o_…).
element_5NoElement 5: an element id (u_… / o_…).
element_6NoElement 6: an element id (u_… / o_…).
element_7NoElement 7: an element id (u_… / o_…).
element_8NoElement 8: an element id (u_… / o_…).
element_9NoElement 9: an element id (u_… / o_…).
unlimitedNoKling's unlimited generation mode, for Pro and higher Kling plans subscribed before December 15, 2025 (at most 5 tasks at once).
element_10NoElement 10: an element id (u_… / o_…).
imageCountNoImages, 1-9 (default 1; the cost multiplies). v4 story_mode: 2-10, or leave it out and Kling picks (Auto). A skill makes 1.
resolutionNov3: 1k (default), 2k, 4k (Kling VIP). o1: 1k, 2k. v4: 2k (default), 4k, 8k (4k and 8k Kling VIP); with a skill 1k or 2k (default).
story_modeNoSeries Mode, a consistent series: v3 needs a reference; v4 also works from the prompt alone.
aspect_ratioNoDefault: auto on v3 and v4, 16:9 on o1 (no auto). Not with a skill.
omni_versionNov3 (default), o1, or v4 (Kling Image 4.0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • changedInput schema / properties / aspect_ratio / description
      Previous value: -"Default: auto on v3, 16:9 on o1."New value: +"Default: auto on v3 and v4, 16:9 on o1 (no auto). Not with a skill."
    • changedInput schema / properties / imageCount / description
      Previous value: -"Images, 1-9 (default 1; the cost multiplies)."New value: +"Images, 1-9 (default 1; the cost multiplies). v4 story_mode: 2-10, or leave it out and Kling picks (Auto). A skill makes 1."
    • changedInput schema / properties / imageCount / maximum
      Previous value: -9New value: +10
    • changedInput schema / properties / image_1 / description
      Previous value: -"Reference image 1: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it)."New value: +"Reference image 1; with skill product_detail the product photo, with web_design a style reference: a public https URL, best one from kling_upload_asset (Kling must be able to fetch it)."
    • addedInput schema / properties / length
      Added value: +{
      +  "description": "skill product_detail: short (2-5 sections), medium (default, 6-10) or long (11-18).",
      +  "enum": [
      +    "short",
      +    "medium",
      +    "long"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / omni_version / description
      Previous value: -"v3 (default) or o1."New value: +"v3 (default), o1, or v4 (Kling Image 4.0)."
    • changedInput schema / properties / omni_version / enum
      Previous value: -[
      -  "o1",
      -  "v3"
      -]New value: +[
      +  "o1",
      +  "v3",
      +  "v4"
      +]
    • changedInput schema / properties / prompt / description
      Previous value: -"What the image shows."New value: +"What the image shows. v4: @style:<id>, @tone:<id> and @font:<id> before quoted text apply presets from kling_list_image_presets."
    • changedInput schema / properties / resolution / description
      Previous value: -"1k (default), 2k, or 4k (v3, Kling VIP)."New value: +"v3: 1k (default), 2k, 4k (Kling VIP). o1: 1k, 2k. v4: 2k (default), 4k, 8k (4k and 8k Kling VIP); with a skill 1k or 2k (default)."
    • changedInput schema / properties / resolution / enum
      Previous value: -[
      -  "1k",
      -  "2k",
      -  "4k"
      -]New value: +[
      +  "1k",
      +  "2k",
      +  "4k",
      +  "8k"
      +]
    • addedInput schema / properties / skill
      Added value: +{
      +  "description": "v4 only: product_detail (needs image_1, the product photo) or web_design. One tall image; no aspect_ratio, story_mode, elements or image_2..10.",
      +  "enum": [
      +    "product_detail",
      +    "web_design"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / story_mode / description
      Previous value: -"v3: a consistent series (needs a reference)."New value: +"Series Mode, a consistent series: v3 needs a reference; v4 also works from the prompt alone."
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations, the description discloses credit costs per version and resolution (1-4, 4/6/10, 15-55, 35-38), expected latency ('usually done in a minute or two'), and the return format (links, with inline images only under 3.5 MB). It also names the backend endpoint, POST /images/omni, which no annotation supplies.

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

Conciseness3/5

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

The opening clause is well front-loaded, but the rest is a dense run-on of parentheticals mixing credits, resolutions, preset syntax, skill modes and latency in one paragraph. Every fact is relevant, yet the version/credit matrices would be far easier to consume as structured parameter documentation.

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 a 30-parameter tool with no output schema, the definition covers cost, latency, return representation, cross-version constraints and mode exclusivity, which is close to what an agent needs. Remaining gaps are minor, such as failure behavior or how to poll for a finished task.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuinely new semantics: prompt references are written as @image_1 / @element_1, and v4 presets as @style:<id>, @tone:<id>, @font:<id>, with ids coming from kling_list_image_presets. These are conventions the schema does not state, though much of the version/credit table merely restates enum descriptions.

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?

The first clause states a specific verb and resource: generating a Kling Omni image from a prompt plus up to 10 references, and it enumerates the version variants (v3/o1/v4) and skill modes that scope the tool. It does not, however, contrast itself with other image-producing siblings such as kling_kolors_image or kling_enhance_image, so an agent must infer which generator to pick.

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?

Guidance is largely embedded in the parameter-level prose: use v4 skill product_detail for a product page, web_design for a mockup, Series Mode from the prompt alone on v4, and pull preset ids from kling_list_image_presets. Constraint conditions are explicit (a skill makes one tall image and excludes aspect_ratio, story_mode and extra references), but there is no explicit statement of when to prefer a different image tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources