ComfyUI > Nodes > ComfyUI-UniversalToolkit > Imitation Hue Node (UTK)

ComfyUI Node: Imitation Hue Node (UTK)

Class Name

ImitationHueNode_UTK

Category
UniversalToolkit/Image
Author
whmc76 (Account age: 1110days)
Extension
ComfyUI-UniversalToolkit
Latest Updated
2026-03-16
Github Stars
0.07K

How to Install ComfyUI-UniversalToolkit

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

Imitation Hue Node (UTK) Description

ImitationHueNode_UTK enables precise color transfer between images, preserving natural skin tones.

Imitation Hue Node (UTK):

The Imitation Hue Node (UTK) is designed to perform sophisticated color transfer and imitation between images, with a particular focus on preserving skin tones. This node is particularly beneficial for AI artists who wish to apply the color palette of one image to another while maintaining the natural appearance of skin and lips. By leveraging advanced image processing techniques, the node ensures that the color transformation is smooth and visually appealing, making it an essential tool for creating harmonious and aesthetically pleasing compositions. The node's ability to adjust brightness, contrast, saturation, and tone automatically or manually provides users with a high degree of control over the final output, allowing for both subtle and dramatic transformations.

Imitation Hue Node (UTK) Input Parameters:

target_image

The target_image parameter represents the image(s) to which the color palette from the imitation image will be applied. This parameter is crucial as it defines the canvas for the color transfer process. The number of target images can vary, and each will undergo the color transformation process.

imitation_image

The imitation_image parameter is the source image from which the color palette is extracted. This image serves as the reference for the color transfer, and its hues will be applied to the target images. Only one imitation image is used in the process.

strength

The strength parameter controls the intensity of the color transfer. A higher strength value results in a more pronounced color change, while a lower value yields a subtler effect. This parameter allows users to fine-tune the degree of color imitation to suit their artistic vision.

skin_protection

The skin_protection parameter is a boolean that, when enabled, ensures that skin tones in the target image are preserved during the color transfer process. This feature is particularly useful for maintaining the natural appearance of portraits and other images featuring people.

auto_brightness

The auto_brightness parameter, when enabled, automatically adjusts the brightness of the target image to match the imitation image. This helps in achieving a consistent look across images, especially when the source and target images have different lighting conditions.

brightness_range

The brightness_range parameter defines the range within which the brightness can be adjusted. This parameter is used in conjunction with auto_brightness to limit the extent of brightness changes, ensuring that the final image remains visually balanced.

auto_contrast

The auto_contrast parameter, when enabled, automatically adjusts the contrast of the target image to align with the imitation image. This adjustment enhances the depth and detail of the image, contributing to a more dynamic and engaging visual output.

contrast_range

The contrast_range parameter specifies the allowable range for contrast adjustments. It works alongside auto_contrast to control the degree of contrast modification, preventing over- or under-adjustment that could detract from the image's quality.

auto_saturation

The auto_saturation parameter, when enabled, automatically adjusts the saturation levels of the target image to match those of the imitation image. This ensures that the colors in the final image are vibrant and true to the source image's palette.

saturation_range

The saturation_range parameter sets the limits for saturation adjustments, providing a safeguard against excessive saturation changes that could lead to unnatural-looking images.

auto_tone

The auto_tone parameter, when enabled, automatically adjusts the tonal balance of the target image to harmonize with the imitation image. This adjustment helps in achieving a cohesive look across different images.

tone_strength

The tone_strength parameter controls the intensity of the tonal adjustments. A higher value results in more significant tonal changes, while a lower value maintains the original tonal balance of the target image.

mask

The mask parameter is an optional input that allows users to specify areas of the target image that should be protected or excluded from the color transfer process. This is particularly useful for preserving specific details or features within the image.

Imitation Hue Node (UTK) Output Parameters:

result_images

The result_images parameter is the output of the node, consisting of the transformed target images with the applied color palette from the imitation image. These images reflect the adjustments made based on the input parameters, showcasing the desired color transfer while maintaining skin tone integrity.

Imitation Hue Node (UTK) Usage Tips:

  • To achieve a natural look when transferring colors between portraits, enable the skin_protection parameter to preserve skin tones.
  • Experiment with the strength parameter to find the right balance between subtle and dramatic color changes, depending on your artistic goals.
  • Use the auto_brightness, auto_contrast, and auto_saturation features to quickly harmonize images with varying lighting and color conditions.

Imitation Hue Node (UTK) Common Errors and Solutions:

"Image size mismatch"

  • Explanation: This error occurs when the target and imitation images have different dimensions, which can disrupt the color transfer process.
  • Solution: Ensure that all images are resized to the same dimensions before processing.

"Invalid mask dimensions"

  • Explanation: This error arises when the mask provided does not match the dimensions of the target image.
  • Solution: Verify that the mask is correctly sized to match the target image dimensions.

"Parameter out of range"

  • Explanation: This error indicates that one of the input parameters, such as brightness_range or contrast_range, is set outside the acceptable limits.
  • Solution: Check the parameter values and adjust them to fall within the specified range.

Imitation Hue Node (UTK) Related Nodes

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

Imitation Hue Node (UTK)