ComfyUI > Nodes > AuraSR-ComfyUI > AuraSR Upscaler

ComfyUI Node: AuraSR Upscaler

Class Name

AuraSR.AuraSRUpscaler

Category
AuraSR
Author
GreenLandisaLie (Account age: 1206days)
Extension
AuraSR-ComfyUI
Latest Updated
2024-07-02
Github Stars
0.04K

How to Install AuraSR-ComfyUI

Install this extension via the ComfyUI Manager by searching for AuraSR-ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter AuraSR-ComfyUI 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

AuraSR Upscaler Description

Powerful node for image upscaling using GAN-based super-resolution techniques, leveraging GigaGAN architecture for 4x resolution increase with high-quality results.

AuraSR Upscaler:

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.

AuraSR Upscaler Input Parameters:

image

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.

max_batch_size

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.

transparency_mask

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.

reapply_transparency

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.

offload_to_cpu

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.

tile_batch_size

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.

AuraSR Upscaler Output Parameters:

upscaled_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.

AuraSR Upscaler Usage Tips:

  • Ensure that your input image is of high quality to achieve the best results from the upscaling process.
  • Adjust the max_batch_size and tile_batch_size parameters based on your system's memory capacity to optimize performance and prevent memory overflow.
  • Use the transparency_mask and reapply_transparency parameters to maintain transparency in images with transparent regions.
  • Offload the model to the CPU after processing if you need to free up GPU resources for other tasks.

AuraSR Upscaler Common Errors and Solutions:

[AuraSR-ComfyUI] Could not find a config/ModelName .json file! Please download it from the model's HF page and place it according to the instructions.

  • Explanation: This error occurs when the configuration file for the model is missing.
  • Solution: Download the required configuration file from the model's Hugging Face page and place it in the specified directory as per the instructions.

[AuraSR-ComfyUI] Failed to upscale with AuraSR. Returning original image.

  • Explanation: This error indicates that the upscaling process failed, possibly due to an issue with the input image or model configuration.
  • Solution: Check the input image and ensure it is in the correct format. Verify that the model configuration is correct and that all required files are in place.

[AuraSR-ComfyUI] Failed to apply alpha layer.

  • Explanation: This error occurs when the node is unable to reapply the transparency mask to the upscaled image.
  • Solution: Ensure that the transparency mask is correctly provided and that the reapply_transparency parameter is set to True. Verify that the mask is compatible with the input image.

AuraSR Upscaler Related Nodes

Go back to the extension to check out more related nodes.
AuraSR-ComfyUI
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.