alt.freeweights.image / FLUX.2-klein-base-4B
From: black-forest-labs <huggingface.co/black-forest-labs>Newsgroups: alt.freeweights.imageSubject:

FLUX.2-klein-base-4B

Date: 2026-11-14Commit: a3b4f48Signed: 2DC28CC7B26A283B ✓

Image to image model with 3.9B parameters. Safetensors weights, 23.7 GB in all. Published by black-forest-labs under Apache-2.0.

3.9B params23.7GBFLUX.2-klein-base-4Bsafetensorspermissive
FactsParams3.9BSize23.7 GBFormatssafetensorsTaskimage to imageLicenseApache-2.0From sourcepermissive
$ fw get black-forest-labs/FLUX.2-klein-base-4B
# manifest sha256 58fd7c54b22b… · 23.7 GB · 25 files
$ fw verify ./FLUX.2-klein-base-4B black-forest-labs/FLUX.2-klein-base-4B
From sourceHosted (signed)black-forest-labs/FLUX.2-klein-base-4BLast check: 2026-11-15 02:25 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
23.7 GB
Weights
23.7 GB (safetensors)
Parameters
3.9B
Formats
safetensors
Task
image to image
License
Apache-2.0 (permissive)
Files
25, each with a sha256
Publisher
black-forest-labs
Added
2026-11-14
Section
alt.freeweights.image
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:25 UTCpassed

Model card

From the publisher at commit a3b4f48. Shown as plain text with links; images open at the publisher.

Image: Teaser Image: Teaser Image: Teaser

The FLUX.2 [klein] model family are our fastest image models to date. FLUX.2 [klein] unifies generation and editing in a single compact architecture, delivering state-of-the-art quality with end-to-end inference in as low as under a second. Built for applications that require real-time image generation without sacrificing quality, and runs on consumer hardware, with as little as 13GB VRAM.

FLUX.2 [klein] 4B Base is a 4 billion parameter rectified flow transformer capable of generating images from text descriptions and supports multi-reference editing capabilities.

It's a full-capacity foundation model. Undistilled, preserving complete training signal for maximum flexibility. Ideal for fine-tuning, LoRA training, research, and custom pipelines where control matters more than speed. Higher output diversity than the distilled models.

For more information, please read our blog post.

Key Features#

  1. Exceptional speed and quality-to-size ratio.
  2. Ideal for local deployment and fine-tuning on limited hardware.
  3. Trained without step or guidance distillation, making FLUX.2 [klein] 4B Base more efficient and flexible.
  4. Open weights for customization and fine-tuning to drive science, research, and empower artists to iterate with speed.
  5. Outputs can be used for commercial purposes, as described in the Apache 2.0 license.

Usage#

We provide a reference implementation of FLUX.2 [klein] 4B Base, as well as sampling code, in a dedicated GitHub repository. Developers and creatives looking to build on top of FLUX.2 [klein] 4B Base are encouraged to use this as a starting point.

FLUX.2 [klein] 4B Base is also available in both ComfyUI and Diffusers.

Using with Diffusers 🧨#

To use FLUX.2 [klein] 4B Base with the 🧨 Diffusers python library, first install or upgrade diffusers:

pip install git+https://github.com/huggingface/diffusers.git

Then you can use Flux2KleinPipeline to run the model:

import torch
from diffusers import Flux2KleinPipeline

device = "cuda"
dtype = torch.bfloat16

pipe = Flux2KleinPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-base-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=4.0,
    num_inference_steps=50,
    generator=torch.Generator(device=device).manual_seed(0)
).images[0]
image.save("flux-klein.png")

Limitations

  • This model is not intended or able to provide factual information.
  • While the model can output text, text rendered may be inaccurate or subject to distortion.
  • As a statistical model, this checkpoint may represent or amplify biases observed in the training data.
  • The model may fail to generate output that matches the prompts.
  • Prompt following is heavily influenced by the prompting style.

