ComfyUI > Nodes > ComfyUI Latent Color Tools > 🎛️ Latent Image Adjust

ComfyUI Node: 🎛️ Latent Image Adjust

Class Name

LatentImageAdjust

Category
latent/adjust
Author
DenRakEiw (Account age: 1680days)
Extension
ComfyUI Latent Color Tools
Latest Updated
2025-08-13
Github Stars
0.03K

How to Install ComfyUI Latent Color Tools

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

🎛️ Latent Image Adjust Description

Enhances images in latent space with hue, saturation, brightness, contrast, and sharpness adjustments.

🎛️ Latent Image Adjust:

The LatentImageAdjust node is designed to enhance and modify images directly within the latent space, offering a more efficient and integrated approach to image adjustments. This node allows you to apply various image enhancements such as hue, saturation, brightness, contrast, and sharpness adjustments, all within the latent space. By operating in this space, the node can achieve better performance and seamless integration with other processes in your workflow. The primary goal of this node is to provide you with the ability to fine-tune the visual characteristics of your images without the need to convert them back to the pixel space, thus maintaining the efficiency and quality of your image processing pipeline.

🎛️ Latent Image Adjust Input Parameters:

latent

The latent parameter represents the latent representation of the image that you want to adjust. This is the core input for the node, as all adjustments are applied directly to this latent data. It is crucial for maintaining the efficiency of the node's operations.

hue

The hue parameter allows you to adjust the color tone of the image in degrees. It ranges from -180.0 to 180.0, with a default value of 0.0. Adjusting the hue can change the overall color balance of the image, providing creative control over the image's color palette.

saturation

The saturation parameter controls the intensity of the colors in the image. It ranges from 0.0 to 3.0, with a default value of 1.0. Increasing saturation makes colors more vivid, while decreasing it can lead to a more muted or grayscale appearance.

brightness

The brightness parameter adjusts the overall lightness or darkness of the image. It ranges from -1.0 to 1.0, with a default value of 0.0. Positive values make the image brighter, while negative values darken it.

contrast

The contrast parameter modifies the difference between the light and dark areas of the image. It ranges from 0.0 to 3.0, with a default value of 1.0. Higher contrast values enhance the differences, making the image appear more dynamic, while lower values reduce these differences.

sharpness

The sharpness parameter affects the clarity of the image by enhancing or reducing the edges. It ranges from 0.0 to 3.0, with a default value of 1.0. Increasing sharpness makes edges more defined, while decreasing it results in a softer image.

device

The device parameter specifies the computational device to be used for processing. Options include "auto", "cpu", and "gpu". Selecting the appropriate device can optimize performance based on your hardware capabilities.

batch_size

The batch_size parameter determines the number of latent samples processed at once. It ranges from 0 to 1024, with a default value of 0, which means the entire batch is processed at once. Adjusting this can help manage memory usage and processing speed.

🎛️ Latent Image Adjust Output Parameters:

LATENT

The LATENT output parameter provides the adjusted latent representation of the image. This output retains the modifications applied through the node, such as changes in hue, saturation, brightness, contrast, and sharpness, allowing for further processing or conversion back to the pixel space if needed.

🎛️ Latent Image Adjust Usage Tips:

  • To achieve subtle color adjustments, start with small changes in the hue and saturation parameters and gradually increase them to find the desired effect.
  • Use the brightness and contrast parameters to enhance the overall mood of the image, making it appear more vibrant or subdued as needed.
  • Adjust the sharpness parameter to highlight details in the image, especially when working with textures or intricate patterns.
  • Select the device parameter based on your hardware capabilities to optimize processing speed, especially when working with large batches or high-resolution images.

🎛️ Latent Image Adjust Common Errors and Solutions:

"CUDA out of memory"

  • Explanation: This error occurs when the GPU does not have enough memory to process the current batch size.
  • Solution: Reduce the batch_size parameter to decrease memory usage or switch to the "cpu" device if GPU resources are limited.

"Invalid hue value"

  • Explanation: The hue parameter is set outside the allowed range of -180.0 to 180.0.
  • Solution: Ensure that the hue value is within the specified range to avoid this error.

"Invalid saturation value"

  • Explanation: The saturation parameter is set outside the allowed range of 0.0 to 3.0.
  • Solution: Adjust the saturation value to fall within the valid range to prevent this error.

🎛️ Latent Image Adjust Related Nodes

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