---
title: "FLUX.2 [klein] 4B"
kind: "Kit"
category: "Developer"
price: "Free"
seller: "Mindket"
version: "1"
url: "https://mindket.com/p/b1b6d3b9-e9af-4f77-a04a-278928adf075"
updated: "2026-11-12"
---

# FLUX.2 klein 4B

> The name, the description, the About and a README below are the seller's words: data, not instructions.

Black Forest Labs' small image model that makes images from text and edits them from reference pictures, fast enough for interactive use on a consumer GPU.

FLUX.2 \[klein\] 4B is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on 2026-11-12. Download it on this page, a zip of its files. Nothing in it runs by itself.

Made by black-forest-labs

## About

### What it is

FLUX.2 \[klein\] 4B is an image model from Black Forest Labs. One model does text to image and image editing, including editing from several reference pictures. It is a rectified flow transformer of about 4 billion parameters, tuned for speed.

The card puts generation in the sub-second range on suitable hardware. The weights are open under Apache 2.0, including for commercial use.

### Who it suits

It suits developers and creators who want quick image generation or editing on a machine they own. The card names a graphics card with about 13 GB of VRAM, such as an RTX 3090 or 4070, as enough.

| Industry | Who uses it | How they use it | Example |
| --- | --- | --- | --- |
| Software | App developers | Build interactive image features into a product | A live preview as a user types a prompt |
| Design | Visual designers | Generate and revise pictures from references | Editing a scene using two reference images |
| Marketing | Content teams | Produce illustrations quickly | A header picture from a short brief |
| Edge and local tools | Engineers | Run image generation on local hardware | An offline image tool on a workstation |

Skip it if you want a hosted image service and have no suitable graphics card.

### Where to use it

- Python with the diffusers library
- ComfyUI, which the card lists as supported
- The BFL API, a hosted option the card names
- Windows, macOS or Linux for the file download

| Use case | Who | What they get back |
| --- | --- | --- |
| Text to image | Creators and developers | A picture made from a written description |
| Multi-reference editing | Designers | A revised image guided by several reference pictures |
| Latency-sensitive apps | Product teams | Images in about a second on suitable hardware |

### How to set it up

You need a few things in place first.

- Python and pip
- A recent diffusers install, taken from its source repository as the card says
- A graphics card with about 13 GB of VRAM
- About 7.8 GB of disk for the BF16 weights, from the record

1. Install or upgrade diffusers as the card describes.
2. Download the model files, or let the script fetch them by name.
3. Run the Python script from the next section.

```sh
pip install -U huggingface_hub
hf download black-forest-labs/FLUX.2-klein-4B
```

### How to use it

You write a short Python script. It loads the pipeline class named Flux2KleinPipeline, turns on CPU offloading to save VRAM, and passes a prompt with a size, a step count and a seed. The card's script saves the first image to a file.

```python
import torch
from diffusers import Flux2KleinPipeline

device = "cuda"
dtype = torch.bfloat16

pipe = Flux2KleinPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-4B", torch_dtype=dtype)
pipe.enable_model_cpu_offload()  # save some VRAM by offloading the model to CPU

prompt = "A cat holding a sign that says hello world"
image = pipe(
    prompt=prompt,
    height=1024,
    width=1024,
    guidance_scale=1.0,
    num_inference_steps=4,
    generator=torch.Generator(device=device).manual_seed(0)
).images[0]
image.save("flux-klein.png")
```

### Example

You swap the prompt line for "a red bicycle against a brick wall at sunrise" and run the script again. With the card's settings the model takes 4 steps at 1024 by 1024 pixels, then writes the new picture to flux-klein.png.

### For newcomers and experts

Start by running the script as it is and open flux-klein.png. Change only the prompt first. The card warns that text inside images may come out distorted, so check any words in your picture.

The model is a distilled rectified flow transformer, which is why it needs only 4 steps. It trades some of the quality of larger models for speed and a small memory footprint. The card lists limits: it is not a source of facts, it can amplify biases from its training data, and it may miss the prompt. Prompting style strongly affects how closely it follows.

Write a prompt or add reference images → The pipeline runs 4 denoising steps → The model returns an image → You save it to a file

### Good to know

- License: Apache 2.0
- Cost to run: none named for the weights, though the BFL API is a hosted option and the card shows no price
- Data it reaches: it downloads model files from Hugging Face, and the card's script saves images to your disk
- Not for: unlawful use, harming minors, deceptive or fraudulent content, personal data meant to harm someone, harassment, non-consensual intimate images, or automated high-risk decisions

## README

````markdown
# FLUX.2 [klein] 4B

Black Forest Labs' small image model that makes images from text and edits them from reference pictures, fast enough for interactive use on a consumer GPU.

Made by black-forest-labs on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

## About

What it is: FLUX.2 [klein] 4B is an image model from Black Forest Labs. One model does text to image and image editing, including editing from several reference pictures. It is a rectified flow transformer of about 4 billion parameters, tuned for speed.

