live
MODEL IDklingai:kling-image@4.0

Kling IMAGE 4.0

Kling AI
by

Kling IMAGE 4.0 is an image model for text-to-image and reference-guided generation at native 2K, 4K, and 8K, with natural lighting and skin and material detail close to a camera photo. It renders up to 2,000 characters of legible text in seven languages, combines up to 10 reference images and elements, and plans series of up to 10 images that keep subjects and style consistent. It also designs e-commerce product pages and websites as a single tall image, which suits storyboards, slide decks, product shoots, and campaign visuals.

Kling IMAGE 4.0

Text and typography

How to put exact copy on images with Kling IMAGE 4.0: quoting every line, dense layouts, seven languages, named fonts and lettering matched from a reference image.

Introduction

Image models usually treat lettering as texture, so a poster comes back with words that look right and read wrong. Kling IMAGE 4.0 sets the copy you write, up to about 2,000 characters in one image, and keeps it legible at small sizes. That makes a full event schedule or a product spec sheet one request instead of a design job.

Every line of copy is a quoted string with its own size and position in the prompt. The schedule is nine strings in a two-column table, and the date line at the bottom is set in the smallest size on the page.

This guide covers the request, how to write copy into a prompt, dense layouts with small print, the seven supported languages, the named font library and matching lettering from a reference image. Long-form pages built around text, such as product detail pages, are covered in product pages and websites.

The request

Text needs no extra parameter. The copy goes into positivePrompt with the rest of the description:

Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'klingai:kling-image@4.0',
  positivePrompt: 'A printed poster for a one-day product design conference, in portrait 2:3 orientation, on an off-white background with a single bold cobalt blue circle in the upper right. At the top left, the title "MAKE IT CLEAR" in very large black extended sans-serif capitals on two lines. Below it in medium weight: "A one-day conference on product design that people understand". Then a schedule in a two-column table, times on the left in bold and talks on the right in regular weight: "09:00 Doors open and coffee", "09:30 Naming things so users find them, Priya Raman", "10:15 Error messages that help, Tomás Ferreira", "11:00 Designing empty states, Hana Kobayashi", "11:45 Lunch", "13:00 Writing onboarding that ends, Marcus Webb", "13:45 Forms people finish, Lena Novak", "14:30 Panel: shipping the boring parts", "15:30 Closing notes". At the bottom, in small regular text: "Saturday 14 March 2027, The Linen Hall, 22 Quay Street, Bristol. Tickets at makeitclear.events". Swiss editorial poster design, generous margins, strict grid, every line spelled exactly as written, no other text.',
  width: 1664,
  height: 2496
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "klingai:kling-image@4.0",
            "positivePrompt": "A printed poster for a one-day product design conference, in portrait 2:3 orientation, on an off-white background with a single bold cobalt blue circle in the upper right. At the top left, the title \"MAKE IT CLEAR\" in very large black extended sans-serif capitals on two lines. Below it in medium weight: \"A one-day conference on product design that people understand\". Then a schedule in a two-column table, times on the left in bold and talks on the right in regular weight: \"09:00 Doors open and coffee\", \"09:30 Naming things so users find them, Priya Raman\", \"10:15 Error messages that help, Tomás Ferreira\", \"11:00 Designing empty states, Hana Kobayashi\", \"11:45 Lunch\", \"13:00 Writing onboarding that ends, Marcus Webb\", \"13:45 Forms people finish, Lena Novak\", \"14:30 Panel: shipping the boring parts\", \"15:30 Closing notes\". At the bottom, in small regular text: \"Saturday 14 March 2027, The Linen Hall, 22 Quay Street, Bristol. Tickets at makeitclear.events\". Swiss editorial poster design, generous margins, strict grid, every line spelled exactly as written, no other text.",
            "width": 1664,
            "height": 2496
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "2f6a8d13-5c7e-4b90-a3d4-8e1f6c2b9a57",
      "model": "klingai:kling-image@4.0",
      "positivePrompt": "A printed poster for a one-day product design conference, in portrait 2:3 orientation, on an off-white background with a single bold cobalt blue circle in the upper right. At the top left, the title \"MAKE IT CLEAR\" in very large black extended sans-serif capitals on two lines. Below it in medium weight: \"A one-day conference on product design that people understand\". Then a schedule in a two-column table, times on the left in bold and talks on the right in regular weight: \"09:00 Doors open and coffee\", \"09:30 Naming things so users find them, Priya Raman\", \"10:15 Error messages that help, Tomás Ferreira\", \"11:00 Designing empty states, Hana Kobayashi\", \"11:45 Lunch\", \"13:00 Writing onboarding that ends, Marcus Webb\", \"13:45 Forms people finish, Lena Novak\", \"14:30 Panel: shipping the boring parts\", \"15:30 Closing notes\". At the bottom, in small regular text: \"Saturday 14 March 2027, The Linen Hall, 22 Quay Street, Bristol. Tickets at makeitclear.events\". Swiss editorial poster design, generous margins, strict grid, every line spelled exactly as written, no other text.",
      "width": 1664,
      "height": 2496
    }
  ]'
