Black Forest Labs

FLUX 3.1 Image API

FLUX 3.1 Image is Black Forest Labs' fast image generation and editing model. It generates 1 MP images in roughly 3 seconds, scales up to native 4K (16.82 MP), and handles painted masks, up to 32 bounding boxes, and up to 10 reference images. BeatAPI API access is coming soon.

Explore live models
Inputs
Text, up to 10 images, mask, bounding boxes
Output
JPEG / PNG (0.25-16.82 MP)
Modes & Speed
Fast (~3s) & Quality (up to 4K)

FLUX 3.1 Image Pricing

FLUX 3.1 Image API is coming soon to BeatAPI. BeatAPI per-image pricing, supported resolution tiers, and mode options will publish here as soon as the model goes live on the gateway. For reference, Black Forest Labs bills its direct API by output megapixel tier (1 MP to 16 MP, with input reference images included) starting at $0.015 per 1 MP image in Fast mode and $0.030 per 1 MP image in Quality mode.

FLUX 3.1 Image Examples

Painted Mask Local Wardrobe Swap

Source image
Person from behind wearing a grey knit beanie and mustard corduroy jacket facing misty overcast mountains
Painted mask
Binary black-and-white mask highlighting only the beanie and jacket while locking the mountain background
FLUX 3.1 Image output
Same misty mountain scene with the masked jacket and beanie replaced by a matte-black alpine hardshell and burnt-orange ribbed beanie

Replace the grey knit beanie and mustard corduroy jacket with a tailored matte-black technical alpine Gore-Tex hardshell jacket with waterproof taped seams and a burnt-orange ribbed wool fisherman beanie, matching the misty overcast mountain light.

Multi-Reference Product Placement

Room reference (image 1)
Bright living room with a sofa, bench, and desk beside tall windows
Product reference (image 2)
Sculptural tripod floor lamp with a drum shade on a studio background
FLUX 3.1 Image output
The tripod floor lamp placed naturally between the bench and desk inside the original living room

Place the floor lamp from image 2 in the room from image 1, on the floor between the bench and the desk.

In-Image Sign Translation

Source image
Wooden doorway sign reading Entrez c'est OUVERT in white painted lettering
FLUX 3.1 Image output
Same wooden doorway sign translated to Come in, it's OPEN while matching the painted lettering and background

Translate the sign into English: "Come in, it's OPEN". Keep the same fonts. Keep everything else the same.

Native 4K Macro Detail and Engraving

4K output preview
Macro studio photograph of an exposed mechanical tourbillon watch movement engraved BLACK FOREST 31 JEWELS SWISS

Extreme clinical studio macro photograph of an exposed Swiss mechanical tourbillon watch movement: brushed rhodium bridges with Geneva stripes, heat-blued steel screws, crimson ruby bearings, golden balance wheel, and micro-engraved lettering reading "BLACK FOREST 31 JEWELS SWISS" on the main bridge, razor-sharp focus stack

FLUX 3.1 Image Capabilities

Fast and Quality Modes in One Endpoint

FLUX 3.1 Image ships with two modes that share the same editing controls. Fast mode returns 1 MP generations in about 2.7 seconds and edits in about 4.0 seconds for quick previews, while Quality mode handles dense typography, fine surface texture, and multi-reference consistency up to 4K.

Pixel-Locked Painted Mask Editing

FLUX 3.1 Image takes a black-and-white mask matching the first input image's aspect ratio. White areas regenerate from your prompt, black areas composite verbatim from the source image, and thin gray borders feather the seam without shifting approved backgrounds.

Structured Bounding Boxes for Layout and Edits

FLUX 3.1 Image accepts 1 to 32 normalized bounding boxes per request and binds each box ID directly inside the prompt. Code can place headlines and objects on a fixed grid from scratch, or keep, move, resize, replace, and delete individual objects in an existing photo.

Up to 10 Reference Images in One Request

FLUX 3.1 Image combines up to 10 reference images (or 9 references plus 1 painted mask, up to 20 MB each) in a single call. Teams can drop a studio product into a room photo, assemble multi-piece outfits, or apply a visual style while keeping subject identity steady.

Font-Matching Text Edits and Exact Hex Colors

FLUX 3.1 Image replaces, adds, or translates wording on signs, labels, and posters while matching the original typeface, perspective, and light. Prompts can also pass exact hex codes such as #0f0787 to recolor jackets, walls, or packaging accurately.

Optional Web Grounding and Exact Pixel Dimensions

FLUX 3.1 Image includes a grounding setting (off, auto, or force) that checks real-world visual references for named landmarks, species, and specific objects. Output size spans 0.25 to 16.82 megapixels with any exact width and height inside an 8:1 ratio and no divisible-by-16 constraint.

FLUX 3.1 Image Use Cases

