Try Kling Image V4 Long for Page Mockups from Kling AI →
Models
Agents
Workflows
Studio
PricingBlogDocs
ExploreDiscover models by categoryDiscoverModels and effects built by WiroBrowse All ModelsBrowse the complete catalogSee FavoritesSign in to view saved models
Generative Media AgentCreate and edit media by chattingWorkflow AgentBuild visual workflows with Agent
OverviewThe platform at a glanceLearnSkills, knowledge, guardrailsAnatomyWhat makes agents reasonBuild Your AgentPick connectors and skills, choose a plan, deploy
Pre-built AgentsBrowse the catalog
Agent Usecases
Ad Campaign ManagerApp Event ManagerApp Review RepliesBarber BookingCustomer Win-BackEcommerce ListingsRestaurant Reviews
Sign InStart Building
Explore models/
Image GenerationActive

Image Background Remover

byzhengpeng7

Cuts the main subject out of a photo and returns it on a transparent background at the original size. BiRefNet is a high-resolution segmentation model that uses gradient maps to keep fine edges.

Image to ImageBirefnetFp32Background Removal
Model ID
BiRefNet
Provider
zhengpeng7
Updated
Nov 7, 2026, 03:35
0
Comments
Average rating : 5 (1 users)
Providerzhengpeng7
ModelBiRefNet
Image to ImageBirefnetFp32Background Removal
wiro playground—zhengpeng7/BiRefNet
1 / 1
Maximum 1 image allowed
Image 1

Provide an image file or an image URL.

Your request will cost $0.0006 per second.

Running this model on Wiro costs approximately $0.005825 in total.

(Total cost varies depending on the request's execution time.)
Sample outputs
Before comparison sampleAfter comparison sampleBeforeAfterUse left and right arrow keys to compare the samples.
Before comparison sampleAfter comparison sampleBeforeAfterUse left and right arrow keys to compare the samples.
Updated Nov 7, 2026, 03:35

Overview

BiRefNet comes from the 2024 paper "Bilateral Reference for High-Resolution Dichotomous Image Segmentation" by Peng Zheng and six co-authors, published in CAAI Artificial Intelligence Research. Dichotomous segmentation sorts every pixel into one of two classes, object or background. The high-resolution part means the boundary has to stay accurate on large photos. The standard weights predict the mask on a 1024 x 1024 copy of the input, and that mask is then scaled back to the photo's original width and height.

The network works in two stages. A localization module uses global context to find the object. A reconstruction module then refines the outline with what the authors call a bilateral reference: hierarchical patches of the original image on one side, gradient maps on the other. During training, an auxiliary gradient loss steers the model toward regions with fine detail. The authors report that BiRefNet beat earlier task-specific methods on benchmarks for dichotomous image segmentation (DIS), high-resolution salient object detection (HRSOD) and camouflaged object detection (COD). The model has about 220 million parameters.

On Wiro it is set up as an image background remover.

What you can build

  • Product cutouts for catalogs and marketplace listings, ready to place on a white or branded backdrop.
  • Profile photo and avatar tools that lift a person out of a busy street or room.
  • Sticker makers that turn a phone photo of a pet or a toy into a cutout.
  • A first step in a compositing pipeline: isolate the subject, then drop it into a generated or stock scene.
  • Masks for later editing, since the alpha channel of the result marks which pixels belong to the subject.

Inputs

A single image, uploaded as a file or passed as a URL, in JPG, JPEG, PNG, GIF, WEBP or HEIC. There is no prompt, box or point to steer the selection and no other setting: the model decides on its own what counts as foreground. The default example is a pale kitten peeking over a leopard-print cushion against a dark wall, useful for checking how whiskers and fur edges come out.

Outputs

One image with the same width and height as the input. The subject keeps its original colors and the background turns transparent through an alpha channel. Along the outline the alpha is graded, with partly transparent pixels between subject and background. In the samples on this page, a woman sitting on a stone ledge above a hazy city comes back alone with the ledge and skyline gone, and a small yellow bird perched on a curved white rail is returned as just the bird, feet intact and rail removed.

Limitations

  • The model picks the foreground by itself. With several objects in a frame, you cannot tell it which ones to keep.
  • Things the subject rests on can be dropped, like the ledge and the rail in the samples. If a stand, shelf or table should stay in the shot, check the result.
  • This page runs the authors' standard release, which their model card says was trained on DIS-TR and validated on DIS-TEs and DIS-VD. The authors also publish separate matting weights and versions trained at 2048 x 2048; this page does not use them.

Safety & compliance

BiRefNet is released under the MIT license. If an input shows a real person's face, make sure you have that person's consent before processing it.

API quick start

Run BiRefNet with a single API call.

POST https://api.wiro.ai/v1/Run/zhengpeng7/birefnet
{
  "inputImage": "https://your-cdn.com/input.png"
}
curl
curl -X POST "https://api.wiro.ai/v1/Run/zhengpeng7/birefnet" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_WIRO_API_KEY" \
  --data-binary @- <<'JSON'
{
  "inputImage": "https://your-cdn.com/input.png"
}
JSON

Other models you might like

Explore similar image generation models.

View all
remove-background
Image to Image

remove-background

ideogram

remove-background
Image to Image

remove-background

wiro

RMBG-2.0
Image to Image

RMBG-2.0

briaai

license-plate-recognition-image
Image to Image

license-plate-recognition-image

wiro

  • face_anonymizationwiro
  • flux-upscalerwiroai
  • Real-ESRGANxinntao
  • seedream 5.5 layerizebytedance
  • Instagram Pose Multiwiro
  • Instagram Posewiro
  • p-image-try-onpruna
  • vgenwiro

Discover, test, and run AI models, build workflows and agents with one unified API.

All systems operational
WiroModelsAgentsMCP ServerLLM GatewayBrowser ExtensionIntegrationsPricingAboutBlogCareersContactPartnerChangelogStatusFAQ
CategoriesText to ImageImage to ImageImage EditingImage to TextText to VideoImage to VideoVideo to VideoText to SpeechSpeech to TextSpeech to SpeechVoice CloneRealtime ConversationMusic GenerationLLMUtilities
ModelsNano Banana 2GPT Image 2.5Seedream V5 ProSeedance 2.5Veo 3.1Kling V3FLUX 3FLUX.2 ProWan 3.0 PrimeGrok Imagine 1.5
PartnersGoogleOpenAIByteDanceBlack Forest LabsKling AIQwenAlibabaxAIMiniMaxElevenLabs
Getting StartedWiro ModelsWiro EffectsIntroductionAuthenticationProjectsCode ExamplesWiro MCP ServerSelf-Hosted MCPn8n IntegrationLLMs.txt
API ReferenceModelsRun a ModelModel ParametersTasksLLM & Chat StreamingWebSocketRealtime VoiceFiles
© 2026 Wiro AI. All rights reserved.
PrivacyTermsData Deletion