Nodes/ComfyUI Easy Use/Easy Apply ICLight
ComfyUI Node Runs on cloud

Easy Apply ICLight

Relight a subject with IC-Light, in one node

By yolain·Created 3 years ago·Updated 8 days ago· 2,633
Easy Apply ICLight
  • model
  • image
  • vae
  • model
  • lighting_image
mode
lightingNone
sourceUse Background Image
remove_bgtrue

This is Easy-Use's front-end for IC-Light, lllyasviel's relighting model - the one that takes a subject and re-lights it as if the scene's lighting actually changed, shadows and all, rather than just slapping a color gradient on top. easy icLightApply wraps the standard kijai IC-Light implementation into a single node: pick a lighting direction, feed it your image and an SD 1.5 model, and it patches the model so your next sampling pass renders the subject under that light.

Quick reality check on IC-Light, because it shapes how you use this: it's a frozen SD 1.5 model that shipped finished back in 2024 and hasn't moved since. That's not a knock - it does one narrow job cleanly and still has no direct open replacement for the case where you need the subject's actual details to survive the relight (product shots, catalog work). But it's SD 1.5 only, and the general "relight from a sentence" job has largely migrated to instruction editors like Qwen-Image-Edit. Reach for this node when you specifically want consistent, physically-plausible relighting of a cutout subject.

How it works

IC-Light was trained to change only illumination while leaving material and structure alone - the model enforces light-transport consistency, so it behaves more like a render than a filter. This node loads that behavior onto your model. In Foreground mode it works from the subject plus a text/light-direction hint (the foreground-conditioned model); in Foreground&Background mode a background image supplies the lighting context. It outputs the patched model - which you then sample as normal - plus a lighting_image preview so you can see the light map it's using.

The inputs and outputs that matter

  • model - an SD 1.5 model. IC-Light targets SD 1.5; this is not optional flexibility, it's the model family it works on.
  • image - your subject.
  • vae - the VAE for encoding.
  • mode - Foreground (text/direction-driven, the everyday default) or Foreground&Background (a background image drives the light).
  • lighting - the direction: None, Left, Right, Top, Bottom, or Circle Light. This is the main creative dial for where the light comes from.
  • source - how the light is sourced (use the background image, a flipped version, a directional light, or Ambient).
  • remove_bg (default on) - cut the subject out first, which relighting generally wants.

Outputs: model (patched - wire it into your easy preSampling/KSampler) and lighting_image (the light map, for preview/debugging).

How to install it

Part of ComfyUI-Easy-Use. ComfyUI Manager: search ComfyUI-Easy-Use, install, restart. Or:

cd ComfyUI/custom_nodes
git clone https://github.com/yolain/ComfyUI-Easy-Use

then install.bat (Windows) or pip install -r ComfyUI-Easy-Use/requirements.txt, and restart. You'll also need the IC-Light weights - the SD 1.5 checkpoints iclight_sd15_fc.safetensors (foreground) and/or iclight_sd15_fbc.safetensors (foreground+background) from lllyasviel's HuggingFace repo, placed where ComfyUI's IC-Light path expects them. The remove_bg step also pulls a background-removal model. First run may download these.

Common issues & troubleshooting

Skin goes warm and orange. This is IC-Light's single most-reported quirk - it pushes pale skin toward a tanning-bed look. The community fix is frequency separation: take the lighting (low-frequency) from IC-Light and keep the detail (high-frequency) from the original, so the relight changes the light without recoloring the skin. Do this before deciding the model is bad.

Halo/fringe at the subject's edge. A compositing problem, not a model one - the cutout mask is too loose. Choke the mask in by a pixel and it cleans up. If your relight looks more like a color overlay than a real relight, the mask and the light direction are usually fighting.

Faces get mushy, worst when the face is small in frame. Relight at the subject level, then inpaint or run a separate face pass at higher resolution to bring the face back.

Color bleeding in Foreground&Background mode. The fbc model pulls color off the background into the subject. If that's wrecking your colors, switch to Foreground mode and describe the background in text instead - counterintuitively, the foreground-only model often composites into a new background better.

It won't load on SDXL/Flux. IC-Light is SD 1.5. Feeding it a non-1.5 model won't work - load an SD 1.5 checkpoint for the relight pass, even if the rest of your pipeline is on a newer base.

CategoryEasyUse/Adapter

Inputs (7)

NameTypeDefaultDescription
modeCOMBO2 options: Foreground, Foreground&Background
modelMODEL
imageIMAGE
vaeVAE
lightingCOMBONone6 options: None, Left Light, Right Light, Top Light, Bottom Light, Circle Light
sourceCOMBOUse Background Image7 options: Use Background Image, Use Flipped Background Image, Left Light, Right Light, Top Light, Bottom Light, +1
remove_bgBOOLEANtrue

Outputs (2)

NameTypeDescription
modelMODEL
lighting_imageIMAGE