Files
Bria-AI-ComfyUI-BRIA-API/Readme.md
T
2024-12-03 18:28:55 +02:00

2.1 KiB

BRIA ComfyUI API Nodes

Overview

This repository contains custom nodes for ComfyUI that allow access to BRIA's API endpoints. You can find our API documentation here.

To use the nodes in the workflow, you need a valid BRIA API token. You can get one here (with 1000 free calls)

You can load the different workflows, by importing the compatible workflow.json files in this folder.

An illustration of our workflows:

all workflows example

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.

GenFill

The GenFill node allows users to add and modify objects or areas in an image by providing a mask and a prompt.

This functionality is powered by BRIA's ControlNet Generative Fill, available on this model card on Hugging Face.

You can also try out BRIA's Generative Fill 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

  1. Open ComfyUI.
  2. Navigate to the Custom Node Manager.
  3. Click on 'Install Missing Nodes' or search for BRIA API and install the node from the manager.

Method 2: Git Clone

  1. Navigate to the custom_nodes directory of your ComfyUI installation:

    cd path_to_comfyui/custom_nodes
    
  2. Clone this repository:

    git clone https://github.com/your-repo-link/ComfyUI-BRIA-API.git
    
  3. Restart ComfyUI and load the workflows.