Skip to main content
Black Forest Labs logo

FLUX.2 Klein

ReadyImageby Black Forest Labs

Overview

About this model

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. FLUX.2 [klein] 9B is a 9 billion parameter rectified flow transformer capable of generating images from text descriptions and supports multi-reference editing capabilities. Our flagship small model. Defines the Pareto frontier for quality vs. latency across text-to-image, single-reference editing, and multi-reference generation. Matches or exceeds models 5x its size—in under half a second. Built on a 9B flow model with 8B Qwen3 text embedder, step-distilled to 4 inference steps.

Specifications

Model details

Provider
Black Forest Labs
Modality
Image
Pricing
$20.00 / 1M tok

API

Call it in code

One OpenAI-compatible API. Swap the model id and you're done.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.ecohash.com/v1",
    api_key="YOUR_API_KEY",
)

image = client.images.generate(
    model="flux2-klein",
    prompt="A sunset over mountains",
)

More models

Other image models

Start building

Grab an API key and call this model in minutes.