black-forest-labs /
flux-3-image-klein
Why it matters
- The model does three things in one: create, edit with references, and place elements with boxes.
- The authors announce a lead in quality and speed among open-weights models.
- Lighter (int8) files run on an 8 GB graphics card, but in ComfyUI: the code in this repo has no int8 mode.
Before you start
- The README insists: do not use the model without the prompt rewriting tool.
- With this code, peak graphics memory is 25 to 31 GB depending on precision (the authors' measurement on a B200 card). The code is Apache 2.0, but the model weights have their own license, the “FLUX Kommunity License”.
Try it
python3.12 -m venv .venv && . .venv/bin/activate
pip install -e . --extra-index-url https://download.pytorch.org/whl/cu130
hf download black-forest-labs/flux-3-image-klein --local-dir weights/flux-3-image-klein --exclude 'variants/*'
hf download black-forest-labs/flux-3-image-klein-pup --local-dir weights/pup
hf download Falconsai/nsfw_image_detection --local-dir weights/nsfw-classifier
python scripts/cli.py "A man walking with his dog, afternoon sun" --model distilled --out out.png --seed 7Run from the repo folder. These lines set up the environment, download the fast model, the prompt rewriting tool and a sensitive-image detector (52 GB in total per the README), then run one generation. The README tested them on a B200 card; other cards are covered in its Memory section. Commands copied from the official README (December 2, 2026).
Install it with your AI agent

I used to work at an agency. An install like this meant three meetings and a contractor. Here you paste and go to lunch.
Kira
Hi, Kira from Silicium Rose sent me. Help me install black-forest-labs/flux-3-image-klein: https://github.com/black-forest-labs/flux-3-image-klein
1. Read the official README at that address (not from memory) and tell me in two sentences what it does and what it touches on my machine.
2. Check that my machine is suitable (system, versions, memory, graphics card, disk space). If anything is missing, say so before you start.
3. Install in its own folder, with an isolated environment if the project needs one.
4. Show me each command and wait for my go-ahead before any downloaded script, admin rights, large download or key. Never ask me to paste a key into the chat.
5. Finish with a very simple test, show me the result, and tell me how to run it and uninstall it.
Commands from the README, check them before running:
python3.12 -m venv .venv && . .venv/bin/activate
pip install -e . --extra-index-url https://download.pytorch.org/whl/cu130
hf download black-forest-labs/flux-3-image-klein --local-dir weights/flux-3-image-klein --exclude 'variants/*'
hf download black-forest-labs/flux-3-image-klein-pup --local-dir weights/pup
hf download Falconsai/nsfw_image_detection --local-dir weights/nsfw-classifier
python scripts/cli.py "A man walking with his dog, afternoon sun" --model distilled --out out.png --seed 7
Good to know:
- The README insists: do not use the model without the prompt rewriting tool.
- With this code, peak graphics memory is 25 to 31 GB depending on precision (the authors' measurement on a B200 card). The code is Apache 2.0, but the model weights have their own license, the « FLUX Kommunity License ».Paste it into Claude Code, Codex, Cursor, Gemini CLI or any agent with access to your terminal. Read what it proposes before you say yes.
Our test
Tested on October 23, 2026. 10.1 s and $0.0020 in 9:16, crisp on short names, yet gibberish on 11 of 30 images and aged faces without the prompt upsampler.
Articles that cover it
Flux, quelle version choisir ? Trois générations, quatre licences et un « BONJUUR »
16 out of 30
FLUX.3 Image Klein: fast, clean, and it wants you to describe the whole scene
The FLUX.3 Image Klein card: what it writes right and what it gets wrong on 30 real-world cases, the prompt upsampler we didn't use, the FLUX Kommunity license quoted clause by clause, the official links and our test images with their price.
Similar repositories
CompVisstable-diffusion
The original Stable Diffusion repository, a model that creates images from a sentence. It is for people who want to run it themselves with a reference script.
1 articlehuggingfacediffusers
Diffusers is the Hugging Face Python library for generating images, audio and other content with diffusion models, the model family behind many image generators. It is for developers who want to run a model in a few lines or build their own.
2 articles
black-forest-labsflux
Official Black Forest Labs repository with the minimal code to run its FLUX.1 image models on your own machine. It is for generating or editing images from text.
4 articles