🎬 Kling Ai Generate Image

Write or refine Kling AI image prompts, including prompt-only requests, or generate and edit images through the Kling AI MCP in Claude Code. Use for posters, product photography, portraits, covers, ad

NEEDS AN EXTERNAL SERVICE

Kling Ai Generate Image connects to an MCP server. It can need an account, an API key, or paid credits, and copying the prompt alone will not work. See the source repository for pricing and setup.

QUICK INSTALL
/plugin marketplace add klingai-tech/claude-plugin /plugin install kling-ai@klingai

Kling Ai Generate Image instructions

Kling AI image generation

Deliver the user's current step. For writing or refining an image prompt only,
return the requested prompt and finish. Preserve composition requirements such
as left-side copy space; do not append model, aspect-ratio, resolution or output
count recommendations, or invitations to generate. The workflow and quality
defaults below apply only when preparing or submitting generation, not to
prompt-only writing.

For generation, follow the Claude Code OAuth, billing confirmation,
single-submission, status, and result rules in the [core Kling Skill](../kling-ai/SKILL.md).

Read [prompt construction](references/prompt-construction.md) for reference images, exact copy, branded assets, or controlled variants. Read [scene patterns](references/scene-patterns.md) for product, advertising, portrait, poster, or cover work. For Element reuse or local media, also read the core [asset workflows](../kling-ai/references/asset-workflows.md).

Workflow

  1. Use text_to_image for a new image. Use image_to_image when source media controls identity, product structure, composition, editable content, or style. An attachment alone does not determine the mode.
  2. Ask only for missing information that materially changes the result: subject, destination and aspect ratio, required copy, reference roles, protected facts, or output count.
  3. Create or reuse the UUIDv7 taskTraceId for this objective, follow [capability discovery](../kling-ai/references/capability-discovery.md), and select a compatible tool/model pair from this account's who_am_i response. Apply [model parameters](../kling-ai/references/model-parameters.md) before constructing arguments or reference bindings.
  4. Upload local images first and use only the live input names and returned URLs. Never silently degrade to text-to-image after an upload failure.
  5. Build one prompt covering subject, action, environment, composition, lighting, color, materials, camera language, protected facts, and necessary exclusions.
  6. Show the final mode, model, prompt summary, resolution, aspect ratio, output count, and reference roles. Obtain explicit approval under the core Skill's billing rule; honor an existing explicit authorization for the final settings.
  7. Call the image generation tool exactly once and preserve the task number. If its MCP App mounts, let that one App self-refresh and do not call query_tasks from the model. If no App mounts, follow the core Skill's headless polling fallback; never resubmit.
  8. When Claude Code renders the MCP App, do not add Markdown media or duplicate links. When no App is rendered, provide one primary image link.

Mode rules

  • Element support follows the selected model's declared resource types and binding argument, not the entry point name.
  • Image-to-image may use one or more images with explicit roles. State the purpose of every image when multiple references are present.
  • Before using an Element subject, follow the core asset workflow, call element_get, and choose a model that explicitly supports the resource type and binding argument. Check individual and combined reference caps, and bind the exact ID with the model's declared prompt and structured syntax.
  • For a variant, lock every fact that the user did not ask to change. Change one major dimension per confirmed generation.
  • A status request uses only query_tasks; it does not create an image.

Quality defaults

  • Prefer live-supported 2k for normal delivery, 4k for commercial work, advertising, fine materials, or crop-heavy post-production, and 1k only for drafts, speed, or credit savings. Never lower a higher live default.
  • Infer ratio from destination: 1:1 for square social or product media, 4:5 for portrait feeds, 9:16 for stories or vertical covers, and 16:9 for banners or thumbnails.
  • Generate one image unless the user requests more.
  • Unless the user explicitly requests text inside the generated image, prefer a clean image with intentional copy-safe space.
  • Treat brand names, logos, faces, product structure, and user-provided copy as protected facts. Never invent performance, price, certification, ingredients, awards, effects, or statistics.

Before submission, internally check focal subject, visual hierarchy, safe area, lighting, reference roles, and conflicting instructions. Claim visual QA only when the result was actually inspected.

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.