No prompt upsampling: [klein] does not auto-enhance your prompts. What you write is what you getâso be descriptive.
Write Like a Novelist
Describe your scene as flowing proseâsubject first, then setting, details, and lighting. This gives [klein] clear relationships between elements.
Do this
âA woman with short, blonde hair is posing against a light, neutral background. She is wearing colorful earrings and a necklace, resting her chin on her hand.â
Not this
âwoman, blonde, short hair, neutral background, earrings, colorful, necklace, hand on chin, portrait, soft lightingâ
Basic Prompt Structure
Use this framework for reliable results:Subject â Setting â Details â Lighting â Atmosphere
| Element | Purpose | Example |
|---|---|---|
| Subject | What the image is about | âA weathered fisherman in his late sixtiesâ |
| Setting | Where the scene takes place | âstands at the bow of a small wooden boatâ |
| Details | Specific visual elements | âwearing a salt-stained wool sweater, hands gripping frayed ropeâ |
| Lighting | How light shapes the scene | âgolden hour sunlight filters through morning mistâ |
| Atmosphere | Mood and emotional tone | âcreating a sense of quiet determination and solitudeâ |
Lighting: The Most Important Element
Lighting has the single greatest impact on [klein] output quality. Describe it like a photographer would.


- Source: natural, artificial, ambient
- Quality: soft, harsh, diffused, direct
- Direction: side, back, overhead, fill
- Temperature: warm, cool, golden, blue
- Interaction: catches, filters, reflects on surfaces
- âsoft, diffused natural light filtering through sheer curtainsâ
- âdramatic side lighting creating deep shadows and highlightsâ
- âgolden hour backlighting with lens flareâ
- âovercast light creating even, shadow-free illuminationâ
Word Order Matters
[klein] pays more attention to what comes first. Front-load your most important elements. Priority: Main subject â Key action â Style â Context â Secondary detailsStrong word order:âAn elderly woman with silver hair carefully arranges wildflowers in a ceramic vase. Soft afternoon light streams through lace curtains, casting delicate shadows across her focused expression.âSubject and action lead.
Weak word order:âIn a warm, nostalgic room with antique furniture, soft afternoon light streams through lace curtains. An elderly woman with silver hair is there arranging wildflowers.âSubject buried in description.
Prompt Length
| Length | Words | Best For |
|---|---|---|
| Short | 10-30 | Quick concepts, style exploration |
| Medium | 30-80 | Most production work |
| Long | 80-300+ | Complex editorial, detailed product shots |
Style and Mood Annotations
Adding explicit style and mood descriptors at the end of your prompt can enhance consistency:





Image Editing
For image editing, prompts describe the transformation you want. Focus on what changes while letting the input image(s) provide the foundation.Key principle: Reference images carry visual details. Your prompt describes what should change or how elements should combineânot what they look like.
Single-Image Editing
| Edit Type | Prompt Pattern | Example |
|---|---|---|
| Style transfer | âTurn into [style]" | "Reskin this into a realistic mountain vistaâ |
| Object swap | âReplace [element] with [new element]" | "Replace the bike with a rearing black horseâ |
| Element replacement | âReplace [element] with [new element]" | "Replace all the feathers with rose petalsâ |
| Add elements | âAdd [element] to [location]" | "Add small goblins climbing the right wallâ |
| Environmental | âChange [aspect] to [new state]" | "Change the season to winterâ |






Multi-Reference Editing
Combine multiple input images for style transfer and complex edits. When using multiple references, specify the role of each.





Writing Effective Prompts
Good prompts
- âAdd dramatic storm clouds to the skyâ
- âChange her dress from blue to deep burgundyâ
- âAge this portrait by 30 yearsâ
- âChange image 1 to match the style of image 2â
Avoid
- âMake it betterâ
- âImprove the lightingâ
- âMake it more professionalâ
- âFix the imageâ
Model Variants
| Variant | Speed | License | Best For |
|---|---|---|---|
| [klein] 4B | Sub-second | Apache 2.0 | High-volume workflows, local deployment (~13GB VRAM) |
| [klein] 9B | Sub-second | FLUX Non-Commercial | Production work, best prompt understanding |
| Base 4B/9B | Standard | Same as above | Fine-tuning, research (undistilled, higher diversity) |
Try [klein] via API â Get started in minutes with sub-second generation. No GPU required. View API docs â
API models (4B, 9B) are step-distilled for speed. Base variants preserve full training signal for customization.
Best Practices Summary
Write in Prose, Not Keywords
Write in Prose, Not Keywords
Describe scenes as flowing paragraphs. âA weathered leather journal lies open on an oak desk, morning light revealing handwritten entries in faded inkâ works better than âjournal, leather, oak desk, morning light, handwriting.â
Lead with Your Subject
Lead with Your Subject
Put the most important element first. Word order signals priority to the model.
Describe Light Explicitly
Describe Light Explicitly
Specify light source, quality, direction, and how it interacts with surfaces. Lighting descriptions have the highest impact on output quality.
Use Sensory Details
Use Sensory Details
Include textures, reflections, and atmospheric elements. âFlaky croissant layers catching soft diffused lightâ is more evocative than âcroissant on table.â
Add Style/Mood Tags (Optional)
Add Style/Mood Tags (Optional)
Simplify Multi-Reference Prompts
Simplify Multi-Reference Prompts
When using reference images, describe relationships and contextâlet the images provide visual details.
Be Specific with Transformations
Be Specific with Transformations
For i2i editing, clearly state what should change and the target result. Avoid vague instructions.

