--- license: other license_name: dinov3-license license_link: https://ai.meta.com/resources/models-and-libraries/dinov3-license tags: - comfyui - diffusion-single-file base_model: - ZhengPeng7/BiRefNet-V2-DIS5K - ZhengPeng7/BiRefNet-V2-COD - ZhengPeng7/BiRefNet-V2-HRSOD - ZhengPeng7/BiRefNet-V2_lite-DIS5K pipeline_tag: mask-generation --- # BiRefNet v2 Repackaged model files for ComfyUI. Original model repository: - https://huggingface.co/ZhengPeng7/BiRefNet-V2-DIS5K - https://huggingface.co/ZhengPeng7/BiRefNet-V2-COD - https://huggingface.co/ZhengPeng7/BiRefNet-V2-HRSOD - https://huggingface.co/ZhengPeng7/BiRefNet-V2_lite-DIS5K ## Model variants | File | Use it for | |---|---| | `birefnet_v2_dis5k_bf16.safetensors` | General background removal that keeps fine detail like hair, wires and thin structures | | `birefnet_v2_lite_dis5k_bf16.safetensors` | Same as above, smaller and about 2x faster, slightly less accurate | | `birefnet_v2_cod_bf16.safetensors` | Finding objects that blend into their surroundings, like camouflaged animals | | `birefnet_v2_hrsod_bf16.safetensors` | Cutting out the main subject of a high-resolution photo | Place the files in the following folders: ``` 📂 ComfyUI/ ├── 📂 models/ │ ├── 📂 background_removal/ │ │ ├── birefnet_v2_cod_bf16.safetensors │ │ ├── birefnet_v2_dis5k_bf16.safetensors │ │ ├── birefnet_v2_hrsod_bf16.safetensors │ │ └── birefnet_v2_lite_dis5k_bf16.safetensors ```