Skip to content

Background removal API

2 endpoints on fal.ai, from $0.018 per call, some tools free.

Versions

Per call

Inputs

Image URL
URL of the image to remove background from
Output format
The format of the output image (webp, png or gif). Optional
Refine foreground
Whether to refine the foreground using the estimated mask. Optional
Output mask
Whether to output the mask used to remove the background. Optional
Mask only
Whether to return only the segmentation mask without applying it to the image. Optional
Operating resolution
The resolution to operate on (1024x1024, 2048x2048 or 2304x2304). Optional
Model
Model to use for background removal (General Use (Light), General Use (Light 2K), General Use (Heavy), Matting, Portrait or General Use (Dynamic)). Optional

Other image generation models

Lowest price

Questions

Which Background removal versions can my agent run?

BiRefNet v2 background removal and Bria RMBG 2.0 background removal.

How is it billed?

Per call, at the provider's price with no markup, from $0.018 per call. Some of these tools are free. Your agent sees the price before it runs a tool.

Connect your agent to 2,400+ tools for free

Sign in with Google or GitHub. No card required.