ComfyUI Nodes
Latent Upscale

Upscale Latent

comfyUI节点-Upscale latent|Latent缩放


  • Class name: LatentUpscale
  • Category: latent
  • Output node: False

The LatentUpscale node is designed for upscaling latent representations of images. It allows for the adjustment of the output image's dimensions and the method of upscaling, providing flexibility in enhancing the resolution of latent images.

Input types

ParameterComfy dtypeDescription
samplesLATENTThe latent representation of an image to be upscaled. This parameter is crucial for determining the starting point of the upscaling process.
upscale_methodCOMBO[STRING]Specifies the method used for upscaling the latent image. Different methods can affect the quality and characteristics of the upscaled image.
widthINTThe desired width of the upscaled image. If set to 0, it will be calculated based on the height to maintain the aspect ratio.
heightINTThe desired height of the upscaled image. If set to 0, it will be calculated based on the width to maintain the aspect ratio.
cropCOMBO[STRING]Determines how the upscaled image should be cropped, affecting the final appearance and dimensions of the output.

Output types

ParameterComfy dtypeDescription
latentLATENTThe upscaled latent representation of the image, ready for further processing or generation.