POST https://fal.run/fal-ai/bria/eraser
Endpoint ID: fal-ai/bria/eraser
Try it in the Playground
Run this model interactively with your own prompts.
Quick Start
Related
- Bria RMBG 2.0 — Image Generation
- Bria Expand Image — Image Generation
- Bria Product Shot — Image Generation
- Bria Background Replace — Image Generation
- Video — Video Generation
- Bria GenFill — Image Generation
- Replace Background — Image Generation
- Bria Text-to-Image HD — Image Generation
- Bria Text-to-Image Base — Image Generation
- Embed Product — Image Generation
- Bria Text-to-Image Fast — Image Generation
Capabilities
- Image input
- Inpainting (mask support)
- Synchronous mode
API Reference
Input Schema
Input Image to erase from
The URL of the binary mask image that represents the area that will be cleaned.
You can use this parameter to specify the type of the input mask from the list. ‘manual’ opttion should be used in cases in which the mask had been generated by a user (e.g. with a brush tool), and ‘automatic’ mask type should be used when mask had been generated by an algorithm like ‘SAM’. Default value:
"manual"Possible values: manual, automaticIf
True, the media will be returned as a data URI and the output data won’t be available in the request history.If set to true, attempts to preserve the alpha channel of the input image.
Output Schema
The generated image
Input Example
Output Example
Limitations
mask_typerestricted to:manual,automatic