Instructions to use Comfy-Org/BiRefNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use Comfy-Org/BiRefNet with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
File size: 1,878 Bytes
bf91200 8f3f6fe 5a1bd8a bf91200 5a1bd8a 25511f8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | ---
license: mit
tags:
- comfyui
- diffusion-single-file
base_model:
- ZhengPeng7/BiRefNet
- egeorcun/lucida
---
# 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>
|