图像编辑与放大Apache-2.0Python

IC-Light

Relight any photo with text prompts or a background image.

Star 数
8.6K
Fork 数
529
未关闭 Issue
113
最近提交
2025-02-20

数据来自 GitHub API · 更新于 2026-11-30

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.

主要功能

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

系统要求

平台
Windows · Linux
显卡
NVIDIA
显存
~8 GB+

如何安装 IC-Light

根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。

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

优势

  • Unique, high-quality relighting
  • ComfyUI nodes available

不足

  • SD1.5-based; limited resolution

IC-Light 替代品对比

软件Star 数许可证平台显存
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—

常见问题

IC-Light 免费吗?

是的——IC-Light 是开源软件,采用 Apache-2.0 许可证。商用前请确认软件及模型权重的许可条款。

IC-Light 支持 Windows、Mac 和 Linux 吗?

IC-Light 支持:Windows, Linux。

运行 IC-Light 需要什么配置?

NVIDIA. VRAM: ~8 GB+

如何安装 IC-Light?

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

IC-Light 有哪些好的替代品?

常见替代品包括 ComfyUI, BiRefNet, IOPaint, Upscayl,详见本页对比表。

可以不安装、在线使用 IC-Light 吗?

如果只想要结果,AiLoft 可在浏览器中运行 GPT Image 2.5、Nano Banana Pro 等顶级图像模型,无需显卡和配置。

不想安装?直接在浏览器里生成图片

无需显卡、驱动或 Python。在线使用 GPT Image 2.5 和 Nano Banana Pro,并排对比效果。