Available now

FLUX.2 [klein] 4B: text to image

By Black Forest Labs

Black Forest Labs' FLUX.2 [klein] 4B is the smallest FLUX.2 model: it makes images from a prompt and edits up to four images from a written instruction.

Model ID
Maker
Black Forest Labs

Input

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

Example prompt. Edit it or write your own.

Additional settings

If not provided, a random seed will be used.

The number of inference steps to perform.

Price$0.01 / megapixel

You sign up first. Your settings are kept.

About this model

Overview

FLUX.2 [klein] 4B renders one to four images per run in six square, portrait or landscape sizes, with 4 to 8 inference steps, as JPEG, PNG or WebP.

The edit mode takes up to four images and an instruction, so you can change one photo or combine parts of several. Without a size choice, the edit keeps the size of your image.

What you can build

  • Many rough takes on an idea before choosing one
  • Thumbnail and social post drafts
  • Simple photo edits such as a new color or background
  • Mockups that combine a product with a setting

Prompting tips

  • Write short, concrete prompts: one subject, one setting, one light.
  • Use 4 steps to explore and up to 8 for the image you keep.
  • When editing several images, say which image each element comes from.

What to check

Check small objects and subject boundaries before expanding a draft into a finished asset.

Inputs

  • Prompt (required): The prompt to generate an image from.
  • Seed (optional): The seed to use for the generation. If not provided, a random seed will be used.
  • Number of Inference Steps (optional): The number of inference steps to perform. From 4 to 8.
  • Image Size (optional): The size of the image to generate. Options: Square HD, Square, Portrait 4:3, Portrait 16:9, Landscape 4:3, Landscape 16:9.
  • Number of Images (optional): The number of images to generate. From 1 to 4.
  • Output Format (optional): The format of the generated image. Options: jpeg, png, webp.

Output and limits

  • Image sizes: Square HD (1024×1024), Square (512×512), Portrait 4:3 (768×1024), Portrait 16:9 (576×1024), Landscape 4:3 (1024×768), Landscape 16:9 (1024×576).
  • File formats: JPEG, PNG, WEBP.
  • Up to 4 images per run.
  • Small or dense text in the image can come out misspelled.
  • Hands, crowds and complex poses can show artifacts; generate a few variations and pick the best.
  • Some prompts or outputs can be refused by safety checks.

Price guide

  • 1 megapixel: $0.01 / megapixel