Skip to main content
Endpoint: POST https://fal.run/bria/replace-background Endpoint ID: bria/replace-background

Try it in the Playground

Run this model interactively with your own prompts.

Quick Start

Capabilities

  • Text prompt input
  • Image input
  • Reproducible generation (seed)
  • Negative prompts
  • Synchronous mode

API Reference

Input Schema

string
Prompt for background replacement.
string
Reference image (file or URL). Default value: "https://v3b.fal.media/files/b/0a8bea8c/Mztgx0NG3HPdby-4iPqwH_a_coffee_machine_standing_in_the_kitchen.png"
integer
default:"4925634"
Random seed for reproducibility. Default value: 4925634
integer
default:"30"
Number of inference steps. Default value: 30
string
default:""
Negative prompt for background replacement. Default value: ""
boolean
default:"false"
If true, returns the image directly in the response (increases latency).

Output Schema

Image
required
Generated image.
list<object>
Generated images.

Input Example

Output Example