Kling Image 4.0 API

kwaivgi/kling-image-v4.0/text-to-image
2K · 4K · 8K · image sets

Kling Image 4.0 Text to Image turns a text prompt into 2K, 4K or native 8K images, with clean multilingual text and image sets of up to 10 matching frames. With the Kling Image 4.0 API, skin, fabric, frost and product materials stay sharp when you crop hard, and an image set keeps the same characters and style from frame to frame.

Get API Key
Input
Required657/50000
Optional
Optional
Optional
Optional
OutputReady

Estimated cost: 32.00 credits · $0.1600

Charged when the task is submitted. Images an image set does not return are refunded.

Continue using

Examples

output-1abed71eaa62.webp

Photograph of a hand-painted chalkboard menu hanging on the green wooden shutter of a tiny bakery kiosk next to a yellow tram stop in Lisbon, morning sun. Neat white and yellow chalk lettering, with Portuguese lines and Japanese translations beneath each item. The board reads exactly: "PASTELARIA DA PARAGEM" as the title, then "Pastel de nata — 1,40 €" with "エッグタルト" below it, "Bola de Berlim — 1,80 €" with "クリームドーナツ" below it, "Bica — 0,90 €" with "エスプレッソ" below it, and at the bottom "Aberto desde as 6h". A paper bag of pastries and a small espresso cup sit on the counter below the board; a blurred yellow tram passes behind.

output-cf381bd45780.webp

A three-panel picture story in soft gouache illustration style, same small hermit crab with a chipped white spiral shell and one blue-tipped claw in every panel, same rocky tide pool on a Galician beach. Panel 1: at low tide the crab looks up at a large empty orange whelk shell lying on wet sand. Panel 2: the crab climbs out of its old shell while two smaller crabs line up behind it, each eyeing the next shell. Panel 3: at sunset the crab sits proudly in the orange shell while the smaller crabs move into the shells left behind. Consistent colours, consistent character design, wide framing.

What is the Kling Image 4.0 API?

Kling Image 4.0 is Kling AI's image model released on November 17, 2026, combining visual understanding and image generation in one autoregressive framework. The Kling Image 4.0 API generates at 2K, 4K or native 8K, renders up to 2,000 characters of text in English, Japanese, Korean, Spanish, Portuguese and Chinese, and returns image sets of up to 10 coherent frames from a single prompt.

Why choose the Kling Image 4.0 API?

The Kling Image 4.0 API is the pick for native 8K images, image sets of up to 10 matching frames and exact multilingual text.

  • Native 8K outputSet resolution to 8K in the Kling Image 4.0 API for 8192×8192 at 1:1, so faces, fabric, fur and product surfaces hold detail in tight crops, large prints and high-resolution displays.

  • Image sets of up to 10 framesTurn on enable_sequential and the Kling Image 4.0 API plans the whole set: same characters, same style, varied shots, returned in story order.

  • Text in seven languagesIn the Kling Image 4.0 API, menus, posters and covers render up to 2,000 characters of quoted text in English, Japanese, Korean, Spanish, Portuguese and Simplified or Traditional Chinese.

  • Photographic realismNatural light, real textures and subtle expressions, with distinct faces, ages and poses in group shots.

  • Simple per-image pricingThe Kling Image 4.0 API costs 13 credits at 2K, 19 at 4K and 32 at 8K per image, with the price shown before you run.

What parameters does the Kling Image 4.0 API accept?

This API needs a prompt. Optional size, resolution, enable_sequential and n set the ratio, 2K/4K/8K output and image count.

ParameterRequirementDescription
promptRequired

Text describing the image, up to 50,000 characters. Put exact on-image text in quotes; the model renders up to 2,000 characters of text in seven languages.

sizeOptional

Aspect ratio: auto, 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3 or 21:9. auto picks the ratio from the prompt and references.

Defaultauto16:99:161:14:33:43:22:321:9
resolutionOptional

2K (2048×2048 at 1:1), 4K (5440×3072 at 16:9) or native 8K (8192×8192 at 1:1). 13, 19 or 32 credits per image.

Default2K4K8K
enable_sequentialOptional

true returns an image set: n related images with the same subjects and style, in story order. false returns n independent images.

Defaultfalsetrue
nOptional

Number of images: 1–9 for independent images (default 1), 2–10 for an image set (default 4). Each image is billed at the resolution price.

Default1 / 4

How do you use the Kling Image 4.0 API?

