Visit ComfyUI Online for ready-to-use ComfyUI environment
Powerful node for image upscaling using GAN-based super-resolution techniques, leveraging GigaGAN architecture for 4x resolution increase with high-quality results.
AuraSR.AuraSRUpscaler is a powerful node designed to enhance the resolution of images using advanced GAN-based super-resolution techniques. This node leverages the capabilities of the GigaGAN architecture, which is known for its ability to generate high-quality, detailed images from lower-resolution inputs. The primary goal of AuraSR.AuraSRUpscaler is to upscale images by a factor of 4x, making it ideal for applications where high-resolution outputs are crucial, such as digital art, photography, and other visual media. By utilizing a sophisticated upsampling process, this node ensures that the resulting images maintain their original quality while adding finer details and reducing artifacts. The node is designed to handle batch processing efficiently, making it suitable for both single images and larger datasets.
The image
parameter is the input image that you want to upscale. It should be provided in a format compatible with the PIL library, such as a PIL Image object. This parameter is crucial as it serves as the base for the upscaling process.
The max_batch_size
parameter determines the maximum number of image tiles processed in a single batch during the upscaling operation. This parameter helps manage memory usage and processing time, especially for larger images. The default value is 8, but it can be adjusted based on your system's capabilities and the size of the input image.
The transparency_mask
parameter is an optional input that allows you to provide a transparency mask for the input image. This mask helps preserve transparency in the upscaled image, ensuring that areas meant to be transparent remain so after processing.
The reapply_transparency
parameter is a boolean flag that indicates whether the transparency mask should be reapplied to the upscaled image. If set to True
, the node will attempt to reapply the transparency mask after upscaling. This is useful for maintaining the integrity of transparent regions in the image.
The offload_to_cpu
parameter is a boolean flag that determines whether the model should be offloaded to the CPU after processing. This can help free up GPU resources for other tasks. If set to True
, the model will be moved to the CPU after the upscaling operation is complete.
The tile_batch_size
parameter specifies the number of tiles to process in each batch during the upscaling operation. This parameter helps manage memory usage and processing time, especially for larger images. The default value is 8, but it can be adjusted based on your system's capabilities and the size of the input image.
The upscaled_image
parameter is the output of the node, representing the upscaled version of the input image. This image is returned as a tensor, ready for further processing or saving. The upscaled image maintains the original quality while adding finer details and reducing artifacts, making it suitable for high-resolution applications.
max_batch_size
and tile_batch_size
parameters based on your system's memory capacity to optimize performance and prevent memory overflow.transparency_mask
and reapply_transparency
parameters to maintain transparency in images with transparent regions.reapply_transparency
parameter is set to True
. Verify that the mask is compatible with the input image.© Copyright 2024 RunComfy. All Rights Reserved.