Birefnet Background Removal V2
bilateral reference framework (BiRefNet) for high-resolution dichotomous image segmentation (DIS)
Input
Fields marked * are required. Review the price before generating.
API code for this input
Complete the required fields and fix input errors to see API code.
How to use Birefnet Background Removal V2
Getting started
Separate a subject from its background with BiRefNet V2. Choose a variant for general images, portraits or matting before refining the cutout.
Review your result
Check hair, glass and gaps against light and dark backgrounds. Compare the selected foreground with the untouched source.
Inputs and settings
Provide image_url and choose model and operating_resolution. The 2304x2304 resolution requires General Use (Dynamic).
Use output_mask to include a mask; mask_only returns the mask instead of a cutout. Select output_format and review refine_foreground.