Out-of-Scope Use

The model and its derivatives may not be used:

  • In any way that violates applicable law.
  • For the purpose of exploiting, harming or attempting to exploit or harm minors in any way; including but not limited to the solicitation, creation, acquisition, or dissemination of child exploitative content.
  • To generate or disseminate deceptive, fraudulent, misleading or otherwise harmful content.
  • To generate or disseminate personal identifiable information that can be used to harm an individual.
  • To harass, abuse, threaten, stalk, or bully individuals or groups of individuals.
  • To create non-consensual intimate imagery or illegal pornographic content.
  • For fully automated decision making or high risk applications that adversely impact an individual's legal rights or otherwise create or modify a binding, enforceable obligation.

Nothing contained in this Model Card should be interpreted as or deemed a restriction or modification to the license the model is released under.

Hardware#

The FLUX.2 [klein] 4B Base model fits in ~13GB VRAM and is accessible on NVIDIA RTX 3090/4070 and above.


Responsible AI Development#

Black Forest Labs is committed to the responsible development and deployment of our models. Prior to releasing the FLUX.2 family of models, we evaluated and mitigated a number of risks in our model checkpoints and hosted services, including the generation of unlawful content, including child sexual abuse material (CSAM) and nonconsensual intimate imagery (NCII). We implemented a series of pre-release mitigations to help prevent misuse by third parties, with additional post-release mitigations to help address residual risks:

  1. Pre-training mitigation. We filtered pre-training data for multiple categories of "not safe for work" (NSFW) and known child sexual abuse material (CSAM) to help prevent a user generating unlawful content in response to text prompts or uploaded images. We have partnered with the https://www.iwf.org.uk/, an independent nonprofit organization dedicated to preventing online abuse, to filter known CSAM from the training data.
  2. Post-training mitigation. Subsequently, we undertook multiple rounds of targeted fine-tuning to provide additional mitigation against potential abuse, including both text-to-image (T2I) and image-to-image (I2I) attacks. By inhibiting certain behaviors and suppressing certain concepts in the trained model, these techniques can help to prevent a user generating synthetic CSAM or NCII from a text prompt, or transforming an uploaded image into synthetic CSAM or NCII.
  3. Ongoing evaluation. Throughout this process, we conducted multiple internal and external third-party evaluations of model checkpoints to identify further opportunities for mitigation. External third-party evaluations focused on eliciting CSAM and NCII through adversarial testing with (i) text-only prompts, (ii) a single uploaded reference image with text prompts, and (iii) multiple uploaded reference images with text prompts. Based on this feedback, we conducted further safety fine-tuning to produce our open-weight FLUX.2 [klein] models.
  4. Release decision. After safety fine-tuning and prior to release, we conducted a final third-party evaluation of the proposed release checkpoints, focused on T2I and I2I generation of synthetic CSAM and NCII, including a comparison with other open-weight T2I and I2I models. The final FLUX.2 [klein] checkpoints demonstrated high resilience against violative inputs in complex generation and editing tasks, and demonstrated higher resilience than leading open-weight models across these risk categories. Based on these findings, we approved the release of the open-weight FLUX.2 [klein] 4B models under an Apache 2.0 license and the release of the FLUX.2 [klein] 9B models under a non-commercial license to support third-party research and development.
  5. Inference filters. The repository for the FLUX.2 [klein] models includes filters for NSFW and protected content in inputs and outputs. Filters or manual review must be used with the FLUX.2 [klein] 9B models under the terms of the FLUX Non-Commercial License, and we encourage deployers to implement these mitigations when using the FLUX.2 [klein] 4B models. Where we implement these features on our own hosted services, we may apply multiple filters to intercept text prompts, uploaded images, and output images. We utilize both in-house and third-party filters to mitigate against harmful outputs, such as CSAM and NCII outputs, including filters provided by https://thehive.ai/ and https://www.microsoft.com/.
  6. Content provenance. Content provenance features can help users and platforms better identify, label, and interpret AI-generated content online. The inference code for FLUX.2 [klein] implements an example of pixel-layer watermarking. Additionally, this repository includes links to the https://c2pa.org/ standard for metadata. The API for FLUX.2 [klein] applies cryptographically-signed C2PA metadata to downloaded output content to indicate that images were produced with our model.
  7. Policies. Acceptable use of our models and access to our API are governed by policies set out in applicable documentation, including FLUX Non-Commercial License (for our non-commercial open-weight users); Developer Terms of Service, Self-Hosted Commercial License Terms, and Usage Policy (for our commercial open-weight model users); and Developer Terms of Service, FLUX API Service Terms, and Usage Policy (for our API users). These prohibit the generation of unlawful content or the use of generated content for unlawful, defamatory, or abusive purposes. Developers and users must consent to these conditions to access the FLUX.2 [klein] 9B models on Hugging Face.
  8. Safety. Black Forest Labs takes model safety seriously. We provide a dedicated email address (safety@blackforestlabs.ai) to solicit feedback from the community. We maintain a reporting relationship with organizations such as the https://www.iwf.org.uk/ and the https://www.missingkids.org/, and welcome ongoing engagement with authorities, developers, and researchers to share intelligence about emerging risks and develop effective mitigations.

