5.0 KiB
BRIA ComfyUI API Nodes
This repository provides custom nodes for ComfyUI, enabling direct access to BRIA's API endpoints for image generation workflows. API documentation is available here.
An API token is required to use the nodes in your workflows. Get started quickly here
.
To load a workflow, import the compatible workflow.json files from this folder.
Available Nodes
Image Generation Nodes
These nodes create high-quality images from text or image prompts, generating photorealistic or artistic results with support for various aspect ratios. [API docs].
Text2Image Base Node
This node generates images from text prompts, serving as the foundation for creating visuals based on descriptive input. [🤗model card]
Text2Image Fast Node
This node generates images from text prompts, optimized for speed. It provides faster results while maintaining quality. [🤗model card]
Text2Image HD Node
This node generates images from text prompts, optimized for high-resolution outputs. It produces detailed and sharp visuals. [🤗model card]
Tailored Generation Nodes
These nodes use pre-trained tailored models to generate images that faithfully reproduce specific visual IP elements or guidelines. [API docs].
Tailored Gen
This node generates images using a trained tailored model, reproducing specific visual IP elements or guidelines. Use the Tailored Model Info node to load the model's default settings.
Tailored Model Info
This node retrieves the default settings and prompt prefix of a trained tailored model, which can be used to configure the Tailored Gen node.
Image Editing Nodes
These nodes modify specific parts of images, enabling adjustments, while maintaining the integrity of the rest of the image.[API docs]
Eraser
This node is used to remove specific objects or areas from an image by providing a mask. Powered by BRIA's ControlNet inpainting [🤗model card] [🤗HF demo].
GenFill
This node is used to generate objects by prompt in a specific region of an image. This functionality is powered by BRIA's ControlNet Generative Fill. [🤗model card] [🤗HF demo]
Product Shot Generation Nodes
These nodes create high-quality product images for eCommerce workflows. [API docs]
ShotByText
This node is used to modify the background in an image by providing a prompt, This functionality is powered by BRIA's ControlNet Background-Generation.[🤗ContrlNet model card] [🤗HF demo].
ShotByImage
This node is used to modify the background in an image by providing a reference image. This functionality is powered by BRIA's ControlNet Background-Generation and BRIA's Image-Prompt. [🤗ContrlNet model card] [🤗IP-Adapter model card] [🤗HF demo].
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_nodesdirectory 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.