ComfyUI > Nodes > BRIA AI API nodes > Bria Tailored Gen

ComfyUI Node: Bria Tailored Gen

Class Name

BriaTailoredGen

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 Tailored Gen Description

Facilitates tailored image generation using Bria API with customizable parameters for AI artists.

Bria Tailored Gen:

The BriaTailoredGen node is designed to facilitate the generation of tailored images using a specified model through the Bria API. This node allows you to customize the image generation process by providing various parameters that influence the output, such as prompts, aspect ratios, and guidance methods. It is particularly beneficial for AI artists who wish to create unique and personalized images by leveraging the capabilities of tailored models. The node's primary function is to interact with the Bria API, sending a payload that includes your specifications and receiving a generated image in return. This process enables you to produce high-quality images that align with your creative vision, making it an essential tool for artists looking to explore the possibilities of AI-driven image generation.

Bria Tailored Gen Input Parameters:

model_id

The model_id is a required parameter that specifies the unique identifier of the tailored model you wish to use for image generation. This ID is crucial as it determines the model's characteristics and influences the style and quality of the generated image. There are no default values for this parameter, and it must be provided to execute the node successfully.

api_key

The api_key is a required parameter that provides authentication for accessing the Bria API. It ensures that you have the necessary permissions to use the tailored model for image generation. Like the model_id, this parameter does not have a default value and must be supplied for the node to function.

prompt

The prompt is an optional string parameter that serves as the primary input for the image generation process. It describes the content or theme you want the generated image to reflect. The prompt is combined with the generation_prefix to form a complete input for the model. If not provided, the node may rely solely on the generation_prefix.

generation_prefix

The generation_prefix is an optional string parameter that can be used to prepend a specific prefix to the prompt. This prefix is often derived from the tailored model's information and can help guide the model's output towards a particular style or theme. It is not mandatory but can enhance the specificity of the generated image.

aspect_ratio

The aspect_ratio is an optional parameter that defines the dimensions of the generated image. It offers several predefined options, such as "1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", and "16:9", with a default value of "4:3". This parameter allows you to control the shape and composition of the image, ensuring it fits your desired format.

seed

The seed is an optional integer parameter that influences the randomness of the image generation process. By setting a specific seed value, you can achieve consistent results across multiple runs. The default value is -1, which indicates that a random seed will be used, leading to varied outputs each time.

model_influence

The model_influence is an optional float parameter that determines the extent to which the tailored model affects the generated image. A value of 1.0, which is the default, means the model's influence is fully applied. Adjusting this value can help you balance the model's style with other input factors.

negative_prompt

The negative_prompt is an optional string parameter that specifies elements or themes you want to avoid in the generated image. By providing a negative prompt, you can steer the model away from certain content, ensuring the output aligns more closely with your preferences. The default value is an empty string.

fast

The fast parameter is an optional integer that indicates whether the image generation process should prioritize speed. A value of 1, which is the default, enables faster generation, while a value of 0 may result in higher quality at the expense of speed.

steps_num

The steps_num is an optional integer parameter that defines the number of steps the model should take during the image generation process. The default value is 8, which balances speed and quality. Increasing this number can enhance the image's detail and fidelity but may also increase processing time.

guidance_method_1

The guidance_method_1 is an optional parameter that specifies the first guidance method to be used during image generation. It offers options like "controlnet_canny", "controlnet_depth", "controlnet_recoloring", and "controlnet_color_grid", with a default of "controlnet_canny". This parameter helps refine the image by applying specific guidance techniques.

guidance_method_1_scale

The guidance_method_1_scale is an optional float parameter that determines the strength of the first guidance method. The default value is 1.0, indicating full application of the guidance. Adjusting this scale can help you fine-tune the influence of the guidance method on the final image.

guidance_method_1_image

The guidance_method_1_image is an optional parameter that allows you to provide an image to guide the first guidance method. This image serves as a reference for the model, helping it align the generated output with specific visual elements or styles.

guidance_method_2

The guidance_method_2 is an optional parameter similar to guidance_method_1, specifying a second guidance method to be used. It offers the same options and default value, allowing you to apply additional guidance techniques to the image generation process.

guidance_method_2_scale

The guidance_method_2_scale is an optional float parameter that sets the strength of the second guidance method. Like guidance_method_1_scale, its default value is 1.0, and it can be adjusted to control the influence of the second guidance method.

guidance_method_2_image

The guidance_method_2_image is an optional parameter that provides an image for the second guidance method. This image acts as a reference, similar to guidance_method_1_image, helping the model incorporate specific visual cues into the generated output.

content_moderation

The content_moderation is an optional integer parameter that determines whether content moderation should be applied to the generated image. A value of 0, which is the default, indicates no moderation, while a value of 1 enables moderation to ensure the output adheres to specific content guidelines.

Bria Tailored Gen Output Parameters:

The BriaTailoredGen node does not explicitly list output parameters in the provided context. However, the primary output is the generated image, which is the result of the tailored model's processing based on the input parameters. This image reflects the specified prompts, aspect ratios, and guidance methods, providing a visual representation of your creative input.

Bria Tailored Gen Usage Tips:

  • To achieve consistent results, use a specific seed value, which will ensure the same output across multiple runs.
  • Experiment with different aspect_ratio settings to find the best composition for your image, especially if you have specific display requirements.
  • Utilize the negative_prompt to exclude unwanted elements from your image, helping to refine the output to better match your vision.
  • Adjust the model_influence to balance the tailored model's style with other input factors, allowing for more personalized results.

Bria Tailored Gen Common Errors and Solutions:

Error: API request failed with status code <code> and text <text>

  • Explanation: This error occurs when the API request to the Bria server fails, possibly due to an incorrect model_id, api_key, or network issues.
  • Solution: Verify that the model_id and api_key are correct and have the necessary permissions. Check your network connection and try again.

Error: Missing required parameter: model_id or api_key

  • Explanation: This error indicates that one or both of the required parameters, model_id or api_key, are not provided.
  • Solution: Ensure that both model_id and api_key are included in your input parameters before executing the node.

Error: Invalid aspect_ratio value

  • Explanation: This error occurs when an unsupported value is provided for the aspect_ratio parameter.
  • Solution: Use one of the predefined aspect ratio options, such as "1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", or "16:9".

Bria Tailored Gen 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.