AI SeedbankHelp preserve open and free AI for humanity's future

← All models

black-forest-labs_FLUX.2-klein-4B

black-forest-labs · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: 2 · Leechers: 0

Observed 2026-09-05T20:48:33Z across trackers.

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: apache-2.0 language:

  • en pipeline_tag: image-to-image tags:
  • text-to-image
  • image-editing
  • flux
  • diffusion-single-file

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 is a 4 billion parameter rectified flow transformer capable of generating images from text descriptions and supports multi-reference editing capabilities.

Fully open under Apache 2.0. Our most accessible model runs on consumer GPUs like the RTX 3090/4070. Compact but capable: supports text-to-image, image editing, and multi-reference at quality that punches above its size. Built for local development, edge deployment, and production use.

For more information, please read our blog post.

Key Features

  1. Our fastest distilled model for sub-second image generation.
  2. Best suited for interactive workflows, production deployments, and latency-critical applications.
  3. Text-to-image and image-to-image multi-reference editing in a single unified model.
  4. Runs on consumer GPUs (~13GB VRAM).
  5. Open weights available for commercial use under the Apache 2.0 license.

Usage

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

API Endpoints

The FLUX.2 [klein] 4B model is available via the BFL API:

  • bfl.ai

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

Using with Diffusers 🧨

To use FLUX.2 [klein] 4B 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-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")

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

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:d0ab7204287ec93132f72af5f904ec718c225320&dn=black-forest-labs_FLUX.2-klein-4B

Open magnet in torrent client · infohash d0ab7204287ec93132f72af5f904ec718c225320

Files & hashes

PathSizesha1sha256
LICENSE.md9.4 KB (9,584 B)0afa7632c1a195ea6627a3c53e6ebf18d1be3aa5ca02bc51900ab07789d1b70283329e7137f5af98f5161c23a1c81fc38a4af1fe
README.md9.8 KB (9,991 B)7b3cca65056e19a6ef27bdd0be671a030f067942bd447051cf2db4bf67b992e563d89c35ebf1123f009c063361a222ab14e1c4f7
editing.jpg2.4 MB (2,506,178 B)86adb8bf9ea077f3aebe392af1077f0337ed9c482912ca5a7cb9ccbdc8627f8123894d28d8d5e5b0425e8907b3c8111659885ce0
flux-2-klein-4b.safetensors7.22 GB (7,751,105,712 B)1629472a616d78053064eb97c7c3e2af60373b0cec3d4e733a771f61c052fb4856c48b336c55eaf2c65487c2a1faeb9bbda7a343
model_index.json446 B (446 B)554a39bf1019138dd0b28809b745df8ef33657c851a76cb1cf3ed37423a1128c79c22faee8e6fbe7f5aaeb737f0a258930dbaac0
others.jpg3.2 MB (3,386,946 B)6cafb2f80a28fe2c3bd0f990f05ba7829581044778caed191515181abe87c10b6303a0fb58ae5518b8e7c7ed5847f406b377a0e4
realism.jpg2.7 MB (2,855,711 B)d0953ca14d7800a112d2e4586d06a00fc0e1b81a6cccc69a683c3f650eb149a006be54cdcd42eb92b367d2b8e65939d486d1946a
scheduler/scheduler_config.json486 B (486 B)7e53605e2643440b310fa554f087641893883c5f067afb012cef64553a763447d1efd93daeffcc0123ca7e25b09f8de20b90762e
text_encoder/config.json1.5 KB (1,536 B)86f951d170cfd1fdc1c8a57a041e05c27b7b789b214b4c29a0d975e9fddf9994a5673f22cb2c4c5750352f9227c2c3251ebeab40
text_encoder/generation_config.json214 B (214 B)f5af93d0c7764fa38e3b1cd3aaba1b6307246d3b4347b1aeed2b2b78bc059920a0b7f5fec71482e1344952b76d7665d638d71f13
text_encoder/model-00001-of-00002.safetensors4.63 GB (4,967,215,360 B)2beb2a69c2f2226eca657e2c2110f437c9996fed8c0506e7f4936fa7e26183a4fd8da4e2bdbc5990ba64ae441f965d51228f36ea
text_encoder/model-00002-of-00002.safetensors2.87 GB (3,077,766,632 B)ec7da5f2e30d61e9dc5f2d2b7d98e08a40cf591d82f2bd839378541b0557bfabaf37c7d3d637071fdcb73302dedd7cf61162ce07
text_encoder/model.safetensors.index.json32.1 KB (32,855 B)b65d8063815c8679d85bb919337b36fae8de75cf06b3d5319b6d76d1a4a2433419180016cfd54ed62d086a5e6567a809f8c82634
tokenizer/added_tokens.json707 B (707 B)b54f9135e44c1e81047e8d05cb027af8bc039eedc0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680
tokenizer/chat_template.jinja4.1 KB (4,168 B)01be9b307daa2d425f7c168c9fb145a286e0afb4a55ee1b1660128b7098723e0abcd92caa0788061051c62d51cbe87d9cf1974d8
tokenizer/merges.txt1.6 MB (1,671,853 B)31349551d90c7606f325fe0f11bbb8bd5fa0d7c78831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
tokenizer/special_tokens_map.json613 B (613 B)ac23c0aaa2434523c494330aeb79c5839537810376862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
tokenizer/tokenizer.json10.9 MB (11,422,654 B)a1de58e2833d77bb504a8e430b1b25d359912a98aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
tokenizer/tokenizer_config.json5.3 KB (5,404 B)ddaf69808214a44fdd26d3785b66c1367c78277a443bfa629eb16387a12edbf92a76f6a6f10b2af3b53d87ba1550adfcf45f7fa0
tokenizer/vocab.json2.6 MB (2,776,833 B)4783fe10ac3adce15ac8f358ef5462739852c569ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
transformer/config.json541 B (541 B)f21592ae2bc9f43052e78785bde7414f219ae36909733c74a3da6d17dd0a0472a091a8950c7c6935889c32c16cc800ede05029de
transformer/diffusion_pytorch_model.safetensors7.22 GB (7,751,109,744 B)7cb6de2942e180ead5e5d0e735b990b15f77d6489f29f9edcfdae452a653ffb51a534ca4decd389952c225724ff3b94042612a6e
vae/config.json821 B (821 B)c3f38eb4c188a96a462519159356bd0fcc28cd140d6dfb69ae95a5e2ac9836284bbb63d8b38ce67b25ba2dff380752b2a10ab948
vae/diffusion_pytorch_model.safetensors160.3 MB (168,120,878 B)59dc79b9a2ae2aaf0b38e0dd200642d27e8800ceca70d2202afe6415bdbcb8793ba8cd99fd159cfe6192381504d6c4d3036e0f04

Cite this release

Canonical URL
https://aiseedbank.org/models/black-forest-labs_FLUX.2-klein-4B/
Slug
black-forest-labs_FLUX.2-klein-4B
Infohash
d0ab7204287ec93132f72af5f904ec718c225320
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: black-forest-labs_FLUX.2-klein-4B.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryblack-forest-labs/FLUX.2-klein-4B
Revision (pinned)e7b7dc27f91deacad38e78976d1f2b499d76a294
Fetched at2026-08-20T20:57:35Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-08-20T21:11:14Z

apache-2.022.11 GB (23,740,005,867 bytes)diffuserssafetensorstext-to-imageimage-editingfluxdiffusion-single-fileimage-to-imagediffusers:Flux2KleinPipeline1 language (en)