runware run klingai:kling-image@4.0 \
  positivePrompt="A printed poster for a one-day product design conference, in portrait 2:3 orientation, on an off-white background with a single bold cobalt blue circle in the upper right. At the top left, the title \"MAKE IT CLEAR\" in very large black extended sans-serif capitals on two lines. Below it in medium weight: \"A one-day conference on product design that people understand\". Then a schedule in a two-column table, times on the left in bold and talks on the right in regular weight: \"09:00 Doors open and coffee\", \"09:30 Naming things so users find them, Priya Raman\", \"10:15 Error messages that help, Tomás Ferreira\", \"11:00 Designing empty states, Hana Kobayashi\", \"11:45 Lunch\", \"13:00 Writing onboarding that ends, Marcus Webb\", \"13:45 Forms people finish, Lena Novak\", \"14:30 Panel: shipping the boring parts\", \"15:30 Closing notes\". At the bottom, in small regular text: \"Saturday 14 March 2027, The Linen Hall, 22 Quay Street, Bristol. Tickets at makeitclear.events\". Swiss editorial poster design, generous margins, strict grid, every line spelled exactly as written, no other text." \
  width=1664 \
  height=2496
{
  "taskType": "imageInference",
  "taskUUID": "2f6a8d13-5c7e-4b90-a3d4-8e1f6c2b9a57",
  "model": "klingai:kling-image@4.0",
  "positivePrompt": "A printed poster for a one-day product design conference, in portrait 2:3 orientation, on an off-white background with a single bold cobalt blue circle in the upper right. At the top left, the title \"MAKE IT CLEAR\" in very large black extended sans-serif capitals on two lines. Below it in medium weight: \"A one-day conference on product design that people understand\". Then a schedule in a two-column table, times on the left in bold and talks on the right in regular weight: \"09:00 Doors open and coffee\", \"09:30 Naming things so users find them, Priya Raman\", \"10:15 Error messages that help, Tomás Ferreira\", \"11:00 Designing empty states, Hana Kobayashi\", \"11:45 Lunch\", \"13:00 Writing onboarding that ends, Marcus Webb\", \"13:45 Forms people finish, Lena Novak\", \"14:30 Panel: shipping the boring parts\", \"15:30 Closing notes\". At the bottom, in small regular text: \"Saturday 14 March 2027, The Linen Hall, 22 Quay Street, Bristol. Tickets at makeitclear.events\". Swiss editorial poster design, generous margins, strict grid, every line spelled exactly as written, no other text.",
  "width": 1664,
  "height": 2496
}
Response
[
  {
    "taskType": "imageInference",
    "taskUUID": "2f6a8d13-5c7e-4b90-a3d4-8e1f6c2b9a57",
    "imageUUID": "9c4b1e7a-3d62-4f85-b0a9-6e2d8c5f1b34",
    "imageURL": "https://im.runware.ai/image/os/a14d18/ws/2/ii/9c4b1e7a-3d62-4f85-b0a9-6e2d8c5f1b34.jpg"
  }
]

Writing the copy

Put each line in double quotes and attach three things to it: where it sits, how large it is and what weight or style it takes. The quotes mark the string as copy to set letter for letter. Without them the model reads the words as a description and paraphrases them.

List the lines in reading order. The poster prompt goes title, subline, schedule, footer. A reader takes them in that same order, so the hierarchy on the page follows the prompt.

Close the prompt with a spelling line: "every line spelled exactly as written, no other text". The first half holds names and numbers to the quoted spelling, and the second stops the model from adding a tagline or a logo of its own.

Dense layouts and small print

Kling IMAGE 4.0 keeps small text legible in crowded layouts. Product infographics and spec sheets depend on that. The power bank sheet below runs from a specs table down to a footnote in very small print, rendered at 4K so the smallest line still has enough pixels:

Give small text the resolution it needs. A 4K canvas gives each letter of the footnote, the smallest line on the sheet, four times the pixels a 2K one would, and that margin is what keeps fine print sharp after the image is compressed for a product page.

Structure dense copy the way the layout will show it. "A specifications table with thin gray rules and two columns, labels on the left and values on the right" tells the model how the eight spec lines relate, so they come back aligned instead of as a block of sentences.

Seven languages

Kling IMAGE 4.0 renders text in Simplified Chinese, Traditional Chinese, English, Japanese, Korean, Spanish and Portuguese. The four posts below share one layout prompt and change only the three quoted lines:

