---
title: BiRefNet
canonical_url: "https://www.modelscope.cn/models/Comfy-Org/BiRefNet"
md_url: "https://www.modelscope.cn/models/Comfy-Org/BiRefNet.md"
repository: Comfy-Org/BiRefNet
last_updated: 2026-10-28
license: mit
base_model:
  - ZhengPeng7/BiRefNet
  - egeorcun/lucida
base_model_relation: finetune
parameters: 441.4M
tensor_type:
  - F32
  - F16
  - I64
library_name:
  - safetensors
  - pytorch
frameworks:
  - pytorch
downloads: 5527
stars: 7
tags:
  - comfyui
  - diffusion-single-file
---

# BiRefNet

> BiRefNet - Comfy-Org 在 ModelScope 开源的模型。Repackaged model files for ComfyUI.

Comfy-Org/BiRefNet 是 ModelScope 魔搭社区上的 441.4M 参数机器学习模型，采用 mit 许可，基于 ZhengPeng7/BiRefNet、egeorcun/lucida 构建。

- **Repository**: Comfy-Org/BiRefNet
- **License**: mit
- **Parameters**: 441.4M
- **Base model**: ZhengPeng7/BiRefNet, egeorcun/lucida
- **Tags**: comfyui, diffusion-single-file
- **Downloads**: 5527
- **Stars**: 7
- **Last updated**: 2026-10-28

Source: https://www.modelscope.cn/models/Comfy-Org/BiRefNet

---

# BiRefNet

Repackaged model files for ComfyUI.

Original model repository:

- https://huggingface.co/ZhengPeng7/BiRefNet
- https://huggingface.co/egeorcun/lucida

Place the files in the following folders:

```
📂 ComfyUI/
├── 📂 models/
│   ├── 📂 background_removal/
│   │   ├── birefnet.safetensors
│   │   └── lucida.safetensors
```

## Workflows

<table>
<thead>
<tr><th align="center" valign="middle" style="text-align:center;vertical-align:middle">Workflow</th><th colspan="2" align="center" valign="middle" style="text-align:center;vertical-align:middle">Thumb</th></tr>
</thead>
<tbody>
<tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/utility_birefnet_remove_background.json">Remove Background: BiRefNet</a></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/utility_birefnet_remove_background.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/utility_birefnet_remove_background-2.webp" width="200" height="200" alt="Remove Background: BiRefNet"></a><div align="center">Before</div></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/utility_birefnet_remove_background.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/utility_birefnet_remove_background-1.webp" width="200" height="200" alt="Remove Background: BiRefNet"></a><div align="center">After</div></td></tr>
</tbody>
</table>
