ComfyUI > Nodes > BRIA AI API nodes > Bria Restyle Portrait

ComfyUI Node: Bria Restyle Portrait

Class Name

TailoredPortraitNode

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 Restyle Portrait Description

Enhance portrait images with tailored stylistic influences using BRIA API for advanced customization and creativity.

Bria Restyle Portrait:

The TailoredPortraitNode is designed to enhance and transform portrait images by leveraging the capabilities of a tailored model through the BRIA API. This node is particularly useful for artists and designers who wish to apply specific stylistic influences to their portrait images, allowing for a high degree of customization and creativity. By utilizing this node, you can seamlessly integrate advanced image processing techniques into your workflow, enabling the generation of unique and personalized portrait styles. The node communicates with an external API to process the input image and returns a transformed version that reflects the specified stylistic parameters. This makes it an essential tool for those looking to explore new artistic expressions and push the boundaries of digital portraiture.

Bria Restyle Portrait Input Parameters:

image

The image parameter is the input image that you want to transform using the tailored model. It serves as the base for the stylistic modifications applied by the node. This parameter is required and must be provided as an image file from another node within the workflow.

tailored_model_id

The tailored_model_id is an integer that specifies which tailored model to use for processing the image. This parameter is crucial as it determines the stylistic influence applied to the portrait. It is a required parameter, and you must provide a valid model ID to ensure the node functions correctly.

api_key

The api_key is a string parameter that provides authentication for accessing the BRIA API. It is required to authorize the request to the external service. The default value is set to "BRIA_API_TOKEN", but you should replace it with your actual API key to enable the node's functionality.

seed

The seed parameter is an optional integer that influences the randomness of the transformation process. By setting a specific seed value, you can achieve consistent results across multiple executions. The default value is 123456, and you can adjust it to explore different variations of the output.

tailored_model_influence

The tailored_model_influence is a float parameter that controls the degree to which the tailored model affects the final image. A higher value results in a stronger influence of the model's style on the portrait. The default value is 0.9, and you can adjust it between 0.0 and 1.0 to fine-tune the stylistic impact.

id_strength

The id_strength parameter is a float that determines the strength of the identity preservation in the transformed image. A higher value maintains more of the original image's identity, while a lower value allows for greater stylistic changes. The default value is 0.7, and it can be adjusted between 0.0 and 1.0 to balance identity and style.

Bria Restyle Portrait Output Parameters:

output_image

The output_image is the transformed portrait image that results from the node's execution. It reflects the stylistic influences specified by the input parameters and is returned as an image file. This output is crucial for evaluating the effectiveness of the applied transformations and serves as the final product of the node's processing.

Bria Restyle Portrait Usage Tips:

  • Ensure that your api_key is correctly set to avoid authentication issues with the BRIA API.
  • Experiment with different tailored_model_id values to explore various stylistic influences and find the one that best suits your artistic vision.
  • Use the seed parameter to achieve consistent results when you want to replicate a specific transformation.
  • Adjust the tailored_model_influence and id_strength parameters to find the right balance between stylistic transformation and identity preservation in your portraits.

Bria Restyle Portrait 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 incorrect API key, network issues, or an invalid model ID.
  • Solution: Verify that your api_key is correct and active. Check your network connection and ensure that the tailored_model_id is valid. Retry the request after addressing these issues.

Exception: <error_message>

  • Explanation: This generic error message indicates that an unexpected issue occurred during the node's execution, which could be due to various reasons such as invalid input parameters or API response issues.
  • Solution: Review all input parameters for correctness and ensure they meet the expected formats and ranges. Check the API documentation for any updates or changes that might affect the node's operation.

Bria Restyle Portrait 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.