Nodes/ComfyUI-BadmanNodes/Image Brightness Adjust (Badman)
ComfyUI Node

Image Brightness Adjust (Badman)

A one-slider brightness node, maskable

By MariusKM·Created 2 years ago·Updated 3 months ago· 4
Image Brightness Adjust (Badman)
  • image
  • mask_opt
  • image
brightness1.00

Sometimes you don't need a full color-grading pipeline, you need one slider that makes an image brighter or darker and gets out of your way. That's this node, and the only feature worth calling out beyond the obvious is that it takes an optional mask, so you can brighten or darken a region instead of the whole frame.

Why bother with a dedicated node for this

You could do this with a handful of ComfyUI's math or image-adjustment primitives chained together, but that's extra nodes and extra wiring for something you reach for constantly - evening out a batch where half the generations came out darker than the other half, punching up a too-flat render before you hand it off to a detail pass, or nudging just the shadowed side of a composite to match the rest of the lighting via the mask input. One node, one number, done. It's not trying to be a curve editor or a full exposure tool; it's the fast, obvious fix for "this image is a bit too dark/bright" without opening a bigger toolbox for it.

Inputs and outputs

Two required fields:

  • image - the IMAGE to adjust.
  • brightness (float, 0–2, default 1, step 0.01) - a multiplier, not an offset. 1 is unchanged, values below 1 darken, values above 1 brighten. 0 would black the image out entirely; 2 doubles brightness, which on most images is enough to blow out highlights hard, so treat the far end of the range as an extreme rather than a normal working range.

One optional field:

  • mask_opt - a MASK that restricts the brightness adjustment to the masked region, leaving the rest of the image untouched. Skip it and the adjustment applies globally.

One output: the adjusted image.

Installing it

ComfyUI Manager: search ComfyUI-BadmanNodes, install, restart. Manual route:

cd ComfyUI/custom_nodes
git clone https://github.com/MariusKM/ComfyUI-BadmanNodes

No extra dependencies or downloads called out in the README - plain per-pixel multiplication, so this installs and runs about as fast as a custom node can.

Where it can bite you

Because brightness is a multiplier rather than an additive offset, it behaves asymmetrically at the extremes: pushing an already-bright image up toward 2 clips highlights fast and permanently (information above white is gone, not recoverable by dialing back down later in the graph), while pushing a dark image down toward 0 just crushes shadows toward black more gently. If you're chasing a specific exposure target, small steps near 1 (say 0.91.2) do the useful, subtle work; anything much further out is a stylistic choice, not a correction. And if you're using mask_opt to brighten one region to match another, remember this node doesn't feather or blend the mask edge for you - a hard-edged mask will produce a visible seam at the brightness boundary unless you blur the mask first (this pack's own Mask Blur node does exactly that) before feeding it in here.

CategoryBadman

Inputs (3)

NameTypeDefaultDescription
imageIMAGE
brightnessFLOAT1.000–2
mask_optoptMASK

Outputs (1)

NameTypeDescription
imageIMAGE