ComfyUI > Nodes > BRIA AI API nodes > Bria RMBG

ComfyUI Node: Bria RMBG

Class Name

RmbgNode

Category
API Nodes
Author
BRIA AI (Account age: 1801days)
Extension
BRIA AI API nodes
Latest Updated
2025-03-17
Github Stars
0.04K

How to Install BRIA AI API nodes

Install this extension via the ComfyUI Manager by searching for BRIA AI API nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter BRIA AI API nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Bria RMBG Description

Automated background removal tool for images using Bria API, streamlining isolation of subjects for creative projects.

Bria RMBG:

The RmbgNode, also known as "Bria RMBG," is designed to facilitate the removal of backgrounds from images using the Bria API. This node is particularly beneficial for AI artists and designers who need to isolate subjects from their backgrounds efficiently, allowing for seamless integration into new environments or compositions. By leveraging the capabilities of the Bria API, the RmbgNode automates the background removal process, ensuring high-quality results with minimal manual intervention. This node is an essential tool for enhancing creative workflows, enabling users to focus on the artistic aspects of their projects without being bogged down by technical complexities.

Bria RMBG Input Parameters:

image

The image parameter is the primary input for the RmbgNode, representing the image from which you want to remove the background. This parameter is crucial as it serves as the basis for the node's processing. The image should be provided in a compatible format, typically as an image object from another node within the ComfyUI environment. The quality and resolution of the input image can significantly impact the effectiveness of the background removal process.

api_key

The api_key parameter is a string that serves as your authentication token for accessing the Bria API. This key is essential for authorizing requests to the API and ensuring that you have the necessary permissions to use the background removal service. The default value for this parameter is "BRIA_API_TOKEN," but you should replace it with your actual API key to enable the node's functionality. Without a valid API key, the node will not be able to communicate with the Bria API, resulting in failed requests.

content_moderation

The content_moderation parameter is an optional boolean that determines whether content moderation should be applied to the input image. When set to True, the node will perform additional checks to ensure that the image content complies with certain standards or guidelines. The default value is False, meaning that content moderation is disabled by default. Enabling this option can be useful if you need to adhere to specific content policies or if you want to ensure that the images processed by the node are appropriate for all audiences.

Bria RMBG Output Parameters:

output_image

The output_image parameter is the result of the RmbgNode's processing, representing the image with the background removed. This output is crucial for users who need a clean, isolated subject for further creative work or integration into new compositions. The output image is typically returned as a tensor, which can be easily manipulated or transformed within the ComfyUI environment. The quality of the output image depends on the input image and the effectiveness of the background removal process, but it is generally expected to be of high quality, suitable for professional use.

Bria RMBG Usage Tips:

  • Ensure that your input image is of high quality and resolution to achieve the best results in background removal.
  • Always use a valid API key to avoid authentication errors and ensure smooth communication with the Bria API.
  • Consider enabling content moderation if you need to comply with specific content guidelines or policies.

Bria RMBG Common Errors and Solutions:

Error: API request failed with status code <status_code>

  • Explanation: This error occurs when the request to the Bria API is unsuccessful, possibly due to an invalid API key, network issues, or server-side problems.
  • Solution: Verify that your API key is correct and active. Check your network connection and try again. If the issue persists, contact Bria API support for assistance.

Exception: <error_message>

  • Explanation: This is a generic error message indicating that an unexpected issue occurred during the node's execution.
  • Solution: Review the error message for specific details about the problem. Ensure that all input parameters are correctly configured and that the input image is in a compatible format. If necessary, consult the ComfyUI documentation or support resources for further troubleshooting.

Bria RMBG Related Nodes

Go back to the extension to check out more related nodes.
BRIA AI API nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.