color_match_adv_visual
Live-preview color matching with skin protection
- ref_img
- target_image
- target_mask
- image
Same node as color_match_adv - takes a reference image and pushes a target image's color toward it, with a dedicated skin-protection dial - flagged as an output node so it previews the matched result inline as you adjust sliders. It's filed under Apt_Preset/image/visualize_edit. Reach for this over the plain version while you're actively deciding how far to push a match, especially on anything with people in it where you want to watch skin tones as you tune skin_protection.
Naive color matching (pushing a whole image's tone toward a reference) is notorious for wrecking skin, since skin sits in a narrow color range generic matching doesn't treat specially - this node bakes in a dial to protect it, and the live preview is exactly where you'd want to catch the failure mode as it happens rather than after the fact.
How it works
ref_img supplies the target grade, target_image gets pushed toward it. strength scales overall match intensity. brightness_range, contrast_range, saturation_range, and tone_strength each act as a ceiling on how far the tool can push that property while matching. skin_protection pulls the match back off skin-colored pixels specifically.
The inputs and outputs that matter
ref_imgandtarget_image(both required IMAGE).strength(0.1-2, default 1) - your primary intensity dial.skin_protection(0-1, default 0.2) - keep above 0 for portraits; watch it in the live preview if faces are shifting color.brightness_range/contrast_range/saturation_range(0.1-2, default 0.5) andtone_strength(0.1-2, default 0.5) - per-property match limits.- Optional
target_mask- restrict the match to a region oftarget_image. - Output:
image, previewed inline since this is an output node.
How to install it
Through ComfyUI Manager: search "ComfyUI-Apt_Preset", install, restart. Manually:
cd ComfyUI/custom_nodes
git clone https://github.com/cardenluo/ComfyUI-Apt_Preset.git
then run install.bat (Windows) or install requirements manually on Linux/Mac, and restart. No model downloads for this node.
Common issues & troubleshooting
Match looks overdone in the preview. Pull strength down first - it's the broadest, most direct control.
Skin still shifts color. Raise skin_protection toward 1 instead of lowering strength globally; watch the live preview update as you nudge it up.
Barely any visible change. Confirm strength and tone_strength aren't both near their 0.1 floor.
Don't need the inline preview? color_match_adv has the same parameters without forcing output-node behavior, better for a longer pipeline.
IMPORT FAILED on the pack. ComfyUI-Apt_Preset is large and updates often; users have reported import failures after some updates. Reinstall via Manager before assuming it's this node.
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| ref_img | IMAGE | — | |
| target_image | IMAGE | — | |
| strength | FLOAT | 1.00.1–2 | — |
| skin_protection | FLOAT | 0.20–1 | — |
| brightness_range | FLOAT | 0.50.1–2 | — |
| contrast_range | FLOAT | 0.50.1–2 | — |
| saturation_range | FLOAT | 0.50.1–2 | — |
| tone_strength | FLOAT | 0.50.1–2 | — |
| target_maskopt | MASK | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |