Vibeleaderboard
← All Intel
Intel / article

FLUX Erase: prompt-free object removal arrives on the BFL API

Source
docs.bfl.ai
Author
Black Forest Labs
Date

Context

FLUX Erase is an object-removal endpoint from Black Forest Labs: a developer sends an image and a black-and-white mask, and the model deletes whatever the white pixels cover and fills the gap with background that fits the scene. No text is involved. The API documentation says the applies a fixed erase internally, and describes the endpoint as powered by FLUX.2 Klein 9B. The company announced it on May 21, 2026, in a post on X saying FLUX had been trained to erase and reconstruct as a single task, an approach it says keeps images clean and consistent.

The hard part of removal is the edges and the traces an object leaves behind. The launch blog says the model also removes shadows and parts of the object the mask missed, and the adds a `dilate_pixels` setting (0 to 25, default 10) that grows the mask before removal so the edges are fully covered. The docs suggest 15 to 20 for soft-edged subjects such as hair, fur or smoke, and say the model was trained on images of about one megapixel across aspect ratios from 1:2 to 2:1, so inputs far from those sizes may come out worse.

The quality evidence so far is the company's own. Black Forest Labs reports a held-out test of 198 mask-based removal images in which FLUX Erase beat GPT Image-2 and Finegrain Eraser Standard, tied Nano Banana 2 and finished just behind Nano Banana Pro, with the percentages 68.5%, 63.2%, 49.5% and 47.3% attached to those comparisons. It also says FLUX Erase costs less and runs faster than those rivals, without giving figures. The blog does not describe how the comparisons were judged, so these numbers are a vendor head-to-head rather than an independent result.

Terms in this piece · Glossary
  • Prompt — Information or instructions supplied to a model; in a chat, the request you type is often called your prompt.
  • API — Application programming interface: the agreed set of operations, inputs and outputs through which one piece of software uses another.
  • Server — Software that receives requests, processes them and returns responses; the computer running it is its host.
  • Instruction — A statement in the context that tells the model how to behave or what to do; module 3's first layer.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source docs.bfl.ai
More from Black Forest Labs
Recommended reads