Image editing & upscalingApache-2.0Python

IC-Light

Relight any photo with text prompts or a background image.

Stars
8.6K
Forks
529
Open issues
113
Last commit
2025-02-20

Live from the GitHub API · updated 2026-11-30

What is IC-Light?

IC-Light (Imposing Consistent Light) from the creator of ControlNet and Fooocus changes the lighting of a foreground subject, either from a text description of the light or to match a new background, while keeping details consistent.

Key features

  • Text-conditioned relighting
  • Background-conditioned relighting
  • Automatic foreground extraction
  • Gradio demos

System requirements

Platforms
Windows · Linux
GPU
NVIDIA
VRAM
~8 GB+

How to install IC-Light

Summarized from the project’s README. Projects change quickly — check the GitHub page for the latest instructions.

From source

  1. 1
    Create an environment, install PyTorch and requirements, then launch the demo.
    git clone https://github.com/lllyasviel/IC-Light.git
    cd IC-Light
    pip install -r requirements.txt
    python gradio_demo.py

Strengths

  • Unique, high-quality relighting
  • ComfyUI nodes available

Limitations

  • SD1.5-based; limited resolution

IC-Light alternatives compared

SoftwareStarsLicensePlatformsVRAM
IC-Light

Relight any photo with text prompts or a background image.

8.6KApache-2.0~8 GB+
ComfyUI

Node-based interface for diffusion models — images, video and audio.

149.3KGPL-3.04 GB minimum for SD1.5; 12 GB+ recommended for FLUX and video models
BiRefNet

High-resolution dichotomous segmentation — state-of-the-art background removal.

4.5KMIT—
IOPaint

Erase objects, watermarks and people with AI inpainting (formerly Lama Cleaner).

23.3KApache-2.0—
Upscayl

Free desktop app that upscales images with AI.

53.4KAGPL-3.0—
Real-ESRGAN

Practical image and video super-resolution models.

37.8KBSD-3-Clause—

FAQ

Is IC-Light free?

Yes — IC-Light is open-source software released under the Apache-2.0 license. Check the license (and any model weight licenses) before commercial use.

Does IC-Light run on Windows, Mac and Linux?

IC-Light supports: Windows, Linux.

What hardware do I need for IC-Light?

NVIDIA. VRAM: ~8 GB+

How do I install IC-Light?

1. Create an environment, install PyTorch and requirements, then launch the demo.

What are the best IC-Light alternatives?

Popular alternatives include ComfyUI, BiRefNet, IOPaint, Upscayl. See the comparison table on this page.

Can I use IC-Light online without installing it?

If you just want results, AiLoft runs top image models such as GPT Image 2.5 and Nano Banana Pro in the browser — no GPU or setup required.

Skip the install — generate images in your browser

No GPU, drivers or Python needed. Use GPT Image 2.5 and Nano Banana Pro online and compare them side by side.