FLUX 3.1 Image: Power-User Guide to Masks, 4K Edits and API Pricing

Last updated: December 4, 2026

FLUX 3.1 Image is Black Forest Labs’ newest image generation and editing model, released December 3, 2026. It adds painted-mask edits, up to 10 reference images, bounding-box layout control and 4K output, with a fast mode from $0.015 and a quality mode from $0.030 per 1 MP image, half price until December 17.

Contents

What is new in FLUX 3.1 Image

Black Forest Labs (BFL) says FLUX 3.1 Image generates and edits images in about 3 seconds at 1 MP and up to 16 MP in under 15 seconds (BFL blog). The API endpoint POST /v1/flux-3.1-image became generally available the same day (release notes). The main additions are:

  • Mask-based editing: paint the area to change; pixels outside the mask stay intact.
  • Precise edits: hex-code recolors, text edits in the original lettering, and bounding boxes for placement.
  • Multi-reference consistency: combine up to 10 images in one edit.
  • 4K detail: output up to 16.8 MP with better skin, fabric and fur textures.
  • Web grounding and two modes: optional web lookups, plus fast and quality modes with the same features.

BFL says the model moved up 14 places from FLUX 3 Image in third-party Elo rankings and scores above Google’s Nano Banana 2.1 (BFL blog). That is a vendor claim, not our test. The model is available in Image Studio, the BFL Playground and the BFL API.

Pricing and launch discount

Pricing is per image, billed at the nearest megapixel tier of the output. Text-to-image and editing cost the same, and BFL says input images are included in the price (release notes) (BFL blog). Launch discounts apply automatically: 50% off December 3–17, 2026, and 25% off December 17–31, 2026.

Output tier Quality (list) Fast (list) Quality (Dec 3–17) Fast (Dec 3–17)
1 MP (1k) $0.030 $0.015 $0.015 $0.0075
2 MP $0.042 $0.024 $0.021 $0.012
4 MP (2k) $0.060 $0.040 $0.030 $0.020
8 MP $0.130 $0.066 $0.065 $0.033
12 MP $0.203 $0.089 $0.1015 $0.0445
16 MP (4k) $0.280 $0.110 $0.140 $0.055

The public pricing page shows the same figures and labels the tiers 1K to 4K (BFL pricing).

How to call the FLUX 3.1 Image API

The overview documentation gives a complete submit-and-poll client (FLUX 3.1 Image overview). The steps are:

  1. Create an API key in the BFL dashboard (dashboard.bfl.ai) and store it as BFL_API_KEY.
  2. Send a POST request to https://api.bfl.ai/v1/flux-3.1-image with the header x-key: $BFL_API_KEY and a JSON body containing at least prompt, for example {"prompt": "...", "aspect_ratio": "21:9"}.
  3. Add "mode": "fast" if you want the cheaper, lower-latency path; leave it out to get the default quality mode.
  4. Read polling_url from the response and poll it about once a second while the status is Pending, Reasoning or Generating.
  5. When the status is Ready, download result.sample immediately; the signed URL expires after one hour.
  6. For production, pass webhook_url (and optionally webhook_secret) to receive results by webhook instead of polling.

The response also reports the cost in credits.

Sizing, masks, references and grounding

These are the main request fields documented for the endpoint (overview) (release notes):

Parameter Values Use it for
mode quality (default), fast Detail and typography versus speed and cost
resolution auto, match_first_image, 1MP–16MP, 1k/2k/4k, hd to uhd Output size presets
aspect_ratio 15 presets from 21:9 to 9:21, plus auto and match_first_image Framing; ignored when width and height are set
images Up to 10 URLs or base64 strings, 20 MB each Edits and multi-reference composition
mask Black-and-white image at the first image’s aspect ratio Strict pixel locking outside the edited area
bounding_boxes 1 to 32 boxes as normalized [y_min, x_min, y_max, x_max] Layout, placement, moving and removing objects
grounding off (default), auto, force Web lookups for real-world subjects

In a mask, white areas may change, black areas are copied pixel for pixel from the first image, and gray blends the two. The edit guide recommends white padding for shadows and an unmasked edit or bounding boxes when a new object must extend past the old outline (edit guide).

Practical workflows and prompt patterns

BFL’s own examples suggest several patterns (edit guide) (BFL blog):

  • Catalog recolors: send the product photo with resolution and aspect_ratio set to match_first_image, and state the exact hex code, such as “Change the lights to #3464eb.”
  • Local edits: name both what changes and what stays fixed.
  • Multi-reference scenes: put the main scene first, then refer to inputs as image 1, image 2 and so on: “Place the floor lamp from image 2 in the room from image 1.”
  • Text edits: ask for new copy “in the same lettering and colors” to keep the original typography.
  • Named subjects: set grounding to force for real landmarks.

To save money, draft in fast mode at 1 MP, then rerun the chosen prompt in quality mode at full size.

FLUX 3.1 Image vs. FLUX 3 Image

FLUX 3.1 Image is a newer, separate endpoint from /v1/flux-3-image. BFL’s October 22 update to FLUX 3 Image added exact width and height, but capped edits with reference images at 4 MP (release notes). FLUX 3.1 adds painted masks, bounding boxes, grounding and the fast mode. List prices are also lower on BFL’s pricing page (BFL pricing):

Size FLUX 3.1 Image quality FLUX 3.1 Image fast FLUX 3 Image
1K $0.030 $0.015 $0.048
2K $0.060 $0.040 $0.100
4K $0.280 $0.110 $0.607

For other recent image models, see our guides to Seedream 5.5, MAI Image 2.7, MiniMax H3-Image and Grok Imagine Image 2.0.

Limits and caveats

Keep these points in mind (overview):

  • The overview lists safety_tolerance from 0 (strictest) to 4 with a default of 2; the API schema allows up to 7, but your route and organization set the approved maximum, and unapproved levels return a 422 error.
  • The FLUX 3.1 request schema does not list a seed parameter, so plan for some variation between runs.
  • BFL has not published FLUX 3.1 Image as open weights; the blog says companies can license FLUX weights and fine-tune them with BFL’s help.

Frequently asked questions

What is FLUX 3.1 Image?

FLUX 3.1 Image is Black Forest Labs’ image generation and editing model, released on December 3, 2026. It handles text-to-image, instruction edits, painted masks, up to 10 reference images and bounding boxes at up to 4K, with a fast mode and a quality mode.

How much does FLUX 3.1 Image cost?

List prices start at $0.015 per 1 MP image in fast mode and $0.030 in quality mode, rising to $0.110 and $0.280 at 4K. Launch discounts apply automatically: 50% off from December 3 to 17, 2026, and 25% off from December 17 to 31, 2026.

What is the FLUX 3.1 Image API endpoint?

Send a POST request to https://api.bfl.ai/v1/flux-3.1-image with your key in the x-key header. The response includes a polling_url; poll it until the status is Ready, then download result.sample within one hour.

What is the difference between fast and quality mode?

Both have the same features. Quality, the default, is best for typography, fine detail and 4K output. Fast costs half as much at 1 MP and suits high-volume work and previews.

How many reference images can FLUX 3.1 Image use?

Up to 10 images per request, each up to 20 MB as a URL or base64. If you also send a mask, the limit is 9 images because the mask counts as the tenth.

Sources

Image: “The Path to the Black Forest,” created with an earlier model, FLUX 1.1 Pro Ultra, by VulcanSphere, public domain, via Wikimedia Commons.

Related answers

Leave a Comment