Visit ComfyUI Online for ready-to-use ComfyUI environment
Image upscaling node with advanced methods for high-quality results while maintaining aspect ratio, ideal for AI artists.
The ttN hiresfixScale
node is designed to upscale images using advanced methods and models, ensuring high-quality results while maintaining the original aspect ratio. This node is particularly useful for AI artists who need to enhance the resolution of their images without compromising on quality. It offers various rescaling options, including percentage-based scaling and aspect ratio maintenance, making it versatile for different artistic needs. The node also supports post-model rescaling and can encode the output into a latent space if required. By leveraging sophisticated upscaling techniques, ttN hiresfixScale
helps you achieve detailed and crisp images, perfect for high-resolution outputs.
Specifies the model to be used for upscaling the image. This parameter is crucial as it determines the quality and characteristics of the upscaled image. The available options are listed in the upscale_models
directory, and the default value is None
.
The input image that you want to upscale. This parameter accepts an image file and is the primary input for the upscaling process.
A boolean parameter that determines whether to rescale the image after the model upscaling. If set to True
, the image will be rescaled based on the specified method and dimensions. The default value is True
.
Defines the method to be used for rescaling the image. The available methods include nearest-exact
, bilinear
, area
, bicubic
, lanczos
, and bislerp
. This parameter affects the smoothness and quality of the rescaled image.
Specifies the rescaling approach. Options include by percentage
, to Width/Height
, and `to longer side
An integer parameter that sets the percentage by which to scale the image. It is used when rescale
is set to by percentage
. The value ranges from 0 to 1000, with a default of 50.
Specifies the target width for the image when rescaling. This parameter is used when rescale
is set to to Width/Height
. The value ranges from 64 to the maximum resolution defined by MAX_RESOLUTION
, with a default of 1024.
Specifies the target height for the image when rescaling. This parameter is used when rescale
is set to to Width/Height
. The value ranges from 64 to the maximum resolution defined by MAX_RESOLUTION
, with a default of 1024.
Defines the length of the longer side of the image when rescaling while maintaining the aspect ratio. This parameter is used when rescale
is set to `to longer side
. The value ranges from 64 to the maximum resolution defined by
MAX_RESOLUTION`, with a default of 1024.Determines whether to crop the image during rescaling. The available options are disabled
and center
. This parameter affects how the image is adjusted to fit the target dimensions.
Specifies how the output image should be handled. Options include Hide
, Preview
, Save
, and Hide/Save
. This parameter controls the visibility and storage of the upscaled image.
A string parameter that sets the prefix for the saved image file. The default value is ComfyUI
.
A boolean parameter that determines whether to encode the output image into a latent space. If set to True
, the image will be encoded, which can be useful for further processing. The default value is True
.
The encoded latent representation of the upscaled image. This output is available if output_latent
is set to True
. It can be used for further processing or analysis in latent space.
The upscaled image. This output provides the final high-resolution image after applying the specified upscaling and rescaling methods. It is the primary output for visual inspection and use.
rescale_after_model
option to fine-tune the dimensions of the upscaled image, ensuring it fits your desired resolution.rescale_method
options to find the best balance between quality and performance for your specific use case.longer_side
parameter to ensure the image scales proportionally without distortion.upscale_models
directory and that it is properly installed.width
, height
, or longer_side
parameters to values within the allowed range defined by MAX_RESOLUTION
.percent
parameter is set to a value outside the allowed range.percent
parameter is set to a value between 0 and 1000.© Copyright 2024 RunComfy. All Rights Reserved.