Mindket

FLUX.2 [klein] 4B

Newversion 1 · updated

Overview

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 . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • 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
Runs in
  • 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
Start with
pip install -U huggingface_hub
hf download black-forest-labs/FLUX.2-klein-4B

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

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.

IndustryWho uses itHow they use itExample
SoftwareApp developersBuild interactive image features into a productA live preview as a user types a prompt
DesignVisual designersGenerate and revise pictures from referencesEditing a scene using two reference images
MarketingContent teamsProduce illustrations quicklyA header picture from a short brief
Edge and local toolsEngineersRun image generation on local hardwareAn 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 caseWhoWhat they get back
Text to imageCreators and developersA picture made from a written description
Multi-reference editingDesignersA revised image guided by several reference pictures
Latency-sensitive appsProduct teamsImages 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.
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.

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.

  1. Write a prompt or add reference images
  2. The pipeline runs 4 denoising steps
  3. The model returns an image
  4. 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 and files

README

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.

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.
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.

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

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

Get the model

Download its files with Hugging Face's command line:

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.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

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

ProductDownloads, last 30 daysLikesParametersLicenseLast change
FLUX.2 [klein] 4B This page435,6431,1163.9Bapache-2.0
FLUX.2 [klein] 4B BaseShares flux · image-editing · image-to-image743,0551953.9Bapache-2.0
FLUX 3 Image Klein Prompt UpsamplerShares flux · image-editing · text-to-image71,876819.4Bapache-2.0
QMA Camera AnglesShares image-editing · image-to-image · diffusers13,87555—apache-2.0
SenseNova-U1.5-8B-MoT-TailSteerShares image-editing · text-to-image · safetensors198517.5Bapache-2.0
Fibo 2.0Shares image-to-image · diffusion-single-file407,328232—cc-by-nc-4.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

anjneymidhaFlux.2 Klein 4B (Apache 2.0)14 points · 6 repliesspaisee.bsky.socialFLUX 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…デイリーHuggingFaceトレンド今日のHuggingFaceトレンド black-forest-labs/FLUX.2-klein-4B このリポジトリは、高速かつ高品質な画像生成・編集モデル「FLUX.2 [klein] 4B」に関するものです。 テキストからの画像生成、画像編集、複数参照編集を単一モデルで実現し、低スペックなGPU(13GB VRAM以上)でも動作します。 Apache 2.0ライセンスで商用利用も可能です。デイリーHuggingFaceトレンド今日のHuggingFaceトレンド black-forest-labs/FLUX.2-klein-4B このリポジトリは、高速かつ高品質な画像生成・編集モデル「FLUX.2 [klein] 4B」に関するものです。 テキストからの画像生成、画像編集、複数参照編集を単一モデルで実現し、低スペックなGPU(13GB VRAM以上)でも動作します。 Apache 2.0ライセンスで商用利用も可能です。Hacker NewsFlux.2 Klein 4B (Apache 2.0) https://huggingface.co/black-forest-labs/FLUX.2-klein-4BデイリーHuggingFaceトレンド今日のHuggingFaceトレンド black-forest-labs/FLUX.2-klein-4B このリポジトリは、高速かつ高品質な画像生成・編集モデル「FLUX.2 [klein] 4B」に関するものです。 テキストからの画像生成、画像編集、複数参照編集を単一モデルで実現し、低スペックなGPU(13GB VRAM以上)でも動作します。 Apache 2.0ライセンスで商用利用も可能です。@viralpique.bsky.socialantirez/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…

Searched

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar in Developer

See all in Developer

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k

open-code-review

alibaba · Kit

Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…

New50.7k