FLUX.2 [klein] 4B Base

Text-to-image generation with FLUX.2 [klein] 4B Base from Black Forest Labs. Enhanced realism, crisper text generation, and native editing capabilities.

Input

Fields marked * are required. Review the price before generating.

The prompt to generate an image from.

The size of the image to generate.

The number of images to generate.

Additional settings

Negative prompt for classifier-free guidance. Describes what to avoid in the image.

Guidance scale for classifier-free guidance.

The seed to use for the generation. If not provided, a random seed will be used.

The number of inference steps to perform.

The acceleration level to use for image generation.

The format of the generated image.

Price$0.02 / megapixel

You sign up first. Your settings are kept.

API code for this input

Complete the required fields and fix input errors to see API code.

How to use FLUX.2 [klein] 4B Base

Getting started

Control a text-generated scene with FLUX.2 [klein] 4B Base. Separate the desired scene from details you want to exclude.

Review your result

Check exclusions against the result; a negative prompt does not guarantee an element is absent.

Inputs and settings

Use prompt and negative_prompt in text mode. Select editing mode for an existing image.

Base exposes guidance_scale and 4–50 num_inference_steps; its provider default is 28 steps, unlike the four-step variant.