Nodes/comfyui-am-vfx-tools/AM Color Correct
ComfyUI Node

AM Color Correct

A ComfyUI node in AM VFX Tools/Color with 8 inputs and 2 outputs.

By am-pipeline-prod·Created 4 months ago·Updated 2 months ago· 3
AM Color Correct
  • image
  • video
  • image
  • video
saturation1.000
contrast1.000
gamma1.000
gain1.000
offset0.000
hue_rotation0.0
CategoryAM VFX Tools/Color

Inputs (8)

NameTypeDefaultDescription
saturationFLOAT1.000Saturation multiplier around Rec.709 luma. 0 = grayscale, 1 = identity, > 1 boosts saturation.
contrastFLOAT1.000Contrast around scene-linear mid-gray (pivot 0.18). 0 = flat mid-gray, 1 = identity, > 1 increases contrast.
gammaFLOAT1.000Gamma (sign-preserving `pow(x, 1/gamma)`). > 1 brightens midtones, < 1 darkens, 1 = identity.
gainFLOAT1.000Multiplicative gain — applied after `offset`, before `gamma`. 1 = identity.
offsetFLOAT0.000Additive offset — applied first (before gain / gamma / contrast / saturation / hue). 0 = identity.
hue_rotationFLOAT0.0-180–180Hue rotation in degrees around the gray axis [1,1,1]. 0 = identity; ±180 spans the full hue wheel (equivalent on the loop). Applied last.
imageoptIMAGEImage batch to color-correct.
videooptVIDEOOptional VIDEO input. When wired, returns a lazy `ColorCorrectedVideo` wrapper applying the correction per-frame on consumption — no IMAGE materialisation here. Alpha (when present) passes through untouched. `image` is ignored when `video` is wired. See invariant 28.

Outputs (2)

NameTypeDescription
imageIMAGECorrected image batch (same shape and channels as the input).
videoVIDEOLazy VIDEO output — emits a `ColorCorrectedVideo` wrapper when `video` is wired, else a zero-copy `VideoFromComponents` around the IMAGE batch. None when no input is wired.