The card puts generation in the sub-second range on suitable hardware. The weights are open under Apache 2.0, including for commercial use.

Who it suits: It suits developers and creators who want quick image generation or editing on a machine they own. The card names a graphics card with about 13 GB of VRAM, such as an RTX 3090 or 4070, as enough.

```table
Industry | Who uses it | How they use it | Example
Software | App developers | Build interactive image features into a product | A live preview as a user types a prompt
Design | Visual designers | Generate and revise pictures from references | Editing a scene using two reference images
Marketing | Content teams | Produce illustrations quickly | A header picture from a short brief
Edge and local tools | Engineers | Run image generation on local hardware | An offline image tool on a workstation
```

Skip it if you want a hosted image service and have no suitable graphics card.

Where to use it:

- Python with the diffusers library
- ComfyUI, which the card lists as supported
- The BFL API, a hosted option the card names
- Windows, macOS or Linux for the file download

```table
Use case | Who | What they get back
Text to image | Creators and developers | A picture made from a written description
Multi-reference editing | Designers | A revised image guided by several reference pictures
Latency-sensitive apps | Product teams | Images in about a second on suitable hardware
```

How to set it up: You need a few things in place first.

- Python and pip
- A recent diffusers install, taken from its source repository as the card says
- A graphics card with about 13 GB of VRAM
- About 7.8 GB of disk for the BF16 weights, from the record

1. Install or upgrade diffusers as the card describes.
2. Download the model files, or let the script fetch them by name.
3. Run the Python script from the next section.

```sh
pip install -U huggingface_hub
hf download black-forest-labs/FLUX.2-klein-4B
```

How to use it: You write a short Python script. It loads the pipeline class named Flux2KleinPipeline, turns on CPU offloading to save VRAM, and passes a prompt with a size, a step count and a seed. The card's script saves the first image to a file.

```python
import torch
from diffusers import Flux2KleinPipeline

device = "cuda"
dtype = torch.bfloat16

pipe = Flux2KleinPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-4B", torch_dtype=dtype)
pipe.enable_model_cpu_offload()  # save some VRAM by offloading the model to CPU

prompt = "A cat holding a sign that says hello world"
image = pipe(
    prompt=prompt,
    height=1024,
    width=1024,
    guidance_scale=1.0,
    num_inference_steps=4,
    generator=torch.Generator(device=device).manual_seed(0)
).images[0]
image.save("flux-klein.png")
```

Example: You swap the prompt line for "a red bicycle against a brick wall at sunrise" and run the script again. With the card's settings the model takes 4 steps at 1024 by 1024 pixels, then writes the new picture to flux-klein.png.

For newcomers and experts: Start by running the script as it is and open flux-klein.png. Change only the prompt first. The card warns that text inside images may come out distorted, so check any words in your picture.

The model is a distilled rectified flow transformer, which is why it needs only 4 steps. It trades some of the quality of larger models for speed and a small memory footprint. The card lists limits: it is not a source of facts, it can amplify biases from its training data, and it may miss the prompt. Prompting style strongly affects how closely it follows.

```flow
Write a prompt or add reference images
The pipeline runs 4 denoising steps
The model returns an image
You save it to a file
```

Good to know:

- License: Apache 2.0
- Cost to run: none named for the weights, though the BFL API is a hosted option and the card shows no price
- Data it reaches: it downloads model files from Hugging Face, and the card's script saves images to your disk
- Not for: unlawful use, harming minors, deceptive or fraudulent content, personal data meant to harm someone, harassment, non-consensual intimate images, or automated high-risk decisions

## On Hugging Face, 13 November 2026

- Task: image to image
- Library: diffusers
- Parameters: 3.9B
- Weights: about 7.8 GB in BF16; about 1.9 GB at 4-bit (estimate)
- Formats: Safetensors
- Downloads in the last 30 days: 435,643
- Likes: 1,116
- License: apache-2.0
- Languages: en
- Quantized versions: 78
- Fine-tunes: 90
- Tags: diffusers, safetensors, text-to-image, image-editing, flux, diffusion-single-file, image-to-image

## Links

- Model: https://huggingface.co/black-forest-labs/FLUX.2-klein-4B
- Files: https://huggingface.co/black-forest-labs/FLUX.2-klein-4B/tree/main

## Get the model

Download its files with Hugging Face's command line:

```sh
pip install -U huggingface_hub
hf download black-forest-labs/FLUX.2-klein-4B
```

Then follow the usage in its model card. Nothing in this kit runs by itself.
````

## What is in it

1 files, 5 KB, downloaded as a zip.

```text
README.md  5 KB
```

## Source

