🔥 Black Friday AI API deals are live· 🎬 Seedance 2.5 — 20% off, up to 42% below market, until Nov 30Ends in--d --:--:--See deals →

Kling 4.0 Image Set: AI Image Generator

Generate a coherent set of 2 to 10 images in one request with the Kling 4.0 Image Set API. Optional references, up to 8K. Pay per generation, no subscription.

Interactive model controls

Kling 4.0 Image Set generates a coherent set of 2-10 images in one request, optionally from reference images and named subjects, at 2K, 4K or 8K.

📝

Overview

About this model

Kling 4.0 Image Set generates a coordinated set of 2-10 images from one prompt, keeping the subject and visual style consistent across the set. Describe the whole sequence in the prompt, such as the same character from morning to night, or add up to 10 reference images (@image_1, @image_2) and named elements (@name, 2-4 angles each) to lock a character, prop or costume. Output is 2K, 4K or 8K in nine aspect ratios. For a single image see Kling 4.0 Text to Image or Kling 4.0 Image Edit; for long pages see Kling 4.0 Long Image.

1Storyboards: Generate a coherent sequence of frames in one request.
2Character Sheets: Keep one character identical across poses and scenes with elements.
3Campaign Assets: Produce a matching set of product or social visuals in one style.
4Product Angles: Create consistent angle variations of a product from reference photos.
💰

Pricing & Value

Cost analysis

muapiappFrom $0.126 per set (2 images at 2K)

Pay per generation, no subscription.

Fal.aiNot available

Kling 4.0 Image Set is not listed.

ReplicateNot available

Kling 4.0 Image Set is not listed.

** Competitor pricing is estimated based on similar model architectures and usage tiers.

⚙️

Technical Details

Configuration schema

Promptstring

Text prompt (max 20000 characters) describing the whole set, e.g. the same character from morning to night. Mention references as @image_1 and elements as @name.

Default ValueA red apple on a white table, studio lighting, photorealistic
Image URLsarray

Optional reference images (up to 10). Mention them in the prompt as @image_1, @image_2 in array order.

Default Valuehttps://static.aiquickdraw.com/tools/example/1764851484363_ScV1s2aq.webp
Elementsarray

Optional subjects for this task, mentioned in the prompt as @name. Images plus elements cannot exceed 10.

Default Value-
ResolutionEnum (3 options)

Output resolution. 2k/4k usually return PNG, 8k returns JPEG.

Default Value2k
Aspect RatioEnum (9 options)

Output aspect ratio. auto lets the model choose from the prompt and references.

Default Valueauto
Number of Imagesinteger

Number of images in the set (2-10).

Default Value4
📖

Implementation Guide

Developer documentation

How to Use the Kling 4.0 Image Set API

  1. Write one prompt for the whole set (up to 20,000 characters), describing the shared subject and style.

  2. Optionally add references: pass up to 10 URLs in images_list and mention them as @image_1, @image_2. Add named subjects in elements (2-4 images each) and mention them as @name. References and elements together cannot exceed 10.

  3. Pick count (2-10), resolution and aspect_ratio. Resolution is 2k, 4k or 8k.

  4. Submit and poll the returned request_id, or pass a webhook URL.

curl -X POST https://api.muapi.ai/api/v1/kling-4.0-image-set \
  -H "x-api-key: $MUAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "A four-panel story of the same small white robot: it finds a seed, plants it, waters it in the rain, and rests in the shade of the grown tree. Cinematic, warm light.", "count": 4, "resolution": "2k", "aspect_ratio": "1:1"}'
❓

Common Questions

Frequently asked

What is Kling 4.0 Image Set?

Kling 4.0 Image Set generates a coherent set of 2-10 images from one prompt, with optional reference images and named elements to keep subjects consistent.

How much does the Kling 4.0 Image Set API cost?

Each output image costs $0.063 at 2K, $0.094 at 4K and $0.157 at 8K, plus $0.003 per input image. For example, 4 images at 2K is $0.252 and 6 images at 4K with 3 references is $0.573.

How do I use reference images in the prompt?

List the URLs in `images_list` and mention them as `@image_1`, `@image_2` in the same order. Referencing an image you did not provide returns a validation error.

What resolutions and aspect ratios are supported?

Resolutions are 2k, 4k and 8k (2k and 4k usually return PNG, 8k returns JPEG). Aspect ratios are auto, 9:16, 2:3, 3:4, 1:1, 4:3, 3:2, 16:9 and 21:9.

How do I get the result?

Requests are asynchronous: submit a job, then poll the returned `request_id` or pass a `webhook` URL to be notified on completion.

Is there a sandbox for testing?

Yes. Sandbox API keys return mock results instantly with no credits deducted.