To localize, swap only the quoted strings. The layout paragraph and the closing line stay fixed, and the copy sits between them as labeled lines, so a campaign in seven languages is seven requests that differ only in their quoted text.

Keep the description in English and write only the copy in the target language. The layout instructions stay readable for whoever maintains the prompt. Only non-ASCII characters count against the smaller 21,000-character budget, so an English layout with short localized strings stays well inside the limit.

Long messages

A greeting card or an invitation is copy that has to survive word for word. Quote each line separately in the order it appears, the way the invitation below does with its eight lines:

A single block of copy leaves the line breaks to the model, which can then split a name or a date across two lines.

Named fonts

Kling IMAGE 4.0 has a library of 76 named fonts. Write Font: and a name from the library next to the line it applies to. The festival poster below is one prompt sent five times, once with no font and once with each of four names:

A name sets the style of the line, and the exact letterforms vary from run to run. In four runs on two prompts, Gummy Outline Font set its i's as dotted lowercase letters three times, as in the poster above, and as plain capitals once. The difference also shrinks when the scene leans toward that style anyway: on a kids' app graphic, Gummy Outline Font and Retro Bubble came back close to the rounded capitals the same prompt got with no font. When a line has to match one typeface exactly, use a sample image, as in the next section.

Kling shows each font set in one script, so pick from the row that matches the language of the line:

ScriptFont names
LatinModern Rounded Sans, Modern Fashion Serif, Nova Grid, Cool Elegant Serif, Night Scratch Font, Gummy Outline Font, Coffee Handwriting, Doomsday Sign, Black Edge Script, Childlike Fine Hand, Elegant Brush Hand, Slim Spaced Font, Fine-Line Script, Wild Dry Brush, Ornamental Copperplate, Vintage Gothic, Elegant Serif, Sweet & Edgy Outline, Playful Wild Cursive, Futuristic Cutout, Embroidered Script, Speed Sport, Retro Bubble, Industrial Square, Looped Cursive, 3D Rounded, Tall Condensed, Grid Pixel Font
ChinesePixel Era, Longwind Handwriting, Taro Ball Phonetic, Flowing Brush Script, Rustic Flat Clerical, Bamboo Mono, Playful Rounded Script, Bold Sparse Ink, Quiet Ink Serif, Light Sketch Script, Bold Block Print, Soft Bubble, Delicate Narrative Script, First Snow Bold Stroke, Rustic Marker, Fineliner Notes, Elegant Brush Script, Bold Soft Brush, Light Note Handwriting, Fine Print Minimal, Rough Vintage Print, Sharp Edge, Relaxed Casual Hand, Smooth Brush Script, Clean Lettering, Drunken Ink Splatter, Warm Flowing Script, Warm Minimal Handwriting, Bold Brush Calligraphy, Workbook Handwriting, Playful Ink Handwriting, Curly Playful
JapaneseGentle Jade Script, Soft Ink Notes, Grit Texture, Twisted Dry Brush, Childlike Message, Blunt Square Sans, Romantic Handwriting, Crisp Sharp Script
KoreanSweet Korean Handwriting, Light Korean Script, Soft Bold Rounded, Soft Student Handwriting, Light Ink Wash, Soft Korean Handwriting, Minimal Newsprint, Classic Gothic Black

Lettering from a reference image

Describing a typeface in words gets you close to a style. To match a specific one, put a sample of it in inputs.referenceImages and tell the model which lines take it. The sign painter's sample below set the title of a bakery menu board:

Built from 1 reference
  • Lettering sample

The sample carries the letterforms and the prompt carries the words. The sample says "Hand Made" and the board says "Fresh Today", so the model has to transfer the style to letters the sample never showed. The prompt names what to take, the lettering style, the color and the drop shadow, and leaves the menu lines in plain chalk print so the two styles stay apart.

Tips

  1. Quote every line. Double quotes mark the words as copy to set exactly. Unquoted words get paraphrased.

  2. Give each line a place, a size and a weight. That trio is the hierarchy of the layout.

  3. End with "every line spelled exactly as written, no other text". It holds the spelling and keeps invented copy off the image.

  4. Render dense layouts at 4K. The smallest line on a spec sheet needs the pixels to stay sharp after compression.

  5. Keep the layout fixed and swap the strings to localize. One description paragraph, seven sets of quoted lines.

  6. Name a library font to set the style of a line. Pick one the scene would not reach on its own, and expect the letterforms to vary between runs.

  7. Use a lettering sample when the typeface has to match. Say which lines take it and leave the rest in a plain style.

  8. Proofread before you publish. A render can still swap or add a letter in a single word, and sending the same request again is the fix.