ComfyUI > Nodes > ComfyUI-VAE-Utils > VAE Decode (VAE Utils)

ComfyUI Node: VAE Decode (VAE Utils)

Class Name

VAEUtils_VAEDecodeTiled

Category
VAE-Utils
Author
spacepxl (Account age: 841days)
Extension
ComfyUI-VAE-Utils
Latest Updated
2025-12-20
Github Stars
0.14K

How to Install ComfyUI-VAE-Utils

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

Run ComfyUI Online

VAE Decode (VAE Utils) Description

Decodes latent data into images using a tiled approach for efficient high-resolution processing.

VAE Decode (VAE Utils):

VAEUtils_VAEDecodeTiled is a specialized node designed to decode latent representations into images using a tiled approach, which is particularly beneficial for handling large images or video data. This method allows for efficient processing by dividing the input into smaller, manageable tiles, thus optimizing memory usage and computational resources. The node is capable of adjusting tile sizes and overlaps, making it versatile for various applications, including high-resolution image reconstruction and video frame decoding. By leveraging the capabilities of Variational Autoencoders (VAEs), this node ensures that the decoded images maintain high fidelity and detail, even when working with compressed latent spaces. Its primary goal is to facilitate the seamless transformation of latent data back into visual formats, making it an essential tool for AI artists and developers working with complex image and video data.

VAE Decode (VAE Utils) Input Parameters:

samples

samples refers to the latent representations that need to be decoded into images. These are typically the output of an encoding process and serve as the input for the decoding operation. The quality and characteristics of the decoded images are directly influenced by the quality of these samples.

vae

vae is the Variational Autoencoder model used for decoding the latent samples. It plays a crucial role in determining the fidelity and accuracy of the decoded images. The VAE model should be pre-trained and capable of handling the specific type of data being processed.

upscale

upscale is a parameter that determines the scaling factor applied to the decoded images. If the number of channels in the output images is not equal to 3, this parameter helps in adjusting the size of the images to match the expected output dimensions. The default value is typically set to 1, but it can be adjusted based on the specific requirements of the task.

tile

tile is a boolean parameter that indicates whether the decoding should be performed using a tiled approach. When set to true, the input samples are divided into smaller tiles for processing, which can be beneficial for handling large images or video data efficiently.

tile_size

tile_size specifies the dimensions of each tile used in the decoding process. It is an integer value that can be adjusted to optimize the balance between processing speed and memory usage. The default value is often set to 512, with a minimum of 64 and a maximum of 4096.

overlap

overlap defines the amount of overlap between adjacent tiles during the decoding process. This parameter helps in reducing artifacts at the boundaries of tiles by ensuring a smooth transition between them. The default value is 64, with a minimum of 0 and a maximum of 4096.

temporal_size

temporal_size is used when decoding video data and specifies the number of frames to process at a time. This parameter is crucial for managing the temporal aspect of video data, ensuring that the decoded frames maintain continuity and coherence. The default value is 64, with a minimum of 8 and a maximum of 4096.

temporal_overlap

temporal_overlap determines the overlap between consecutive temporal tiles when decoding video data. This helps in maintaining smooth transitions between frames, reducing temporal artifacts. The default value is 8, with a minimum of 4 and a maximum of 4096.

VAE Decode (VAE Utils) Output Parameters:

images

images is the primary output of the node, representing the decoded visual data from the latent samples. These images are reconstructed with high fidelity, capturing the details and nuances of the original input data. The output can be a single image or a sequence of frames in the case of video data, depending on the input samples and parameters used.

VAE Decode (VAE Utils) Usage Tips:

  • To optimize performance when working with large images, adjust the tile_size and overlap parameters to balance between processing speed and memory usage.
  • For video data, ensure that temporal_size and temporal_overlap are set appropriately to maintain smooth transitions between frames and reduce temporal artifacts.
  • If you encounter issues with image quality, consider adjusting the upscale parameter to ensure the output dimensions match the expected size.

VAE Decode (VAE Utils) Common Errors and Solutions:

Couldn't determine upscale factor, try setting the value manually instead

  • Explanation: This error occurs when the node is unable to automatically determine the appropriate upscale factor based on the number of channels in the output images.
  • Solution: Manually set the upscale parameter to a value that matches the expected output dimensions, ensuring that the number of channels is correctly handled.

Memory allocation error

  • Explanation: This error may arise if the tile size or overlap is set too high, leading to excessive memory usage during the decoding process.
  • Solution: Reduce the tile_size and overlap parameters to lower memory consumption, or ensure that your system has sufficient resources to handle the current settings.

VAE Decode (VAE Utils) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-VAE-Utils
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.