License#

This model is licensed under the https://www.apache.org/licenses/LICENSE-2.0.

Trademarks & IP

This project may contain trademarks or logos for projects, products, or services. Use of Black Forest Labs and FLUX trademarks or logos in modified versions of this project must not cause confusion or imply sponsorship or endorsement. Any use of third-party trademarks, intellectual property or logos are subject to those third-party's policies.

Files

25 files · 23.7 GBWeights 23.7 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 25 files with their sha256
FileSizesha256
.gitattributes1.58 KBcaf3ca02d5e883f643e939cbed54f94237f94c171797f0dfea5e25c7e33315b3
LICENSE.md9.58 KBca02bc51900ab07789d1b70283329e7137f5af98f5161c23a1c81fc38a4af1fe
README.md10.1 KB728ef6804ff3f38528c24ab9e3d168d579e77d57342c30ea01310eaa70e95016
editing.jpg2.51 MB2912ca5a7cb9ccbdc8627f8123894d28d8d5e5b0425e8907b3c8111659885ce0
flux-2-klein-base-4b.safetensors7.75 GB9c5fed22b76baea749d88fc2abe3ad53245e7b21a0d353a762665eea00043b92
model_index.json422 Bde1fef01845f0af3e1e2f2581cd5e86f2dfa4a4776f7f0b26b4c77feac4ee70f
others.jpg3.39 MB78caed191515181abe87c10b6303a0fb58ae5518b8e7c7ed5847f406b377a0e4
realism.jpg2.86 MB6cccc69a683c3f650eb149a006be54cdcd42eb92b367d2b8e65939d486d1946a
scheduler/scheduler_config.json486 B067afb012cef64553a763447d1efd93daeffcc0123ca7e25b09f8de20b90762e
text_encoder/config.json1.54 KB214b4c29a0d975e9fddf9994a5673f22cb2c4c5750352f9227c2c3251ebeab40
text_encoder/generation_config.json214 B4347b1aeed2b2b78bc059920a0b7f5fec71482e1344952b76d7665d638d71f13
text_encoder/model-00001-of-00002.safetensors4.97 GB8c0506e7f4936fa7e26183a4fd8da4e2bdbc5990ba64ae441f965d51228f36ea
text_encoder/model-00002-of-00002.safetensors3.08 GB82f2bd839378541b0557bfabaf37c7d3d637071fdcb73302dedd7cf61162ce07
text_encoder/model.safetensors.index.json32.9 KB06b3d5319b6d76d1a4a2433419180016cfd54ed62d086a5e6567a809f8c82634
tokenizer/added_tokens.json707 Bc0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680
tokenizer/chat_template.jinja4.17 KBa55ee1b1660128b7098723e0abcd92caa0788061051c62d51cbe87d9cf1974d8
tokenizer/merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
tokenizer/special_tokens_map.json613 B76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
tokenizer/tokenizer.json11.4 MBaeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
tokenizer/tokenizer_config.json5.40 KB443bfa629eb16387a12edbf92a76f6a6f10b2af3b53d87ba1550adfcf45f7fa0
tokenizer/vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
transformer/config.json531 Bc8a88c1433f24e52c01f46766c9f519e76d91d1c00bfb43fe0db2e4ed3c84d70
transformer/diffusion_pytorch_model.safetensors7.75 GBe109674697ffa1a3983126e32512f5428a9442bd8df59f9c95566ee90a473bb6
vae/config.json821 B0d6dfb69ae95a5e2ac9836284bbb63d8b38ce67b25ba2dff380752b2a10ab948
vae/diffusion_pytorch_model.safetensors168 MBca70d2202afe6415bdbcb8793ba8cd99fd159cfe6192381504d6c4d3036e0f04
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
a3b4f48491 pinned now2026-11-15 02:25 UTC25 files · 23.7 GB

