Model reference · open weights
FLUX.2-klein is an open-weight image model from tonera. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | tonera |
|---|---|
| Type | Image models |
| Task | Image edit |
| Runs with | diffusers |
| Released | 2026-01-17 |
| Popularity | 2k downloads / month |
| Licence | Open weights |
About
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.
This model is a quantized version optimized for efficient inference:
unsloth/Qwen3-4B-unsloth-bnb-4bit, a 4-bit quantized version that further reduces memory requirements.To use FLUX.2 [klein] 4B with the 🧨 Diffusers python library, first install or upgrade diffusers:
pip install -U diffusers
Then you can use Flux2KleinPipeline to run the model:
import os
import torch
from diffusers import Flux2KleinPipeline, Flux2Transformer2DModel
model_dir = "."
model_path = f"{model_dir}/FLUX.2-klein-4B-fp8-diffusers"
prompt = "A cat holding a sign that says hello Tonera"
height, width, guidance_scale, steps, seed = 1024, 1024, 4.0, 4, 0
dtype = torch.bfloat16
transformer = Flux2Transformer2DModel.from_pretrained(
f"{model_path}/transformer",
torch_dtype=dtype,
use_safetensors=False,
)
pipe = Flux2KleinPipeline.from_pretrained(
f"{model_path}",
torch_dtype=dtype,
transformer=transformer,
)
pipe.to("cuda")
img = pipe(
prompt=prompt,
height=height,
width=width,
guidance_scale=guidance_scale,
num_inference_steps=steps,
generator=torch.Generator(device="cuda").manual_seed(seed),
).images[0]
output = "output/flux2_klein.png"
os.makedirs(os.path.dirname(output) or ".", exist_ok=True)
img.save(output)
print(output)
Limitations
Out-of-Scope Use
The model and its derivatives may not be used:
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:
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys tonera-flux-2-klein for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (tonera-flux-2-klein below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/images/generations \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"tonera-flux-2-klein","prompt":"a red bicycle","size":"1024x1024"}'
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.