Flux 3.1 | Edit.

  • Black Forest Labs
  • Image to Image
  • $0.0075–$0.14 per image, depending on resolution and mode

FLUX 3.1 Edit transforms reference images with text instructions.

What Flux 3.1 | Edit is good at.

  • Best for

    Where it fits

    Product variants: Start with a product photograph and compare neutral, colored, or contextual backgrounds without arranging a new shoot for each concept…

  • Limits and tips

    Start with the intended change, then say what should stay recognizable.

    Describe a result instead of relying on a broad instruction such as ‘make it better.’ Try one change first so you can tell whether the model understood the…

  • Related model

    Alibaba | Qwen Image | 2.1 | Turbo | Image Edit

    Run it on the same input to compare output, speed and price.

    View model

Model documentation

About this model

FLUX 3.1 Edit transforms reference images with text instructions. Refine product visuals, restyle a scene, or target a specific area with an optional mask.

Overview

FLUX 3.1 Edit Overview

FLUX 3.1 Edit is Black Forest Labs’ image editing model for changing an existing visual with a written instruction. Start with a reference image and describe the change you want: replace a backdrop, shift the lighting, or restyle a scene. You can also supply additional images when you want to draw on a separate reference for appearance or composition.

The FLUX 3.1 Edit API on each::labs returns one edited image per request. Use it when a source image already establishes the subject or layout and a new variant should still relate to that source. Choose an aspect ratio and resolution to fit where the edited image will be used. For review, keep the source and the edited variant side by side so changes in framing, color, and details are easy to spot.

Capabilities

Capabilities

  • Apply text instructions to an existing source image.
  • Assign distinct roles to as many as ten ordered image references.
  • Guide local edits with a mask that matches Image 1’s aspect ratio.
  • Match the source framing or choose a different output aspect ratio.
  • Choose Fast for lower-cost trials or Quality when detail matters.
  • Return an edited image as JPEG or PNG.

Use cases

Use Cases for FLUX 3.1 Edit

Product variants: Start with a product photograph and compare neutral, colored, or contextual backgrounds without arranging a new shoot for each concept. Review the shape, label, and color against the original before making a variant public.

Creative direction: Keep the composition of a source image and try a different color palette or lighting setup. An ordered style reference can help communicate the intended look, while the prompt says what to carry over and what to leave alone.

Scene revisions: Revise a specific section of a draft, such as replacing a wall finish or clearing a distracting object from the backdrop. Use a mask when you can clearly identify the region that may change, then inspect the boundaries and surrounding details before downstream use. For a before-and-after presentation, use the same framing for both views so the audience can compare the edit directly.

Tips & tricks

Tips and Tricks

Start with the intended change, then say what should stay recognizable. Describe a result instead of relying on a broad instruction such as ‘make it better.’ Try one change first so you can tell whether the model understood the instruction. When iterating, keep the reference order fixed, and change either the prompt or output settings so you can compare the result with the previous one.

For a product edit, try: “Replace the background in Image 1 with warm gray paper. Keep the product orientation and the visible label unchanged.” For a two-reference edit, try: “Keep the chair and camera angle in Image 1. Borrow the muted green fabric color from Image 2.” When a revision affects the subject unexpectedly, simplify the instruction and name the exact object, not just its location in the frame.

Technical spec

Technical Specifications

Send a non-empty prompt and one to ten reference image URLs. Each reference must be at least 256 by 256 pixels and no larger than 16 megapixels. The default output settings are automatic aspect ratio, 1 MP, Quality mode, and JPEG. Automatic aspect ratio follows Image 1; you can also select a specific ratio or explicitly match Image 1. Choose from six fixed resolutions or match the first image’s resolution. An optional mask lets you mark areas that may change, and PNG is available when JPEG does not fit your workflow. Moderation tolerance accepts integers from zero to four and defaults to two. Grounding is off by default.

Things to be aware of

Things to Be Aware Of

Use image URLs the service can fetch, and check that each image meets the size requirements before submitting. Keep source images somewhere you can return to, rather than relying on a previous variant as your only copy. When exploring revisions, choose a resolution that is adequate for review; larger sizes can cost more. Set grounding only when a real-world reference helps the edit. Review identifiable people, branding, lettering, and product details before using the edited result, even when the prompt calls for leaving those details untouched.

Key considerations

Key Considerations

Reference order matters. Upload the main source first and call it Image 1 in the prompt. If a later image illustrates a material or color palette, give that image a named role rather than asking the model to combine everything. Check that the intended output framing still makes sense when it differs from that of the first reference.

For masked edits, match the mask’s aspect ratio to Image 1 and keep at most nine references. Use white for areas that may change and black for areas you want kept.

Limitations

Limitations

FLUX 3.1 Edit requires a source image; select the text-to-image endpoint for a prompt-only request. It returns one image, not layers or a set of independently editable objects. A mask guides where changes may occur but is not a substitute for reviewing the output. Exact reproduction of typography, logos, or small details should not be assumed. If you need an exact local adjustment, finish that portion with a conventional editor.

Questions about this model

The short answers. For anything specific to your setup, talk to our team.

Talk to an engineerPlan for your expected volume.
  • FLUX 3.1 Edit changes reference images based on a text prompt. You can submit one or more images and describe what to add, remove, or restyle. Refer to them as Image 1, Image 2, and so on in upload order to make clear which reference each instruction applies to.

Ready to close the gap?

Find the model. Build the workflow. Ship the result.