Available now

FLUX.2 [flash]: text to image

By Black Forest Labs

Black Forest Labs' FLUX.2 [flash] creates images from a text prompt and edits up to four images you upload 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.

The width and height must be between 512 and 2048 pixels.

Additional settings

Guidance Scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.

If not provided, a random seed will be used.

If set to true, the prompt will be expanded for better results.

Price$0.01 / megapixel

You sign up first. Your settings are kept.

About this model

Overview

FLUX.2 [flash] gives one to four images per run in square, portrait or landscape presets, between 512 and 2048 pixels per side. A guidance setting sets how closely it follows your prompt, and prompt expansion can add detail to a short prompt.

The edit mode takes up to four images and an instruction: change one photo, or bring elements from several into one picture.

What you can build

  • Many quick variations of one idea
  • Product photos with a new background
  • Signs, labels and posters with short lines of text
  • A scene assembled from objects in several photos

Prompting tips

  • Put any text that must appear in quotes and say where it goes.
  • Raise guidance when the image ignores parts of the prompt; lower it for looser results.
  • Turn on prompt expansion for one-line ideas and leave it off when your prompt is already exact.

What to check

Inspect material textures and lettering at full size before choosing a variation.

Inputs

  • Prompt (required): The prompt to generate an image from.
  • Guidance Scale (optional): Guidance Scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. From 0 to 20.
  • Seed (optional): The seed to use for the generation. If not provided, a random seed will be used.
  • Image Size (optional): The size of the image to generate. The width and height must be between 512 and 2048 pixels. 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.
  • Enable Prompt Expansion (optional): If set to true, the prompt will be expanded for better results.
  • Output Format (optional): The format of the generated image. Options: jpeg, png, webp.

Output and limits

  • Image sizes: Square HD, Square, Portrait 4:3, Portrait 16:9, Landscape 4:3, Landscape 16:9.
  • 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