Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > Easy Color Correction > VAE Color Corrector

ComfyUI Node: VAE Color Corrector

Class Name

VAEColorCorrector

Category
itsjustregi / Easy Color Corrector
Author
Regi E (Account age: 5166days)
Extension
Easy Color Correction
Latest Updated
2025-06-30
Github Stars
0.11K

How to Install Easy Color Correction

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

Color correction node for VAE-generated images, mitigating color shifts and enhancing image quality.

VAE Color Corrector:

The VAEColorCorrector node is designed to address and correct color shifts that occur during the Variational Autoencoder (VAE) encoding and decoding processes, particularly in inpainting and image-to-image (img2img) workflows. These color shifts can often lead to undesirable artifacts in the final image, especially in areas that were not masked during processing. The node leverages advanced color correction techniques to align the colors of the processed image with those of the original input image, ensuring a more natural and visually appealing result. By analyzing the VAE's characteristics and applying various correction methods, the VAEColorCorrector can effectively mitigate color biases and enhance the overall quality of the image. This node is particularly beneficial for artists and designers who require precise color fidelity in their AI-generated artworks.

VAE Color Corrector Input Parameters:

original_image

This parameter represents the original input image before it undergoes VAE encoding. It serves as the reference point for color correction, allowing the node to identify and rectify any color shifts introduced during the VAE process. The original image is crucial for ensuring that the corrected image closely matches the intended color palette.

processed_image

The processed image is the output after VAE decoding, which may exhibit color shifts. This parameter is essential for the node to analyze and correct these shifts by comparing it with the original image. The goal is to adjust the colors in the processed image to align with the original, thus preserving the artistic intent.

correction_strength

This float parameter controls the intensity of the color correction applied to the processed image. It ranges from 0.0 to 1.0, with a default value of 0.8. A value of 0.0 means no correction is applied, while 1.0 applies full correction. Adjusting this parameter allows you to fine-tune the balance between the original and processed colors, depending on the desired outcome.

method

This parameter allows you to select the color correction method to be used. Options include "luminance_zones," "histogram_matching," "statistical_matching," and "advanced_3d_lut," with "advanced_3d_lut" as the default. Each method offers a different approach to color correction, from professional-grade adjustments to statistical matching, providing flexibility based on the specific needs of your project.

preserve_inpainted

A boolean parameter that, when set to True, ensures that only the areas present in the original image are corrected, preserving any new content added during inpainting. This is particularly useful for maintaining the integrity of newly created elements while still correcting color shifts in the rest of the image.

VAE Color Corrector Output Parameters:

corrected_image

The corrected image is the final output of the VAEColorCorrector node. It represents the processed image with color shifts adjusted to match the original input image more closely. This output is crucial for achieving a visually coherent result, free from the artifacts introduced by the VAE process, and is ready for further artistic use or final presentation.

VAE Color Corrector Usage Tips:

  • Experiment with different correction methods to find the one that best suits your image. "Advanced 3D LUT" is generally the most accurate but may require more computational resources.
  • Adjust the correction_strength parameter to achieve the desired balance between the original and processed images. Start with the default value and fine-tune as needed.
  • Use the preserve_inpainted option to maintain the integrity of newly added content while still correcting color shifts in the rest of the image.

VAE Color Corrector Common Errors and Solutions:

"VAE model detected - analyzing VAE characteristics for enhanced correction"

  • Explanation: This message indicates that the node is analyzing the VAE model's characteristics to apply enhanced color correction.
  • Solution: Ensure that the VAE model is correctly loaded and that the original and processed images are properly provided. This is an informational message, not an error.

"Strength <value> > 1.0, clamping to 1.0 to prevent artifacts"

  • Explanation: The correction strength has been adjusted to exceed the maximum allowable value, which could lead to artifacts.
  • Solution: The node automatically clamps the strength to 1.0. No action is needed, but you may want to review the correction_strength parameter to ensure it is set appropriately.

"Using cached VAE analysis for enhanced correction"

  • Explanation: The node is using previously cached VAE analysis data to speed up processing.
  • Solution: This is an informational message. If you notice unexpected results, consider unlocking the input image to force a new analysis.

VAE Color Corrector Related Nodes

Go back to the extension to check out more related nodes.
Easy Color Correction
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.

VAE Color Corrector