ExploreModels
Pricing
Explore

Birefnet Background Removal

All image to image models
Image to Image

bilateral reference framework (BiRefNet) for high-resolution dichotomous image segmentation (DIS)

Inference$ Commercial useFrom 1 credit per run

About Birefnet Background Removal

bilateral reference framework (BiRefNet) for high-resolution dichotomous image segmentation (DIS)

background removalsegmentationhigh-resutility

Pricing

A run with the default settings costs 1 credits. The exact cost updates in the playground as you change settings, and you're only charged when you press Run. Failed runs are refunded automatically.

Inputs

modelselectdefault: "General Use (Light)"

Model to use for background removal. The 'General Use (Light)' model is the original model used in the BiRefNet repository. The 'General Use (Heavy)' model is a slower but more accurate model. The 'Portrait' model is a model trained specifically for portrait images. The 'General Use (Light)' model is recommended for most use cases. The corresponding models are as follows: - 'General Use (Light)': BiRefNet-DIS_ep580.pth - 'General Use (Heavy)': BiRefNet-massive-epoch_240.pth - 'Portrait': BiRefNet-portrait-TR_P3M_10k-epoch_120.pth

Options: General Use (Light), General Use (Heavy), Portrait

operating_resolutionselectdefault: "1024x1024"

The resolution to operate on. The higher the resolution, the more accurate the output will be for high res input images.

Options: 1024x1024, 2048x2048

output_maskbooleandefault: false

Whether to output the mask used to remove the background

refine_foregroundbooleandefault: true

Whether to refine the foreground using the estimated mask

sync_modebooleandefault: false

If `True`, the media will be returned as a data URI and the output data won't be available in the request history.

image_urlfilerequired

URL of the image to remove background from

output_formatselectdefault: "png"

The format of the output image

Options: webp, png, gif

Nano Banana Pro
Nano Banana Pro

Nano Banana Pro is Google's new state-of-the-art image generation and editing model

realismtypography
image-to-image
Nano Banana 2
Nano Banana 2

Nano Banana 2 is Google's new state-of-the-art image generation and editing model

image-to-image
Nano Banana 2.1 Edit
Nano Banana 2.1 Edit

Nano Banana 2.1 Edit by Google transforms reference images using text instructions, with output resolutions up to 4K and optional video or PDF context.

image editingimage to image
image-to-image
GPT Image 2.5 Sunburst Edit
GPT Image 2.5 Sunburst Edit

Editing built for the tightest control, edits scoped precisely to the instruction, with subject and composition preserved across many rounds of revision.

stylizedtransform
image-to-image
GPT Image 2.6 Sunburst Edit✦ new
GPT Image 2.6 Sunburst Edit

Editing built for the tightest control, edits scoped precisely to the instruction, with subject and composition preserved across many rounds of revision.

stylizedtransform
image-to-image
GPT Image 2 API
GPT Image 2 API

GPT Image 2, OpenAI's latest image model, is capable of making fine-grained, detailed edits to images.

gpt-image-2openai
image-to-image
Nano Banana
Nano Banana

Google's famous original image generation and editing model

image-editing
image-to-image
GPT Image 2.5 Flare Edit
GPT Image 2.5 Flare Edit

Precise image editing that changes only what's asked, keeping subject, composition, and background intact, with reference subjects staying recognizable across styles and successive edits.

stylizedtransform
image-to-image
GPT Image 2.6 Flare Edit✦ new
GPT Image 2.6 Flare Edit

Precise image editing that changes only what's asked, keeping subject, composition, and background intact, with reference subjects staying recognizable across styles and successive edits.

stylizedtransform
image-to-image
Seedream 5.0 Pro Image Editing
Seedream 5.0 Pro Image Editing

Seedream 5.0 Pro is grounded, region-precise image editing model that changes one element while keeping the rest of the frame intact with layer separation, sketch completion, and up to 10 reference images.

realismtypography
image-to-image
SeedVR2
SeedVR2

Use SeedVR2 to upscale your images

upscale
image-to-image
FLUX.1 Kontext [pro]
FLUX.1 Kontext [pro]

FLUX.1 Kontext [pro] handles both text and reference images as inputs, seamlessly enabling targeted, local edits and complex transformations of entire scenes.

image-to-image