FLUX.2 [dev]

Text-to-image and image editing with FLUX.2 [dev] from Black Forest Labs: realistic detail and crisp, legible text.

Input

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

The prompt to edit the image.

The size of the image to generate. The width and height must be between 512 and 2048 pixels.

The URLs of the images for editing. A maximum of 4 images are allowed, if more are provided, only the first 4 will be used.

Uploading a file needs an account. Create accountJPEG, PNG, WebP · up to 25 MB

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.

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 the image generation.

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

The format of the generated image.

Starting price$0.10 / run

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 [dev]

Getting started

Build a new scene from text with FLUX.2 [dev]. Describe the subject, viewpoint and lighting before adjusting generation settings.

Review your result

Check perspective and object placement; compare added details with your original brief.

Inputs and settings

Use prompt in text-to-image mode. For a source photo, choose editing mode and check that mode’s input table.

Adjust guidance_scale and num_inference_steps separately. enable_prompt_expansion lets the provider expand the brief.