ComfyUI Node
AM Color Correct
A ComfyUI node in AM VFX Tools/Color with 8 inputs and 2 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| saturation | FLOAT | 1.000 | Saturation multiplier around Rec.709 luma. 0 = grayscale, 1 = identity, > 1 boosts saturation. |
| contrast | FLOAT | 1.000 | Contrast around scene-linear mid-gray (pivot 0.18). 0 = flat mid-gray, 1 = identity, > 1 increases contrast. |
| gamma | FLOAT | 1.000 | Gamma (sign-preserving `pow(x, 1/gamma)`). > 1 brightens midtones, < 1 darkens, 1 = identity. |
| gain | FLOAT | 1.000 | Multiplicative gain — applied after `offset`, before `gamma`. 1 = identity. |
| offset | FLOAT | 0.000 | Additive offset — applied first (before gain / gamma / contrast / saturation / hue). 0 = identity. |
| hue_rotation | FLOAT | 0.0-180–180 | Hue rotation in degrees around the gray axis [1,1,1]. 0 = identity; ±180 spans the full hue wheel (equivalent on the loop). Applied last. |
| imageopt | IMAGE | Image batch to color-correct. | |
| videoopt | VIDEO | Optional 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)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | Corrected image batch (same shape and channels as the input). |
| video | VIDEO | Lazy 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. |