Light-A-Video: Training-free Video Relighting via Progressive Light Fusion,you can use it in comfyUI
Light-A-Video: Training-free Video Relighting via Progressive Light Fusion,you can use it in comfyUI
In the ./ComfyUI /custom_node directory, run the following:
git clone https://github.com/smthemex/ComfyUI_Light_A_Video.git
pip install -r requirements.txt
if use sam2 to get mask image (use inpaint mode),need 'ultralytics>=8.3.51',使用sam2模式获取mask图片时(内绘模式),需要'ultralytics>=8.3.51,可能低一两个版本也能用,不测试了。
wan2.1 need diffusers main ,so install it as below/万相需要的diffuser版本太新,需要按以下方法安装:
pip install git+https://github.com/huggingface/diffusers
or
git clone https://github.com/huggingface/diffusers.git
cd diffusers
pip install -e ".[torch]"
3.1 base models
-- ComfyUI/models/checkpoints
├── any sd1.5 checkpoints
-- ComfyUI/models/controlnet
├── iclight_sd15_fc.safetensors
3.2 use animatediff
-- ComfyUI/models/controlnet
├── animatediff-motion-adapter-v1-5-3.safetensors # rename or not 或者随便换个名字
-- ComfyUI/models/Light_A_Video
├── sam2_b.pt #会自动下载
3.3 use wan2.1
3.4 use cogvideoX
@article{zhou2025light,
title={Light-A-Video: Training-free Video Relighting via Progressive Light Fusion},
author={Zhou, Yujie and Bu, Jiazi and Ling, Pengyang and Zhang, Pan and Wu, Tong and Huang, Qidong and Li, Jinsong and Dong, Xiaoyi and Zang, Yuhang and Cao, Yuhang and others},
journal={arXiv preprint arXiv:2502.08590},
year={2025}
}