Professional color correction, skin masking, and batch utility nodes for ComfyUI.
This custom node pack focuses on practical skin-tone workflows:
- Analyze skin line angle and luminance against targets.
- Remove color cast with skin-guided white balance.
- Correct skin hue and luminance selectively.
- Build masks from face parsing, human parsing, and MediaPipe landmarks.
- Reuse correction values across image batches.
- Production-oriented tools for people-centric imagery.
- Works with batch image pipelines.
- Supports workflow combinations with custom masks.
- Includes multiple segmentation/masking paths for different quality and speed tradeoffs.
- ColorCorrectionAnalyzer
- ColorCastRemover
- SkinToneCorrector
- SkinLuminanceAdjust
- MaskBatchPropagate
- ApplySavedCorrection
- FaceParsingSkinMask
- HumanParsingSkinMask
- MediaPipeSkinMask
Core runtime requirements:
- torch
- numpy
- opencv-python
- mediapipe
- transformers
See requirements.txt for baseline dependencies and pyproject.toml for packaging metadata.
- Open ComfyUI Manager.
- Search for this node pack.
- Install and restart ComfyUI.
- Clone this repository into your ComfyUI custom_nodes directory.
- Install dependencies:
- pip install -r requirements.txt
- Restart ComfyUI.
Example custom_nodes path:
- ComfyUI/custom_nodes/Eric_Color_Correction
- Generate or load an image.
- Build a skin mask with one of:
- FaceParsingSkinMask
- HumanParsingSkinMask
- MediaPipeSkinMask
- Run ColorCorrectionAnalyzer to inspect skin line deviation and luminance.
- Apply ColorCastRemover for white balance cleanup.
- Apply SkinToneCorrector and/or SkinLuminanceAdjust.
- Re-check with ColorCorrectionAnalyzer.
- For batch pipelines, reuse values with ApplySavedCorrection.
Example workflow templates are included in the examples folder.
Example ComfyUI graph:
Color cast removal example:
Skin tone adjustment examples:
Face parsing and skin parsing comparison:
Vectorscope information example:
examples/workflows/portrait_face_parsing_api.jsonexamples/workflows/portrait_mediapipe_api.jsonexamples/workflows/two_image_batch_mask_propagation_api.jsonexamples/workflows/reference_transfer_saved_correction_api.json
See examples/README.md for usage notes and placeholder filenames.
- Confirm required dependencies are installed.
- Restart ComfyUI after dependency changes.
- Some parsing nodes load models on first execution.
- Subsequent runs are typically faster due to model caching.
- Reduce batch sizes.
- Use lower-resolution previews for correction tuning.
- Keep release notes in CHANGELOG.md.
- Tag releases using semantic versioning where possible.
- Include screenshots or example workflows in release notes for better discoverability.
- Ensure .gitignore excludes local runtime and sensitive files.
- Confirm README, LICENSE, and dependency documentation are up to date.
- Verify pyproject.toml metadata (name, version, contacts, URLs).
- Run a quick import smoke test before creating a release tag.
This project uses a dual-license model.
- Non-commercial use: Modified CC BY-NC 4.0 with additional attribution requirements.
- Commercial use: Requires a separate commercial license.
See LICENSE for full terms and LICENSE-DEPENDENCIES.md for third-party license notes.




