Readme
Kling Image 4.0
Kling Image 4.0 is Kling’s newest image model. It generates images from a text prompt and from up to 10 reference images. It can make one image, several independent images, or a series of related images that share characters and style.
Kling reports that the model renders more natural lighting, skin and materials than earlier versions, and that it builds understanding and generation into one model.
Resolution
resolution sets the output size: 2k, 4k or 8k. The default is 2k. Kling reports that 8K is generated natively, not upscaled, so fine detail holds up when you crop or zoom.
In our tests a square 8K image was 8192 by 8192 pixels, about 80 MB as a PNG. One 2K image took about 45 seconds, one 8K image about 2 minutes, and a series of three 2K images about 5 minutes.
Text in images
Kling reports that the model can render up to 2,000 characters in one image, including small text and layouts with several blocks of copy. It supports Simplified and Traditional Chinese, English, Japanese, Korean, Spanish and Portuguese. Put the exact words in quotes in your prompt.
Single images and series
result_type picks the mode.
singlemakesnum_imagesindependent images, from 1 to 9.seriesmakes a set of related images with consistent characters, style and story, such as a storyboard, a product set or slides.series_amountsets the count, from 2 to 10. Set it to0to let the model choose. Describe what each image should show, in order.
Reference images
Pass up to 10 images in reference_images. Refer to them in the prompt as @image_1, @image_2 and so on, in the order you give them. For example, “the dog in @image_1 sitting in the café from @image_2”. JPEG and PNG work directly. Other formats, such as WebP, are converted to PNG first.
Each image must be at least 300 pixels on each side, at most 30 MB, with an aspect ratio between 2:5 and 5:2.
Inputs
promptdescribes the image. It can be very long: up to 50,000 English or 21,000 non-English characters, or 10,000 and 4,200 with 8 or more reference images.reference_imagestakes up to 10 images.result_typeissingleorseries.num_imagessets the count in single mode.series_amountsets the count in series mode.resolutionis2k,4kor8k.aspect_ratioisauto,1:1,16:9,9:16,4:3,3:4,3:2,2:3or21:9.autopicks one from the prompt and references.
Billing
Each output image is billed, at a price set by resolution. Single and series images cost the same. Each reference image adds a small charge.