Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance and expand images using external API for AI artists, creating larger canvases while maintaining original integrity and style.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
<status_code>
<error_message>
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.