ComfyUI-BRIA_AI-RMBG
Run ComfyUI Easily with InstaSD
Skip the complex setup. InstaSD helps creative professionals build workflows and deploy them to the world:
- One-click deployment
- Any model, any node
- Powerful GPUs for rapid iteration
Available Nodes
Documentation
ComfyUI-BRIA_AI-RMBG
Overview
The ComfyUI-BRIA_AI-RMBG repository provides custom nodes for the ComfyUI system, offering an unofficial implementation of the BRIA Background Removal version 1.4. This is a background removal model developed by BRIA AI, available for non-commercial open-source use. The repository extends the capabilities of ComfyUI by integrating this powerful background removal tool, making it specifically suitable for tasks involving bulk image and video background removal.
Installation Instructions
Recommended Installation
- There is a plan to support installation through the ComfyUI Manager for a more streamlined experience. This feature is currently in development ("On the Way").
Manual Installation
To manually install the ComfyUI-BRIA_AI-RMBG nodes, follow these steps:
- Navigate to the
custom_nodesdirectory of your ComfyUI installation. - Execute the following command to clone the repository:
git clone https://github.com/ZHO-ZHO-ZHO/ComfyUI-BRIA_AI-RMBG.git - Restart ComfyUI to complete the installation.
Usage Instructions
After installing the nodes, you must download the Removal v1.4 model from Hugging Face and place it in the directory:
/custom_nodes/ComfyUI-BRIA_AI-RMBG/RMBG-1.4.
Available Nodes
The repository provides the following nodes, implemented in the BRIA_RMBG.py file:
- BRIA_RMBG_ModelLoader_Zho: Automatically loads the Removal v1.4 model for use in your workflows.
- BRIA_RMBG_Zho: Utilizes the loaded model to perform background removal on images or videos.
Special Features and Capabilities
- Batch Processing: Version 1.5 of the repository enhances the functionality by supporting batch processing. This capability allows users to efficiently remove backgrounds from multiple images or video frames simultaneously, making it highly applicable for bulk operations.
- Output Mask Functionality: An added feature in Version 1.5 is the ability to output masks, providing more control and flexibility over the background removal process.
Usefulness in ComfyUI Workflows
This repository significantly enhances the capability of ComfyUI by allowing seamless integration of an effective background removal process into your projects. Whether dealing with single images or entire videos, the nodes make it conceivable to automate and streamline background removal operations, fitting seamlessly into broader ComfyUI-based workflows. The addition of batch processing and output mask features further broaden its applicability in complex workflows involving significant amounts of visual data.
By using the ComfyUI-BRIA_AI-RMBG nodes, users can thus leverage advanced AI-driven background removal without the need for extensive manual input, simplifying the management of digital imagery projects across various domains.