Use it

$ fw get black-forest-labs/FLUX.2-klein-base-4B
# manifest sha256 58fd7c54b22b… · 23.7 GB · 25 files
$ fw verify ./FLUX.2-klein-base-4B black-forest-labs/FLUX.2-klein-base-4B
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/black-forest-labs/FLUX.2-klein-base-4B.json --dir ./FLUX.2-klein-base-4B $ python3 fw.py verify ./FLUX.2-klein-base-4B ./black-forest-labs__FLUX.2-klein-base-4B.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download black-forest-labs/FLUX.2-klein-base-4B --revision a3b4f4849157f664bdbc776fd7453c2783562f4d --local-dir ./FLUX.2-klein-base-4B
diffusersRun the pipeline with diffusers.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from diffusers import DiffusionPipeline pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-base-4B", revision="a3b4f4849157f664bdbc776fd7453c2783562f4d")
Packaged for ComfyUI. Most image, video and music models run in ComfyUI . Check the publisher's page for the workflow. Freeweights does not host it.

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-14
Text in
LICENSE.md
Text sha256
ca02bc51900ab07789d1b70283329e7137f5af98f5161c23a1c81fc38a4af1fe
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: black-forest-labs <huggingface.co/black-forest-labs>Newsgroups: alt.freeweights.imageSubject: FLUX.2-klein-base-4BDate: 2026-11-14Commit: a3b4f48Signed: 2DC28CC7B26A283B ✓
Upstream
black-forest-labs/FLUX.2-klein-base-4B
Pinned commit
a3b4f4849157f664bdbc776fd7453c2783562f4d
Manifest
FLUX.2-klein-base-4B.json · .minisig
Manifest sha256
58fd7c54b22b4da2b0cddf8f1af5ab8c19645ad284133f9d9d118e8f7d021662
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:25 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/black-forest-labs/FLUX.2-klein-base-4B.json $ curl -O https://freeweights.allternit.com/manifests/black-forest-labs/FLUX.2-klein-base-4B.json.minisig $ minisign -Vm FLUX.2-klein-base-4B.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

1 model in the catalog name this one as their parent.

Quantizations
1
Quantizations 1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download black-forest-labs/FLUX.2-klein-base-4B
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. FLUX.2-klein-base-4B.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of FLUX.2-klein-base-4B. Each has its own license check and page.

From: Comfy-Org <huggingface.co/Comfy-Org>Subject: Boogu-Image
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: Chroma1-HD
From: lodestones <huggingface.co/lodestones>Subject: Chroma1-HD
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: Chroma1-Radiance
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: ERNIE-Image
From: baidu <huggingface.co/baidu>Subject: ERNIE-Image