536 14 hours ago

The FLUX.2 [klein] model family is Black Forest Labs’ fastest image-generation models to date.

image 4b 9b
ollama run x/flux2-klein

Models

View all →

9 models

flux2-klein:latest

5.7GB · - context window · Text · yesterday

flux2-klein:4b

latest

5.7GB · - context window · Text · yesterday

flux2-klein:9b

12GB · - context window · Text · 14 hours ago

Readme

Note: Image generation models currently only work on macOS.

FLUX.2 Klein family of models are available in 4 billion and 9 billion parameter sizes from Black Forest Labs.

Features

  • Readable text rendering: Generates clean, legible typography in layouts and UI mockups
  • Unified generation and editing: Text-to-image, single-reference, and multi-reference editing in one model
  • 4B model: Apache 2.0: Fully open weights for commercial use
  • 9B model: FLUX Non-Commercial License v2.1

Usage

4B:

ollama run x/flux-klein "a cat holding a sign that says hello world"

9B:

ollama run x/flux-klein:9b "a cat holding a sign that says hello world"

Quantizations

fp4, fp8 and full precision bf16 versions are available. For example, to run the 4B model in fp8, use:

ollama run x/flux2-klein:4b-fp8

Examples

Text Rendering

FLUX.2 Klein excels at generating readable text in images, unlike most models that produce garbled typography.

A neon sign reading "OPEN 24 HOURS" in a rainy city alley at night, reflections on wet pavement

Vintage diner menu board with "Blue Plate Special $4.99" in retro hand-painted lettering

UI and Interface Mockups

The model handles clean layouts with legible text, making it useful for design prototyping.

Mobile banking app interface showing account balance "$12,847.32" with transaction history, minimal iOS design, light mode

Dashboard analytics screen displaying "Monthly Revenue: $45.2K" with line charts and metrics cards, dark theme, purple accent color #7C3AED

Product Photography

Strong spatial reasoning produces realistic lighting, shadows, and reflections.

Matte black coffee tumbler on wooden desk, morning sunlight casting long shadows, steam rising, commercial product shot

Luxury watch with silver case on dark velvet surface, dramatic side lighting emphasizing dial details

Skincare bottle with label "HYDRA SERUM" on white marble, soft diffused lighting, minimalist beauty photography

Running shoes floating against gradient background #FF6B35 to #F7C59F, dynamic product visualization

Photorealistic Scenes

The model handles complex compositions with proper perspective and natural lighting.

Architect reviewing blueprints at drafting table, afternoon light through large windows, modern office with exposed brick

Street food vendor in night market, steam rising from wok, hanging lanterns creating warm ambient glow, shallow depth of field

Cozy reading nook with floor-to-ceiling bookshelves, person curled up in armchair, golden hour light streaming through window

Creative and Stylized

Isometric illustration of a tiny coffee shop interior, warm colors, detailed miniature world style

Art deco poster for "JAZZ NIGHT" event, geometric patterns, gold and black color scheme, 1920s aesthetic

Botanical illustration of monstera plant, scientific accuracy with watercolor texture, cream paper background

Architecture and Interiors

Brutalist concrete apartment building, dramatic afternoon shadows, clear blue sky, architectural photography style

Japanese minimalist interior with tatami mats, shoji screens, single ikebana arrangement, natural daylight

Industrial loft conversion with exposed ductwork, polished concrete floors, large factory windows

Best Practices

  • Detailed, specific prompts work best - the model understands compositional rules well
  • For text in images, specify the exact text you want rendered
  • You can specify colors using hex codes for precise brand matching
  • 1024x1024 resolution recommended

Limitations

  • Text rendered in images may be inaccurate or distorted
  • The model is not intended to provide factual information
  • May reflect biases present in training data
  • Output quality is influenced by prompting style