ComfyUI > Nodes > WAS Node Suite > Latent Upscale by Factor (WAS)

ComfyUI Node: Latent Upscale by Factor (WAS)

Class Name

Latent Upscale by Factor (WAS)

Category
WAS Suite/Latent/Transform
Author
WASasquatch (Account age: 4688days)
Extension
WAS Node Suite
Latest Updated
2024-08-25
Github Stars
1.07K

How to Install WAS Node Suite

Install this extension via the ComfyUI Manager by searching for WAS Node Suite
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter WAS Node Suite 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

Latent Upscale by Factor (WAS) Description

Enhance image resolution by scaling up latent images with specified factor, maintaining quality and details for AI artists.

Latent Upscale by Factor (WAS):

The Latent Upscale by Factor (WAS) node is designed to enhance the resolution of latent images by scaling them up by a specified factor. This node is particularly useful for AI artists who want to increase the size of their generated images while maintaining the quality and details. By leveraging various interpolation methods, the node ensures that the upscaled images retain their visual fidelity. The primary goal of this node is to provide a flexible and efficient way to upscale latent images, making it an essential tool for artists looking to refine and enlarge their creations.

Latent Upscale by Factor (WAS) Input Parameters:

samples

This parameter represents the latent images that you want to upscale. It is a required input and should be provided in the form of latent tensors.

mode

This parameter specifies the interpolation method to be used for upscaling. The valid options are "area", "bicubic", "bilinear", and "nearest". Each method has its own characteristics: "area" is good for downscaling, "bicubic" provides smooth results, "bilinear" is faster but less smooth, and "nearest" is the simplest and fastest but can produce blocky results. Choosing the right mode can significantly impact the quality of the upscaled image.

factor

This parameter determines the scaling factor by which the latent images will be upscaled. It should be a positive float value. For example, a factor of 1.5 will increase the dimensions of the image by 50%. It is crucial to ensure that the factor is a positive number to avoid errors and achieve the desired upscaling effect.

align

This parameter is a boolean that specifies whether to align the corners during interpolation. It accepts "true" or "false" as values. When set to "true", it ensures that the corners of the image are aligned, which can be important for certain interpolation methods like "bilinear" and "bicubic".

Latent Upscale by Factor (WAS) Output Parameters:

LATENT

The output is the upscaled latent image. This parameter contains the latent tensors that have been processed and scaled according to the specified factor and interpolation method. The upscaled latent image can then be used for further processing or conversion to a visible image format.

Latent Upscale by Factor (WAS) Usage Tips:

  • Experiment with different interpolation modes to find the one that best suits your image and desired quality.
  • Ensure the scaling factor is a positive float to avoid errors and achieve the correct upscaling effect.
  • Use the "align" parameter to improve the quality of the upscaled image, especially when using "bilinear" or "bicubic" interpolation methods.

Latent Upscale by Factor (WAS) Common Errors and Solutions:

Invalid interpolation mode <mode> selected. Valid modes are: area, bicubic, bilinear, nearest

  • Explanation: This error occurs when an unsupported interpolation mode is selected.
  • Solution: Ensure that the mode parameter is set to one of the valid options: "area", "bicubic", "bilinear", or "nearest".

The input factor is <factor>, but should be a positive or negative float.

  • Explanation: This error occurs when the scaling factor is not a positive float.
  • Solution: Verify that the factor parameter is a positive float value and adjust it accordingly.

Latent Upscale by Factor (WAS) Related Nodes

Go back to the extension to check out more related nodes.
WAS Node Suite
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.