ComfyUI > Nodes > BRIA AI API nodes > Bria Image Expansion

ComfyUI Node: Bria Image Expansion

Class Name

ImageExpansionNode

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 Image Expansion Description

Enhance and expand images using external API for AI artists, creating larger canvases while maintaining original integrity and style.

Bria Image Expansion:

The ImageExpansionNode is designed to enhance and expand images by leveraging an external API service. This node is particularly useful for AI artists who wish to extend the boundaries of an image, creating a larger canvas while maintaining the original image's integrity and style. By utilizing this node, you can input an image and receive an expanded version that seamlessly integrates with the original. The node communicates with the BRIA API to perform the expansion, ensuring high-quality results. This process is beneficial for creating larger artworks or preparing images for print without losing detail or quality. The node's primary function is to facilitate the expansion of images in a user-friendly manner, making it accessible even to those with limited technical expertise.

Bria Image Expansion Input Parameters:

image

This parameter represents the input image that you want to expand. It is crucial as it serves as the base for the expansion process. The image should be in a compatible format and is typically provided by another node in the workflow.

original_image_size

This parameter specifies the size of the original image before expansion. It is important for the API to understand the dimensions it needs to work with to ensure the expanded image maintains the correct proportions.

original_image_location

This parameter indicates the location or path of the original image. It helps in identifying the source of the image, which can be useful for referencing or logging purposes.

api_key

The API key is a string that authenticates your access to the BRIA API. It is essential for making authorized requests to the API service. The default value is "BRIA_API_TOKEN", but you should replace it with your actual API key.

canvas_size

This optional parameter defines the desired size of the canvas for the expanded image. The default value is "1000, 1000", but you can adjust it to fit your specific needs. It determines the final dimensions of the expanded image.

prompt

An optional string parameter that can be used to guide the expansion process with specific instructions or themes. The default is an empty string, allowing for a more generic expansion if not specified.

seed

This optional integer parameter is used to ensure reproducibility in the expansion process. The default value is 681794. By setting a specific seed, you can achieve consistent results across multiple runs.

negative_prompt

An optional string parameter that specifies elements or themes to avoid during the expansion process. The default value is "Ugly, mutated", which helps in steering the expansion away from undesirable outcomes.

content_moderation

This optional boolean parameter determines whether content moderation should be applied during the expansion process. The default is False, but enabling it can help filter out inappropriate content.

Bria Image Expansion Output Parameters:

output_image

The output parameter is the expanded image, which is the result of the node's execution. This image is returned in a format ready for further processing or display. It represents the original image expanded to the specified canvas size, maintaining the quality and style of the original.

Bria Image Expansion Usage Tips:

  • Ensure that your API key is correctly set to avoid authentication issues when accessing the BRIA API.
  • Experiment with different canvas sizes and prompts to achieve the desired artistic effect in your expanded images.
  • Use the seed parameter to reproduce specific results, which can be useful for iterative design processes.

Bria Image Expansion 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 network issues, incorrect API key, or server-side problems.
  • Solution: Verify your internet connection, ensure your API key is correct, and check the BRIA API status for any outages.

Exception: <error_message>

  • Explanation: This is a general error message indicating that an exception occurred during the node's execution, which could be due to various reasons such as invalid input parameters or API response issues.
  • Solution: Review the input parameters for correctness, ensure the image format is supported, and check for any additional error details provided in the message to troubleshoot further.

Bria Image Expansion 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.