ComfyUI Node
Skin Luminance Adjust (Eric_)
A ComfyUI node in Eric_/Color Correction with 9 inputs and 1 output.
Skin Luminance Adjust (Eric_)
- image
- skin_mask
- image
◄modemanual_offset►
◄detection_modemask_only►
◄target_ire70►
◄manual_offset0.00►
◄strength0.50►
◄skin_threshold0.10►
◄feather8►
CategoryEric_/Color Correction
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| mode | COMBO | manual_offset | 2 options: target_ire, manual_offset |
| detection_mode | COMBO | mask_only | 3 options: combined, hsv_auto, mask_only |
| target_ire | FLOAT | 700–100 | Target mean skin luminance in IRE (Y-space). 70 = broadcast standard skin tone. The shift is applied perceptually (L* space) so it looks uniform across shadow and highlight areas of skin. |
| manual_offset | FLOAT | 0.00-1–1 | Direct additive Y offset applied to skin pixels. +0.1 lifts by 0.1 Y units (about 10 IRE). -0.3 darkens by 0.3 Y units. Full range: -1.0 to +1.0. |
| strength | FLOAT | 0.500–1 | — |
| skin_threshold | FLOAT | 0.100.01–0.9 | Skin confidence threshold - behavior depends on detection_mode. COMBINED (recommended): pixels inside the SAM mask whose skin confidence is below this fraction of the PEAK confidence inside the mask are excluded. Skin-tone-agnostic: 0.10 always means 'exclude the bottom 10% of skin-likeness for this person' - eyes, teeth, eyebrows - regardless of complexion. Start at 0.10. Raise to 0.20-0.25 to also exclude lips. Lower to 0.05 if shadow areas of skin are being incorrectly excluded. HSV_AUTO (no mask): threshold applied to raw confidence score (0-1). Start at 0.25-0.35. Raise to exclude warm backgrounds or clothing. |
| feather | FLOAT | 80–64 | Softens the outer boundary of the skin selection. COMBINED: feathers the SAM mask edge (hairline, shoulder, jaw). The skin interior stays clean at weight 1.0 - feather only affects the edge. HSV_AUTO / MASK_ONLY: feathers the confidence or mask boundary directly. |
| skin_maskopt | MASK | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |