Skip to main content
Endpoint: 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

Capabilities

  • Image input
  • Inpainting (mask support)
  • Synchronous mode

API Reference

Input Schema

string
required
Input Image to erase from
string
required
The URL of the binary mask image that represents the area that will be cleaned.
MaskTypeEnum
default:"manual"
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, automatic
boolean
default:"false"
If True, the media will be returned as a data URI and the output data won’t be available in the request history.
boolean
default:"false"
If set to true, attempts to preserve the alpha channel of the input image.

Output Schema

Image
required
The generated image

Input Example

Output Example

Limitations

  • mask_type restricted to: manual, automatic