Skip to content
Reduced motion is on. Play a preview to watch it.
Explore models

Image

Birefnet Background Removal V2

Separate a subject from its background with BiRefNet V2.

  • Image editing
Create with Birefnet Background Removal V2
Preview for Birefnet Background Removal V2

Catalog preview for Birefnet Background Removal V2. Review your own result before publishing.

A starting point.

Separate a subject from its background with BiRefNet V2. Choose a variant for general images, portraits or matting before refining the cutout.

Before you publish.

Check hair, glass and gaps against light and dark backgrounds. Compare the selected foreground with the untouched source.

Review the quote before running. A failed generation releases its reserved credits. Download the results you want to keep; stored media is retained for 30 days.

How credits work · Use the API · Content guidelines

Settings and model questionsCheck the available settings and guidance when preparing your input.

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.

Inputs, all modes and APIModel IDs, current input limits and the API generation workflow.

Supported inputs

These fields come from the current studio form for birefnet/v2. Other modes may require different inputs.

Input types, requirements and limits for birefnet/v2
InputTypeRequirementOptions and limits
image_urlTextRequired—
mask_onlyOn/offOptional—
modelTextOptional—
operating_resolutionTextOptional—
output_formatTextOptionalwebp, png, gif
output_maskOn/offOptional—
refine_foregroundOn/offOptional—

Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.

Use Birefnet Background Removal V2 through the API.

Start with this model ID for the endpoint featured on this page:

birefnet/v2

Input requirements belong to this model ID. Check a different mode’s schema separately when switching modes.

Check the current model schema for supported inputs and options. Other tasks may use different model IDs.

From quote to result.

Request a credit quote for your input and settings before submitting a generation. A sample output or the price of another model is not a quote for your request.

Follow the generation workflow, then poll the job for its status and result. The API and studio use the same balance.