Visit ComfyUI Online for ready-to-use ComfyUI environment
Precisely adjust tonal range of images and masks with interactive preview and multi-channel support in ComfyUI.
The Eses Image Effect Levels node is a powerful tool designed to provide you with precise control over the tonal range of images and masks within the ComfyUI interface. This node functions similarly to levels adjustment tools found in traditional image editing software, allowing you to manipulate the input and output black, mid, and white points of an image. It features an interactive preview and a live histogram, which offers visual feedback on the tonal distribution of the selected channel, making it easier to achieve the desired effect. The node supports multi-channel adjustments, enabling you to apply changes to the combined RGB channels or isolate adjustments to individual Red, Green, or Blue channels. Additionally, it allows for separate level adjustments on input masks. The state of the node, including all level adjustments, is saved with your workflow and persists even after refreshing the browser page, ensuring a seamless user experience. With real-time previews, you can see the effects of your adjustments instantly, making it an invaluable tool for AI artists looking to refine their images with precision.
The preset parameter allows you to select predefined settings for level adjustments, which can be useful for quickly applying common tonal corrections. This parameter does not have specific minimum or maximum values as it depends on the available presets within the node.
The channel parameter specifies which color channel(s) you want to adjust. Options typically include RGB for combined adjustments or individual channels like Red, Green, and Blue. This parameter impacts which part of the image's tonal range is modified.
The auto_levels parameter, when enabled, automatically adjusts the levels of the image to enhance contrast and brightness based on the image's histogram. This feature is useful for quick corrections without manual input. It is a boolean parameter, typically set to True or False.
The auto_color parameter, similar to auto_levels, automatically adjusts the color balance of the image to correct any color casts. This is also a boolean parameter, set to True or False.
The auto_sensitivity parameter determines the sensitivity of the automatic adjustments made by auto_levels and auto_color. Higher sensitivity results in more pronounced adjustments. This parameter typically ranges from 0 to 1, with a default value that balances subtlety and effectiveness.
The all_levels_json parameter is a JSON object that contains detailed settings for all level adjustments, including input and output points for each channel. This parameter allows for precise customization of the node's behavior.
The image parameter is the input image that you want to adjust. It should be provided in a compatible format, such as a tensor or array, and is essential for the node to function.
The mask parameter is an optional input that allows you to apply level adjustments to a specific area of the image. It should be provided in a compatible format and is useful for targeted corrections.
The prompt parameter is used to provide additional instructions or context for the node's operation. It is optional and can be used to guide the node's behavior in specific scenarios.
The extra_pnginfo parameter allows you to include additional metadata with the output image. This can be useful for tracking adjustments or embedding information within the image file.
The unique_id parameter is used to uniquely identify the node instance, which is helpful for managing multiple nodes within a workflow. It ensures that the correct node is referenced during operations.
The adjusted_image_tensor is the primary output of the node, representing the image after the level adjustments have been applied. This output is crucial for further processing or saving the adjusted image.
The adjusted_mask_tensor is the output mask after level adjustments, if a mask was provided. This output is important for maintaining consistency in targeted adjustments and can be used in subsequent processing steps.
The image output is the original input image, passed through the node without modifications. This allows for comparison or further use in the workflow.
The mask output is the original input mask, passed through the node without modifications. This is useful for maintaining the original mask for reference or further processing.
auto_levels and auto_color features for quick enhancements, especially when working with a large batch of images.all_levels_json parameter to save and apply specific level settings across different projects, ensuring consistency in your image adjustments.<error_message>all_levels_json parameter.base_data_b64 and all_levels_json, are provided and correctly formatted before executing the node.base_data_b64 parameter contains valid base64-encoded image data and that the image is properly connected to the node.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.