BRIA ComfyUI API Nodes
Overview
This repository contains custom nodes for ComfyUI that allow access to BRIA's API endpoints.
To use the nodes in the workflow, you need a valid BRIA API token. You can get one here
You can load the workflow, which includes all available nodes, by importing the workflow.json file in this repo.
You can also download the following image and import it to comfyui:
<img src="./images/eraser_workflow.png" alt="Original image" width="500"/>An illustration of the workflow:
<img src="./images/eraser_workflow_diagram.jpg" alt="Eraser workflow example" width="650"/> <img src="./images/original_image.jpg" alt="Original image" width="150"/>
Available Nodes
Eraser
The Eraser node allows users to remove specific objects or areas from an image by providing a mask.
This functionality is powered by BRIA's ControlNet inpainting, available on this model card on Hugging Face.
You can also try out BRIA's Eraser demo by visiting our Hugging Face space here.
Installation
There are two methods to install the BRIA ComfyUI API nodes:
Method 1: Using ComfyUI's Custom Node Manager
- Open ComfyUI.
- Navigate to the Custom Node Manager.
- Click on 'Install Missing Nodes' or search for BRIA API and install the node from the manager.
Method 2: Git Clone
-
Navigate to the
custom_nodes
directory of your ComfyUI installation:cd path_to_comfyui/custom_nodes
-
Clone this repository:
git clone https://github.com/your-repo-link/ComfyUI-BRIA-API.git
-
Restart ComfyUI and load the workflows.