Send a prompt to the API, choose ratio, resolution and image count, then poll the task until the images are ready.

  1. Write the promptDescribe subject, setting, light and lens; put any exact on-image text in quotes.

  2. Pick ratio and resolutionLeave size on auto or choose a ratio, then choose 2K for drafts, 4K for web and 8K for print or deep crops.

  3. Choose single images or a setSet n for 1–9 independent images, or turn on enable_sequential for 2–10 frames that tell one story.

  4. Call the Kling Image 4.0 APIPOST the model ID kwaivgi/kling-image-v4.0/text-to-image and your input to /api/generate/submit, then poll the status endpoint for the PNG URLs.

How much does the Kling Image 4.0 API cost?

The Kling Image 4.0 API costs 13 credits ($0.065) per 2K image, 19 ($0.095) per 4K image and 32 ($0.16) per 8K image. 1 credit = $0.005.

A task costs n × the resolution price plus 1 credit for each reference image or element, counted once per task. When an image set returns fewer images than n, the unused images are refunded after completion; failed tasks are refunded in full.

How much does the Kling Image 4.0 API cost?
UsageCreditsUSD
2K image13$0.065
4K image19$0.095
8K image32$0.16
Each reference image or element+1 per task+$0.005

What is the Kling Image 4.0 API best for?

This API suits print-size artwork, menus and posters with real text, storyboards and consistent product visuals.

  • Print and large-format workNative 8K covers, posters and gallery prints, like the reindeer herder at dusk on this page.

  • Menus, signs and postersExact multilingual text, like the Portuguese and Japanese tram-stop menu example.

  • Storyboards and picture storiesImage sets that follow one character across panels, like the three-panel hermit crab story.

  • Product and campaign visualsConsistent product angles and campaign frames from a single Kling Image 4.0 API prompt.

Pro Tips

  • Start the Kling Image 4.0 API at 2K to settle composition, then rerun the same prompt at 4K or 8K for the final file.
  • Describe each frame of an image set in order (Panel 1, Panel 2…) and repeat the character's key traits once.
  • In the Kling Image 4.0 API, quote on-image text exactly and say where it sits, such as the title or the bottom line.
  • An 8K PNG is around 100 MB; download it on the server rather than in the browser.

Notes

  • Output is PNG. 2K is 2048×2048 at 1:1, 4K is 5440×3072 at 16:9 and 8K is 8192×8192 at 1:1.
  • Kling Image 4.0 API tasks run asynchronously: submission returns a task_id and the finished status lists the image URLs in order.
  • In tests a 2K image took about 45 seconds and an 8K image about 2 minutes; image sets take longer.
  • To edit or combine existing images, use Kling Image 4.0 Edit.

Sources

Model details on this page come from Kling AI's own publications:

“Native 8K image generation is now available, combining rich detail with refined textures and giving you more room for high-resolution displays and post-production cropping.”

— Kling AI, Meet Kling Image 4.0 | Stunningly realistic. Sharp. Precise.,

“Supports up to 2,000 characters in a single image, with improved handling of complex instructions and layouts, from crisp small text to expressive typography.”

— Kling AI, Meet Kling Image 4.0 | Stunningly realistic. Sharp. Precise.,

Kling Image 4.0 API FAQ

What is the Kling Image 4.0 API?

Kling Image 4.0 is Kling AI's image model for generating pictures from text at 2K, 4K or native 8K. The Kling Image 4.0 API returns photographic images with clean text in seven languages and can plan image sets of up to 10 matching frames from one prompt. It joins visual understanding and generation in one autoregressive framework, so prompts with many objects, positions and quoted text are followed closely. Call it with the model ID kwaivgi/kling-image-v4.0/text-to-image or try it in the playground above.

What resolutions does the Kling Image 4.0 API support?

The Kling Image 4.0 API supports 2K, 4K and native 8K. At 1:1, 2K is 2048×2048 and 8K is 8192×8192; at 16:9, 4K is 5440×3072. All results are PNG files.

How do image sets work in the Kling Image 4.0 API?

Set enable_sequential to true and n from 2 to 10 (default 4). The model plans all frames together, keeps characters and style consistent and returns them in order. When a set returns fewer images than n, the unused images are refunded.

Can the Kling Image 4.0 API render text in images?

Yes. Kling Image 4.0 renders up to 2,000 characters of text per image in English, Japanese, Korean, Spanish, Portuguese and Simplified and Traditional Chinese. Put the exact wording in quotes in the prompt.

How does Kling Image 4.0 compare with Kling O3 Image?

Kling O3 Image produces 1K to 4K images. The Kling Image 4.0 API adds native 8K, 2K as its smallest size, image sets of up to 10, multi-angle elements for editing and a separate long image model for full webpages and product pages.

How long does the Kling Image 4.0 API take?

In tests a 2K image finished in about 45 seconds, a 4K image in about 1 minute and an 8K image in about 2 minutes. Image sets and 8K batches take longer, so use a callback_url or poll every few seconds.