FLUX.2-Klein-4B
FLUX.2-Klein-4B

Black Forest Labs · Image Generation
POST /v1/images/generationsApache-licensed 4B FLUX.2 Klein image generation and editing model with text-to-image, reference-image editing, and creative workflow support.
At a glance
Pricing
Example request
Parameters
Notes
Defaults
- 1024x1024 image
- 4 inference steps
- Guidance scale 1.0
- WebP output
Controls
Supports prompt, size/aspect ratio or explicit width/height, seed, n/num_images, and reference images. Width x height must be at most 1,048,576 pixels. Examples: 1024x1024, 1344x768, 768x1344, or 2048x512. Billing is per returned image, so num_images: 4 creates and bills 4 images. negative_prompt is accepted for compatibility but ignored by the distilled Klein pipeline.
Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/flux-2-klein-4b.
