Nodes/eric-color-correction/Skin Tone Corrector (Eric_)
ComfyUI Node

Skin Tone Corrector (Eric_)

A ComfyUI node in Eric_/Color Correction with 8 inputs and 3 outputs.

By EricRollei·Created 4 months ago·Updated 4 months ago· 3
Skin Tone Corrector (Eric_)
  • image
  • skin_mask
  • image
  • hue_delta_deg
  • correction_params
hue_strength1.00
sat_adjust1.00
detection_modecombined
skin_threshold0.10
feather8
apply_globallyfalse
CategoryEric_/Color Correction

Inputs (8)

NameTypeDefaultDescription
imageIMAGE
hue_strengthFLOAT1.000–1
sat_adjustFLOAT1.000.5–1.5
detection_modeCOMBOcombined3 options: combined, hsv_auto, mask_only
skin_thresholdFLOAT0.100.01–0.9Skin 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 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.
featherFLOAT80–64Softens the outer boundary of the skin selection. COMBINED: feathers the SAM mask edge (hairline, jaw, shoulder). Skin interior stays clean at weight 1.0. HSV_AUTO / MASK_ONLY: feathers the confidence or mask boundary directly.
apply_globallyBOOLEANfalseApply hue rotation to entire image, ignoring all masking.
skin_maskoptMASK

Outputs (3)

NameTypeDescription
imageIMAGE
hue_delta_degFLOAT
correction_paramsCONDITIONING