Mindket

BiRefNet

Newversion 1 · updated

Overview

Background-removal model files re-packed by Comfy-Org so ComfyUI can load them. They make a mask that separates a subject from its background. For ComfyUI users who cut subjects out of images.

BiRefNet is a kit in the Productivity category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • ComfyUI installed on your computer
  • Python, for the download
  • The huggingface_hub package
Runs in
  • ComfyUI, the only place the card describes
  • Windows, macOS or Linux with Python, to download the files
  • The ComfyUI workflow template named Remove Background: BiRefNet
Start with
pip install -U huggingface_hub
hf download Comfy-Org/BiRefNet

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

This repository holds BiRefNet model weights that Comfy-Org re-packed so ComfyUI can load them. BiRefNet makes a mask that separates the subject of an image from its background. It lists two files, birefnet.safetensors and lucida.safetensors, and names ZhengPeng7/BiRefNet and egeorcun/lucida as the original repositories.

Who it suits

It suits people who build image workflows in ComfyUI and want a ready way to cut a subject out of a picture. It is a set of model files, not an app.

Who uses it
IndustryWho uses itHow they use itExample
Image editingDesignersCut a subject out of a photo inside ComfyUIRemove the backdrop from a product photo
E-commerceShop ownersPrepare clean product picturesGet a cut-out of an item to place on a new background
AI artWorkflow buildersAdd a mask step to a ComfyUI graphMask the subject before another model edits the rest

People who do not use ComfyUI can skip it, since the card gives no other way to run it.

Where to use it

  • ComfyUI, the only place the card describes
  • Windows, macOS or Linux with Python, to download the files
  • The ComfyUI workflow template named Remove Background: BiRefNet
Top jobs
Use caseWhoWhat they get back
Background removalDesignersA subject separated from its background
Mask generationWorkflow buildersA mask other nodes can use
Product picturesShop ownersA clean cut-out of an item

How to set it up

  • ComfyUI installed on your computer
  • Python, for the download
  • The huggingface_hub package
  1. Install the Hugging Face hub package.
  2. Download the model files to your computer.
  3. Copy birefnet.safetensors and lucida.safetensors into the background_removal folder, inside ComfyUI's models folder.
  4. Restart ComfyUI so it sees the new files.
pip install -U huggingface_hub
hf download Comfy-Org/BiRefNet

How to use it

In ComfyUI, open the workflow template named Remove Background: BiRefNet from the Comfy-Org workflow templates, then run it on your image. The card gives no commands beyond the download.

Example

You open the Remove Background: BiRefNet template and run it on a photo of a product. The workflow returns the subject without its background. The card shows a before and after thumbnail pair, so check the result on your own picture.

For newcomers and experts

If you are new, a mask is a map that marks which parts of a picture are the subject. The first thing to try is the card's template with one photo you know well.

For experts, the record lists the task as mask generation and the library as diffusion-single-file. The weights are single safetensors files that ComfyUI reads from its models folder, so no extra code is needed. The card does not say which of the two files is better.

  1. Download the two safetensors files
  2. Copy them into the models folder
  3. Open the BiRefNet workflow
  4. Run it to get the mask

Good to know

  • Repackaged files: the original work comes from the repositories the card names.
  • License: MIT.
  • Reach: it runs in ComfyUI on your computer.
  • Cost to run: none named.
  • Data it reaches: it downloads files from Hugging Face, and the source names nothing else.
  • Not for: chat, writing or any use outside ComfyUI.

README and files

README

BiRefNet

Background-removal model files re-packed by Comfy-Org so ComfyUI can load them. They make a mask that separates a subject from its background. For ComfyUI users who cut subjects out of images.

Made by Comfy-Org on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: This repository holds BiRefNet model weights that Comfy-Org re-packed so ComfyUI can load them. BiRefNet makes a mask that separates the subject of an image from its background. It lists two files, birefnet.safetensors and lucida.safetensors, and names ZhengPeng7/BiRefNet and egeorcun/lucida as the original repositories.

Who it suits: It suits people who build image workflows in ComfyUI and want a ready way to cut a subject out of a picture. It is a set of model files, not an app.

Title: Who uses it
Industry | Who uses it | How they use it | Example
Image editing | Designers | Cut a subject out of a photo inside ComfyUI | Remove the backdrop from a product photo
E-commerce | Shop owners | Prepare clean product pictures | Get a cut-out of an item to place on a new background
AI art | Workflow builders | Add a mask step to a ComfyUI graph | Mask the subject before another model edits the rest

People who do not use ComfyUI can skip it, since the card gives no other way to run it.

Where to use it:

  • ComfyUI, the only place the card describes
  • Windows, macOS or Linux with Python, to download the files
  • The ComfyUI workflow template named Remove Background: BiRefNet
Title: Top jobs
Use case | Who | What they get back
Background removal | Designers | A subject separated from its background
Mask generation | Workflow builders | A mask other nodes can use
Product pictures | Shop owners | A clean cut-out of an item

How to set it up:

  • ComfyUI installed on your computer
  • Python, for the download
  • The huggingface_hub package
  1. Install the Hugging Face hub package.
  2. Download the model files to your computer.
  3. Copy birefnet.safetensors and lucida.safetensors into the background_removal folder, inside ComfyUI's models folder.
  4. Restart ComfyUI so it sees the new files.
pip install -U huggingface_hub
hf download Comfy-Org/BiRefNet

How to use it: In ComfyUI, open the workflow template named Remove Background: BiRefNet from the Comfy-Org workflow templates, then run it on your image. The card gives no commands beyond the download.

Example: You open the Remove Background: BiRefNet template and run it on a photo of a product. The workflow returns the subject without its background. The card shows a before and after thumbnail pair, so check the result on your own picture.

For newcomers and experts: If you are new, a mask is a map that marks which parts of a picture are the subject. The first thing to try is the card's template with one photo you know well.

For experts, the record lists the task as mask generation and the library as diffusion-single-file. The weights are single safetensors files that ComfyUI reads from its models folder, so no extra code is needed. The card does not say which of the two files is better.

Download the two safetensors files
Copy them into the models folder
Open the BiRefNet workflow
Run it to get the mask

Good to know:

  • Repackaged files: the original work comes from the repositories the card names.
  • License: MIT.
  • Reach: it runs in ComfyUI on your computer.
  • Cost to run: none named.
  • Data it reaches: it downloads files from Hugging Face, and the source names nothing else.
  • Not for: chat, writing or any use outside ComfyUI.

On Hugging Face, 13 November 2026

  • Task: mask generation
  • Library: diffusion-single-file
  • Downloads in the last 30 days: 232,004
  • Likes: 64
  • License: mit
  • Based on: ZhengPeng7/BiRefNet
  • Tags: diffusion-single-file, comfyui, mask-generation

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download Comfy-Org/BiRefNet

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  4 KB

1 file, 4 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesLicenseLast change
BiRefNet This page232,00464mit
Depth Anything 3 by Comfy-OrgShares diffusion-single-file · comfyui74,19931apache-2.0
MOSS-Image depth control LoRAShares comfyui2,0116apache-2.0
BFS Best Face SwapShares comfyui4073mit
Moss-Image-Edit LoRA for ComfyUIShares comfyui018gpl-3.0
MOSS-Image-Edit-HQShares comfyui090apache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar in Productivity

See all in Productivity

Frontend Slides

zarazhangrui · Skill

Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…

New32.3k

IPTV

iptv-org · Kit

Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…

New144k

upscaler

uwg · Kit

Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…

New