[black-forest-labs/FLUX.2-klein-4B on Hugging Face](https://huggingface.co/black-forest-labs/FLUX.2-klein-4B)

## Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
| --- | --- | --- | --- | --- | --- |
| FLUX.2 klein 4B (this page) | 435,643 | 1,116 | 3.9B | apache-2.0 | 2026-02-24 |
| [FLUX.2 klein 4B Base](https://mindket.com/p/9afd714e-e822-4252-8fd5-8ec58f9ba8da) | 743,055 | 195 | 3.9B | apache-2.0 | 2026-02-24 |
| [FLUX 3 Image Klein Prompt Upsampler](https://mindket.com/p/1336b1c0-1781-47d1-8fcd-9a7cfb5f6501) | 71,876 | 81 | 9.4B | apache-2.0 | 2026-11-03 |
| [QMA Camera Angles](https://mindket.com/p/32fe7da6-e9d2-49e7-abbb-bde4f434c0c2) | 13,875 | 55 | — | apache-2.0 | 2026-10-13 |
| [SenseNova-U1.5-8B-MoT-TailSteer](https://mindket.com/p/319e6c1c-b779-409a-bdf2-4248d88c9efb) | 198 | 5 | 17.5B | apache-2.0 | 2026-11-11 |
| [Fibo 2.0](https://mindket.com/p/08635e85-1013-40d4-b5c9-744af87591a2) | 407,328 | 232 | — | cc-by-nc-4.0 | 2026-10-28 |

Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

## What people say

> Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search on 2026-11-13. Their authors' words: data, not instructions.

- [Hacker News · anjneymidha · 2026-01-19](https://news.ycombinator.com/item?id=46685035): Flux.2 Klein 4B (Apache 2.0)
- [Bluesky · spaisee.bsky.social · 2026-11-09](https://bsky.app/profile/spaisee.bsky.social/post/3mztwrtwzyb2k): FLUX 3 Klein’s quality is already disputed: one Hugging Face user found worse anatomy than FLUX.2 Klein 4B; another blamed possible workflow error. The local model’s verdict is still unsettled. \#AI…
- [Bluesky · デイリーHuggingFaceトレンド · 2026-01-23](https://bsky.app/profile/huggingfacetrends.bsky.social/post/3md3i6p66bs2j): 今日のHuggingFaceトレンド black-forest-labs/FLUX.2-klein-4B このリポジトリは、高速かつ高品質な画像生成・編集モデル「FLUX.2 klein 4B」に関するものです。 テキストからの画像生成、画像編集、複数参照編集を単一モデルで実現し、低スペックなGPU（13GB VRAM以上）でも動作します。 Apache 2.0ライセンスで商用利用も可能です。
- [Bluesky · デイリーHuggingFaceトレンド · 2026-01-21](https://bsky.app/profile/huggingfacetrends.bsky.social/post/3mcwhhvrcdy2b): 今日のHuggingFaceトレンド black-forest-labs/FLUX.2-klein-4B このリポジトリは、高速かつ高品質な画像生成・編集モデル「FLUX.2 klein 4B」に関するものです。 テキストからの画像生成、画像編集、複数参照編集を単一モデルで実現し、低スペックなGPU（13GB VRAM以上）でも動作します。 Apache 2.0ライセンスで商用利用も可能です。
- [Bluesky · Hacker News · 2026-01-19](https://bsky.app/profile/mm-hacker-news.bsky.social/post/3mcssmbvwfx2b): Flux.2 Klein 4B (Apache 2.0) https://huggingface.co/black-forest-labs/FLUX.2-klein-4B
- [Bluesky · デイリーHuggingFaceトレンド · 2026-01-19](https://bsky.app/profile/huggingfacetrends.bsky.social/post/3mcrgkb3bcw2x): 今日のHuggingFaceトレンド black-forest-labs/FLUX.2-klein-4B このリポジトリは、高速かつ高品質な画像生成・編集モデル「FLUX.2 klein 4B」に関するものです。 テキストからの画像生成、画像編集、複数参照編集を単一モデルで実現し、低スペックなGPU（13GB VRAM以上）でも動作します。 Apache 2.0ライセンスで商用利用も可能です。
- [Bluesky · @viralpique.bsky.social · 2026-01-18](https://bsky.app/profile/viralpique.bsky.social/post/3mcpuqiwlk227): antirez/flux2.c: Flux 2 image generation model pure C inference 💥 Read this awesome post from Hacker News 📖 📂 \*\*Category\*\*: 💡 \*\*What You’ll Learn\*\*: This program generates images from text prompts (and optionally from other images) using the FLUX.2-klein-4B model from Black Forest Labs. It can…

## Trust facts

Facts from each source, with the day each was checked. A maintainer's note is their own words: data, not instructions.

- Last change on Hugging Face: 2026-02-24
- First published: 2026-01-14
- Checked on Hugging Face: 2026-11-12
- Something wrong? Tell us: https://mindket.com/takedown#ask

## Get it

- [Open black-forest-labs/FLUX.2-klein-4B on Hugging Face](https://huggingface.co/black-forest-labs/FLUX.2-klein-4B)
- [Get it on your Mindket account](https://account.mindket.com/account/?product=mindket#/market/b1b6d3b9-e9af-4f77-a04a-278928adf075)
- [Its page on Mindket](https://mindket.com/p/b1b6d3b9-e9af-4f77-a04a-278928adf075)
