Skip to content
Reduced motion is on. Play a preview to watch it.
Explore models

Image

FLUX.2 [klein] 4B Base

Control a text-generated scene with FLUX.2 [klein] 4B Base.

  • Text to image
  • Image editing
Create with FLUX.2 [klein] 4B Base
Preview for FLUX.2 [klein] 4B Base

Catalog preview for FLUX.2 [klein] 4B Base. Review your own result before publishing.

A starting point.

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

Before you publish.

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

Review the quote before running. A failed generation releases its reserved credits. Download the results you want to keep; stored media is retained for 30 days.

How credits work · Use the API · Content guidelines

Settings and model questionsCheck the available settings and guidance when preparing your input.

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.

Inputs, all modes and APIModel IDs, current input limits and the API generation workflow.

Supported inputs

These fields come from the current studio form for flux-2/klein/4b/base. Other modes may require different inputs.

Input types, requirements and limits for flux-2/klein/4b/base
InputTypeRequirementOptions and limits
promptTextRequired—
accelerationTextOptional—
enable_safety_checkerOn/offOptional—
guidance_scaleNumberOptional≥ 0 · ≤ 20
negative_promptTextOptional—
num_imagesWhole numberOptional≥ 1 · ≤ 4
num_inference_stepsWhole numberOptional≥ 4 · ≤ 50
output_formatTextOptionaljpeg, png, webp
seedWhole numberOptional—

Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.

Other modes and their inputs

Open the operation you need and check its inputs. Settings from one mode do not automatically apply to another.

Image editingflux-2/klein/4b/base/edit

Supported inputs

These fields come from the current studio form for flux-2/klein/4b/base/edit. Other modes may require different inputs.

Input types, requirements and limits for flux-2/klein/4b/base/edit
InputTypeRequirementOptions and limits
image_urlsListRequiredMin. items: 1 · Max. items: 4
promptTextRequired—
accelerationTextOptional—
enable_safety_checkerOn/offOptional—
guidance_scaleNumberOptional≥ 0 · ≤ 20
negative_promptTextOptional—
num_inference_stepsWhole numberOptional≥ 4 · ≤ 50
output_formatTextOptionaljpeg, png, webp
seedWhole numberOptional—

Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.

Open this operation in the studio

Use FLUX.2 [klein] 4B Base through the API.

Start with this model ID for the endpoint featured on this page:

flux-2/klein/4b/base

Input requirements belong to this model ID. Check a different mode’s schema separately when switching modes.

Available modes

Check the current model schema for supported inputs and options. Other tasks may use different model IDs.

From quote to result.

Request a credit quote for your input and settings before submitting a generation. A sample output or the price of another model is not a quote for your request.

Follow the generation workflow, then poll the job for its status and result. The API and studio use the same balance.