Nodes/SDVN_Comfy_node/πŸͺ„ White Balance
ComfyUI Node

πŸͺ„ White Balance

White Balance (SDVN)

By StableDiffusionVNΒ·Created 2 years agoΒ·Updated 29 days agoΒ· 118
πŸͺ„ White Balance
  • image
  • image
β—„temp0β–Ί
β—„tint0β–Ί

White Balance is a two-knob color-temperature correction: warm an image up or cool it down, and shift its green–magenta tint. It's the same pair of sliders you'd find at the top of any photo editor's color panel, dropped into ComfyUI as a node so you can neutralize a color cast - or deliberately push one - without exporting to Photoshop and back.

The mechanism is exactly what the two inputs say. temp is the warm/cool axis, running -100 (cooler, more blue) to +100 (warmer, more orange), with 0 as no change. tint is the perpendicular green–magenta axis over the same -100 to +100 range. Between them they cover the two dimensions of a white-balance fix: temperature handles the blue-vs-orange cast a wrong light source leaves, tint handles the green-vs-magenta cast that fluorescent light or a bad profile can add. The single image output is the corrected picture. That's the whole node - an image in, temp and tint to taste, image out.

Where you actually use it: cleanup and grading on generated images. AI outputs sometimes come out subtly too warm or too cool - a portrait that's gone orange, a landscape that's drifted blue - and a small temp nudge fixes it faster than re-rolling the generation. It's equally good for the opposite move, deliberately grading for mood: warm a scene toward golden-hour, cool it toward a clinical or moonlit feel. And it's a natural step when you're compositing or matching two images that were generated under different implied lighting - balance them to the same temperature so they read as one scene. As a post-processing node it slots in right before your save, alongside the pack's other image-adjust nodes (HSL, film grain, image adjust).

Keep expectations calibrated: this is a global correction, applied to the whole image evenly. It's the right tool for an overall cast, not for fixing one object that's the wrong color while leaving the rest alone - that's a masking-and-selective-adjust job, not a white-balance one. Within its lane it's simple and does exactly what it says, which is all you want from a color tweak.

Install comes with the pack. ComfyUI Manager, search SDVN_Comfy_node; or cd ComfyUI/custom_nodes && git clone https://github.com/StableDiffusionVN/SDVN_Comfy_node, then pip install -r custom_nodes/SDVN_Comfy_node/requirements.txt from your ComfyUI root and restart. No weights, no dependencies beyond the pack.

Troubleshooting is minimal. If a correction looks too aggressive, remember the range runs to Β±100 and most real fixes live in the low tens - a temp of +80 is a heavy grade, not a subtle balance, so back off if the image goes cartoonishly warm or cold. If you see no change at all, both sliders are probably sitting at 0. And since it's a global adjust, don't expect it to spot-fix a single miscolored element; for that you're masking first. Otherwise it's a clean, predictable node with nothing much to go wrong.

CategoryπŸ“‚ SDVN/🏞️ Image

Inputs (3)

NameTypeDefaultDescription
imageIMAGEβ€”
tempINT0-100–100β€”
tintINT0-100–100β€”

Outputs (1)

NameTypeDescription
imageIMAGEβ€”