Skip to content
Dashboard

FLUX.2 [klein] 4B

FLUX.2 [klein] 4B is Black Forest Labs's Apache 2.0 licensed compact image model. It delivers sub-second text-to-image, image editing, and multi-reference generation from a single checkpoint.

Image Gen
index.ts
import { experimental_generateImage as generateImage } from 'ai';
const result = await generateImage({
model: 'bfl/flux-2-klein-4b',
prompt: 'A red balloon on a wooden table.'
});

Playground

Try out FLUX.2 [klein] 4B by Black Forest Labs. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.

bfl logo
Prompt
Describe what you want the model to generate.
Need inspiration?
Reference images(optional)
up to 4000000 px
Images to generate
bfl logo

Your generated image will appear here