ComfyUI > Nodes > CRT-Nodes > Batch Brightness Curve (U-Shape) (CRT)

ComfyUI Node: Batch Brightness Curve (U-Shape) (CRT)

Class Name

BatchBrightnessCurve

Category
CRT/Image
Author
CRT (Account age: 1707days)
Extension
CRT-Nodes
Latest Updated
2026-03-16
Github Stars
0.1K

How to Install CRT-Nodes

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

Batch Brightness Curve (U-Shape) (CRT) Description

Adjusts image batch brightness over time using a customizable transition curve for dynamic effects.

Batch Brightness Curve (U-Shape) (CRT):

The BatchBrightnessCurve node is designed to adjust the brightness of a batch of images over a sequence, such as a video, by applying a smooth transition curve. This node allows you to define the brightness levels at the start, middle, and end of the sequence, creating a dynamic visual effect that can enhance the storytelling or aesthetic quality of your project. By using a customizable curve, you can control how the brightness changes over time, making it possible to create subtle or dramatic lighting effects. The node is particularly useful for AI artists who want to add depth and variation to their visual outputs without manually adjusting each frame. Its main goal is to provide a flexible and efficient way to manipulate brightness across multiple images, ensuring a cohesive and visually appealing result.

Batch Brightness Curve (U-Shape) (CRT) Input Parameters:

images

This parameter represents the batch of images that you want to process. It is the primary input for the node, and the brightness adjustments will be applied to each image in this batch. The images should be provided in a format that the node can process, typically as a tensor.

start_level

The start_level parameter sets the brightness level at the very first frame of the sequence. It is a floating-point value with a default of 0.0, a minimum of 0.0, and a maximum of 5.0. This parameter allows you to define how bright or dark the initial frame should be, providing a starting point for the brightness curve.

mid_level

The mid_level parameter determines the brightness at the exact center of the sequence. It is also a floating-point value, with a default of 1.0, a minimum of 0.0, and a maximum of 5.0. This parameter is crucial for setting the peak brightness level, which the curve will approach as it progresses towards the middle of the sequence.

end_level

The end_level parameter specifies the brightness level at the very last frame of the sequence. Like the other levels, it is a floating-point value with a default of 0.0, a minimum of 0.0, and a maximum of 5.0. This parameter defines how the brightness should taper off towards the end of the sequence, completing the curve.

q_factor

The q_factor parameter controls the shape of the brightness curve. It is a floating-point value with a default of 2.0, a minimum of 0.1, and a maximum of 10.0. A q_factor of 1.0 results in a linear transition, while higher values create a parabolic curve that stays closer to the mid-level for longer. This parameter allows you to fine-tune the smoothness and progression of the brightness changes.

Batch Brightness Curve (U-Shape) (CRT) Output Parameters:

images

The output parameter images is the batch of images with the applied brightness adjustments. Each image in the batch will have its brightness modified according to the specified curve, resulting in a sequence that transitions smoothly from the start level to the end level, with the mid-level as the peak. This output is crucial for achieving the desired visual effect across the entire sequence.

Batch Brightness Curve (U-Shape) (CRT) Usage Tips:

  • Experiment with different q_factor values to achieve the desired smoothness in brightness transitions. A higher q_factor will create a more gradual change, which can be useful for subtle effects.
  • Use the start_level, mid_level, and end_level parameters to create dynamic lighting effects that enhance the mood or narrative of your sequence. Adjust these levels to match the visual style you are aiming for.

Batch Brightness Curve (U-Shape) (CRT) Common Errors and Solutions:

"Batch size is zero"

  • Explanation: This error occurs when the input batch of images is empty, meaning there are no images to process.
  • Solution: Ensure that the input batch contains at least one image before passing it to the node. Check the source of your images to confirm they are being loaded correctly.

"Invalid parameter value"

  • Explanation: This error arises when one or more input parameters are set outside their allowed range.
  • Solution: Verify that all parameters (start_level, mid_level, end_level, q_factor) are within their specified ranges. Adjust any values that exceed the minimum or maximum limits.

Batch Brightness Curve (U-Shape) (CRT) Related Nodes

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

Batch Brightness Curve (U-Shape) (CRT)