Black Forest Labs
Edit imagesFLUX Tools Erase
Removes the masked object from an image and reconstructs the background.
Cost depends on your settings.
Playground
Provide the reference image or images used to guide the result.
- 787 B
Provide a same-size mask: white removes, black keeps.
- 562 B
Advanced settings
Expand the removal mask to cover the object's edges.
Reuse a seed with the same inputs to make results more repeatable.

Sample outputs
Call this model from your code
Sends your Playground inputs to Comfy Router.
Get an API key
Needs a paid Cloud plan with credits.
Install the SDK
Python 3.10+. Also on npm as @comfyorg/sdk.
pip install comfy-sdk==0.2.0Run it
Calls Comfy Router at this endpoint with your COMFY_API_KEY.
POST /v2/models/bfl/erase-v1
Fill in the Playground inputs to generate a request.
More from Black Forest Labs
Compare Black Forest Labs's other models. Price is the default setting; resolution and duration show the full range each model offers.
| Model | Price | Resolution | Duration |
|---|---|---|---|
| FLUX 2 Pro Text-to-Image | 6.3 credits/Run | — | — |
| FLUX.1 Kontext Pro Image Edit | 8.44 credits/Run | — | — |
| FLUX 2 Max Text-to-Image | 14.8 credits/Run | — | — |
| FLUX Pro 1.1 Ultra Text-to-Image | 12.7 credits/Run | — | — |
| FLUX.1 Kontext Max Image Edit | 16.88 credits/Run | — | — |
| FLUX 3 Video Text-to-Video | — | 720p – 1080p | 5 – 20s |
| FLUX 3 Video Image-to-Video | — | 720p – 1080p | 5 – 20s |
| FLUX Virtual Try-On | — | — | — |
| FLUX Pro Fill | 10.6 credits/Run | — | — |
| FLUX Pro Expand | 10.6 credits/Run | — | — |
| FLUX Video Upscale | — | — | — |
| FLUX Pro 1.1 Text-to-Image | — | — | — |