BiRefNet v2 background removal
Needs image url. Served by fal.ai.
Inputs
- Image URL
- URL of the image to remove background fromRequired · image_url
- Output format
- The format of the output image (webp, png or gif)Optional · output_format
- Refine foreground
- Whether to refine the foreground using the estimated maskOptional · refine_foreground
- Output mask
- Whether to output the mask used to remove the backgroundOptional · output_mask
- Mask only
- Whether to return only the segmentation mask without applying it to the imageOptional · mask_only
- Operating resolution
- The resolution to operate on (1024x1024, 2048x2048 or 2304x2304)Optional · operating_resolution
- Model
- Model to use for background removal (General Use (Light), General Use (Light 2K), General Use (Heavy), Matting, Portrait or General Use (Dynamic))Optional · model
Pricing
- Price
- Free, no charge per call
- Billing
- No charge per call. A workspace is still needed so your agent can call it.
Call
Your agent reads the schema and the price with inspect_tool before it runs the tool.
- MCP call
- cURL command
- TypeScript
- Tool ID
Alternatives
Playbooks that use it
Connect your agent to 2,400+ tools for free
Sign in with Google or GitHub. No card required.