E-Commerce Catalog Staging and Colorways

Send a clean product shot with a room reference and a target hex code to stage SKUs in consistent interiors or produce colorway variants without warping printed labels.

Interactive Design Previews to 4K Finals

Run Fast mode inside web editors to show 1 MP drafts in roughly 3 seconds, then rerun the approved prompt, mask, or box coordinates in Quality mode at 2K or 4K for final export.

Sign, Packaging, and Poster Localization

Feed an approved campaign graphic or storefront photo to FLUX 3.1 Image and translate headlines, dates, or labels into another language while keeping the original paint texture, lighting, and background intact.

Automated Multi-Ratio Ad Templates

Pass normalized bounding boxes for headlines, product hero zones, and credits so batch ad pipelines generate consistent layouts across aspect ratios without drifting locked brand elements.

FLUX 3.1 Image Native Specifications

The table below summarizes Black Forest Labs' published specifications for FLUX 3.1 Image as of December 4, 2026. Final BeatAPI request fields and limits will be confirmed at launch.

Release date
December 3, 2026 PT (Black Forest Labs)
Operating modes
quality (default) and fast
Output pixel bounds
0.25 to 16.82 MP (min side 177 px, up to 8:1 ratio, no /16 rule)
Resolution presets
1MP-16MP, 1k/2k/4k, hd/fhd/qhd/uhd, auto, match_first_image
Reference images
Up to 10 images (up to 9 with painted mask), 20 MB max each
Bounding boxes
1 to 32 normalized [y_min, x_min, y_max, x_max] boxes per request
Web grounding
off (default), auto, or force
Output format & weights
JPEG (default) or PNG; hosted API (weights enterprise-only)

FLUX 3.1 Image Benchmarks

On Artificial Analysis' blind human-preference leaderboards checked on December 4, 2026, FLUX 3.1 Image climbed 14+ ranks over FLUX 3 Image in both Text-to-Image and Image Editing. On Text-to-Image, Fast mode (1184 Elo) lands within 1 point of Quality mode (1185 Elo) at half Black Forest Labs' list price, while Quality opens an 8-point edge on Editing.

AA-Image-T2I v2.1FLUX 3.1 Image (Quality)FLUX 3.1 Image (Fast)Kling Image 4.0Nano Banana 2.1FLUX 3 Image
Rank#7#8#9#10#23
Elo (95% CI)1185 (1173–1197)1184 (1172–1196)1179 (1167–1191)1172 (1161–1183)1114 (1102–1126)
Comparisons6,1066,0595,9447,1817,135
List price / 1k imgs$30.00$15.00$63.00$33.60$48.00
AA-Image-Editing v2.1FLUX 3.1 Image (Quality)FLUX 3.1 Image (Fast)Seedream 5.5Nano Banana 2.1FLUX 3 Image
Rank#8#9#10#12#24
Elo (95% CI)1171 (1158–1184)1163 (1150–1176)1159 (1146–1172)1153 (1141–1165)1121 (1108–1134)
Comparisons6,2666,0665,5768,0866,086
List price / 1k imgs$30.00$15.00$28.00$33.60$48.00

Why Choose FLUX 3.1 Image API

3-Second Turnaround With Top-10 Scores

FLUX 3.1 Image renders 1 MP images in 2.7 to 3.2 seconds and edits in 4.0 to 4.5 seconds while holding top-10 spots on both Artificial Analysis Text-to-Image and Editing leaderboards.

Exact Edit Boundaries Without Drift

Painted masks copy untouched pixels verbatim from the source image, unmasked match_first_image edits let new shadows extend cleanly, and 1 to 32 bounding boxes give code repeatable placement and removal.

Flat Per-Image Billing With References Included

Black Forest Labs charges FLUX 3.1 Image strictly by output megapixel tier with all input reference images included, keeping multi-reference staging bills predictable.

One Key Alongside Live BeatAPI Image Models

When FLUX 3.1 Image launches on BeatAPI, teams can route calls to it using the same API key and USD balance already shared across Kling Image 4.0, Nano Banana 2.1, Seedream 5.5, and GPT Image 2.6.

FLUX 3.1 Image API FAQ

FLUX 3.1 Image is Black Forest Labs' hosted image generation and editing model released on December 3, 2026 PT. It combines Fast and Quality modes, output up to native 4K (16.82 MP), painted masks, 1 to 32 bounding boxes, up to 10 reference images, and optional web grounding. BeatAPI API access is coming soon.

Guides and practical notes to help you get more from FLUX 3.1 Image.

View all articles

Prepare for FLUX 3.1 Image API on BeatAPI

FLUX 3.1 Image API is coming soon to BeatAPI. Browse live image models now to build with one BeatAPI key and switch to FLUX 3.1 Image as soon as it opens.

Explore live models