Visit ComfyUI Online for ready-to-use ComfyUI environment
Powerful Photoshop-style curves adjustment tool for precise tonal range control in ComfyUI, supporting multi-channel adjustments and state serialization.
The Eses Image Effect Curves node is a powerful tool designed to bring the familiar Photoshop-style curves adjustment functionality into the ComfyUI interface. This node allows you to have precise and interactive control over the tonal range of images and masks, making it an essential tool for AI artists looking to fine-tune their visual outputs. With its interactive curve editor, you can manipulate up to five editable points on the curve, allowing for detailed adjustments such as level inversion and the enhancement or suppression of specific tonal ranges. The node supports multi-channel adjustments, enabling you to apply curves to the combined RGB channels or isolate adjustments to individual Red, Green, or Blue channels. Additionally, you can apply a separate curve directly to an input mask, providing even more flexibility in your image editing process. The node's state serialization feature ensures that all your curve adjustments are saved with your workflow and restored upon reload, maintaining consistency across sessions. Furthermore, the live preview feature allows you to see the effects of your adjustments in real-time, enhancing the interactive experience. The node also automatically resizes to match the aspect ratio of the input image, ensuring a seamless integration into your workflow.
The channel parameter specifies which color channel or combination of channels the curve adjustments will be applied to. This can include options such as RGB for combined adjustments or individual channels like Red, Green, or Blue for isolated modifications. Adjusting this parameter allows you to target specific tonal areas within your image, providing greater control over the final output.
The all_curves_json parameter is a JSON object that contains the curve data for each channel. This data defines the shape and position of the curve points, which directly influence the tonal adjustments applied to the image. By modifying this JSON object, you can customize the curve to achieve the desired effect on your image or mask.
The preset parameter allows you to select from predefined curve settings that can be applied to your image. These presets provide a quick way to apply common adjustments without manually configuring each curve point, making it easier to achieve specific looks or corrections.
The image parameter is the input image to which the curve adjustments will be applied. This parameter is essential as it provides the base visual data that will be modified according to the curve settings.
The mask parameter is an optional input that allows you to apply curve adjustments to a specific area of the image. By using a mask, you can isolate and modify particular regions, enhancing the precision of your edits.
The prompt parameter is used to provide additional context or instructions for the curve adjustments. This can be useful for automating certain tasks or integrating the node into a larger workflow.
The extra_pnginfo parameter allows you to include additional metadata or information with the output image. This can be useful for tracking changes or maintaining consistency across different stages of your workflow.
The unique_id parameter is used to uniquely identify the node instance within a workflow. This is important for maintaining state and ensuring that the correct adjustments are applied to the corresponding image or mask.
The adjusted_image_tensor is the output image tensor that has been modified according to the specified curve adjustments. This output represents the final visual result after all tonal modifications have been applied.
The adjusted_mask_tensor is the output mask tensor that reflects any curve adjustments applied to the input mask. This output is crucial for workflows that involve selective editing or region-specific modifications.
The image output parameter provides the original input image, allowing you to compare the adjusted result with the unmodified version. This can be useful for evaluating the effectiveness of your curve adjustments.
The mask output parameter provides the original input mask, enabling you to assess the impact of the curve adjustments on specific regions of the image.
base_data_b64 or all_curves_json, is not provided to the node.all_curves_json parameter to ensure that the curve points are correctly specified and within the valid range.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.