FLUX.2 [klein] 9B
FLUX.2 [klein] 9B is the flagship of Black Forest Labs' compact FLUX.2 [klein] line: a 9-billion-parameter model distilled to just four sampling steps, so most images come back in a few seconds, from 2 credits. It generates from text and edits or combines up to five reference images in the same run, which makes it the cheapest way in our catalogue to explore ideas, draft designs and iterate on variations before you commit to a final render.
Input
Describe the image to generate, or the edit to apply when reference images are provided.
Optional reference images (up to 5) to edit or combine. Leave empty to generate from text.
0 / 5
Output aspect ratio. match_input_image follows the first reference image.
Output resolution in megapixels. 4 MP is the sharpest and costs the most.
Run with extra speed optimizations. Turn off for maximum fidelity.
Random seed. Set it to reproduce a result.
Output file format.
Compression quality for JPEG and WebP outputs, 100 being best. Ignored for PNG.
Turn off the safety checker on generated images.
Output
Run the model to see output here.
Pricing
Features
API Examples
curl -X POST \
/api/v1/model/black-forest-labs/flux-2-klein-9b \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {}
}'