Views
No views yet
1conda create -n diffsynth python=3.10
2conda activate diffsynth
3pip install -e .
4pip install lightning pandas websockets pyexr natsort gradio
5pip install -U deepspeed
6pip install transformers==4.50.0relit_inference.py script to perform video relighting. Below is an example of basic 25-frame relighting:1python relit_inference.py \
2 --dataset_path datasets/demos \
3 --ckpt_path checkpoints/model_frame25_480_832.ckpt \
4 --output_dir inference_output \
5 --cfg_scale 1.0 \
6 --height 480 \
7 --width 832 \
8 --num_frames 25 \
9 --padding_resolution \
10 --use_ref_image \
11 --env_map_path datasets/envs/Pink_Sunrise \
12 --frame_interval 1 \
13 --num_inference_steps 50 \
14 --quality 101python relit_inference.py \
2 --dataset_path datasets/demos \
3 --ckpt_path checkpoints/model_frame1_1024_1472.ckpt \
4 --output_dir inference_output \
5 --cfg_scale 1.0 \
6 --height 1024 \
7 --width 1472 \
8 --num_frames 1 \
9 --padding_resolution \
10 --use_ref_image \
11 --env_map_path datasets/envs/Pink_Sunrise \
12 --frame_interval 1 \
13 --num_inference_steps 50 \
14 --quality 10| Checkpoint | Resolution | Frames |
|---|---|---|
model_frame25_480_832.ckpt | 480 × 832 | 25 |
model_frame57_480_832.ckpt | 480 × 832 | 57 |
model_frame1_1024_1472.ckpt | 1024 × 1472 | 1 (Image) |
models/Wan-AI/Wan2.1-T2V-1.3B/.1@article{xiao2026relitlive,
2 title={Relit-LiVE: Relight Video by Jointly Learning Environment Video},
3 author={Xiao, Weiqing and Li, Hong and Yang, Xiuyu and Chen, Houyuan and Li, Wenyi and Liu, Tianqi and Xu, Shaocong and Ye, Chongjie and Zhao, Hao and Wang, Beibei},
4 journal={arXiv preprint arXiv:2605.06658},
5 year={2026}
6}