lightx2v/LightLingBot-Video

Model

13

stars

6

commits

1

linked in READMEs

Jul 28, 2026

updated

distillation
image-to-video
lightx2v
lora
text-to-image
text-to-video
video-generation

README

🎬 LightLingBot-Video

Few-step distilled LoRA checkpoints for LingBot-Video, accelerated by LightX2V.

LightLingBot-Video provides distilled LoRA checkpoints for fast LingBot-Video inference. The same LoRA configuration supports text-to-video (T2V), text-to-image (T2I), and image-to-video (I2V) generation.

πŸ“‹ Table of Contents

✨ Features

  • ⚑ 4-step inference with distilled LoRA checkpoints
  • 🎬 T2V, T2I, and I2V generation
  • πŸ”§ One unified LoRA configuration shared by all tasks
  • πŸš€ LightX2V integration for efficient inference and deployment
  • 🎯 Two distilled LoRA versions for comparison

πŸ“¦ Installation

git clone https://github.com/ModelTC/LightX2V.git
cd LightX2V
python3 -m pip install -e .

Follow the LightX2V installation guide to install the optional acceleration dependencies required by your hardware.

πŸ“₯ Model Preparation

Download the LingBot-Video base model and the distilled LoRA repository:

huggingface-cli download robbyant/lingbot-video-moe-30b-a3b \
  --local-dir /path/to/LingBot-Video

huggingface-cli download lightx2v/LightLingBot-Video \
  --local-dir /path/to/LightLingBot-Video

Before inference:

  1. Set model_path in the corresponding script under scripts/lingbot_video/.
  2. Set the LoRA checkpoint path in configs/lingbot_video/lingbot_video_lora.json.
  3. Adjust CUDA_VISIBLE_DEVICES in the script if needed.
  4. For I2V, also set image_path in the I2V script.

πŸš€ Inference

Run the following commands from the LightX2V repository root. These commands use the shell scripts under scripts/lingbot_video; no examples entry point is required.

Text-to-Video

bash scripts/lingbot_video/run_lingbot_video_t2v.sh

Text-to-Image

bash scripts/lingbot_video/run_lingbot_video_t2i.sh

Image-to-Video

bash scripts/lingbot_video/run_lingbot_video_i2v.sh
SettingBase modelDistilled LoRA
Inference steps404
LoRA strengthβ€”1.0
Resolution832 Γ— 480832 Γ— 480
Guidance scale3.01.0
Sample shift3.03.0

🎬 Generation Results

Text-to-Video (T2V)

MethodSample 1Sample 2Sample 3
40 steps
4-step LoRA v1
4-step LoRA v2

Text-to-Image (T2I)

MethodSample 1Sample 2Sample 3Sample 4
40 stepsT2I 40-step sample 1T2I 40-step sample 2T2I 40-step sample 3T2I 40-step sample 4
4-step LoRA v1T2I LoRA v1 sample 1T2I LoRA v1 sample 2T2I LoRA v1 sample 3T2I LoRA v1 sample 4
4-step LoRA v2T2I LoRA v2 sample 1T2I LoRA v2 sample 2T2I LoRA v2 sample 3T2I LoRA v2 sample 4

Image-to-Video (I2V)

MethodSample 1Sample 2Sample 3Sample 4
40 steps
4-step LoRA v1
4-step LoRA v2

⚠️ Notes

  • The distilled LoRA configuration uses 4 inference steps and disables CFG.
  • Merged LoRA inference requires original, non-quantized DiT weights.
  • Prompts and negative prompts should follow the structured JSON format used in scripts/lingbot_video/.
  • T2V, T2I, and I2V share configs/lingbot_video/lingbot_video_lora.json.
  • Speed and memory usage depend on the GPU, attention backend, resolution, and video length.

🀝 Acknowledgements

If you find this project helpful, please give LightX2V a ⭐.

Contributors

lightx2v

6 commits

lightx2v/LightLingBot-Video

Model

13

stars

6

commits

1

linked in READMEs

Jul 28, 2026

updated

distillation
image-to-video
lightx2v
lora
text-to-image
text-to-video
video-generation

README

🎬 LightLingBot-Video

Few-step distilled LoRA checkpoints for LingBot-Video, accelerated by LightX2V.

LightLingBot-Video provides distilled LoRA checkpoints for fast LingBot-Video inference. The same LoRA configuration supports text-to-video (T2V), text-to-image (T2I), and image-to-video (I2V) generation.

πŸ“‹ Table of Contents

✨ Features

  • ⚑ 4-step inference with distilled LoRA checkpoints
  • 🎬 T2V, T2I, and I2V generation
  • πŸ”§ One unified LoRA configuration shared by all tasks
  • πŸš€ LightX2V integration for efficient inference and deployment
  • 🎯 Two distilled LoRA versions for comparison

πŸ“¦ Installation

git clone https://github.com/ModelTC/LightX2V.git
cd LightX2V
python3 -m pip install -e .

Follow the LightX2V installation guide to install the optional acceleration dependencies required by your hardware.

πŸ“₯ Model Preparation

Download the LingBot-Video base model and the distilled LoRA repository:

huggingface-cli download robbyant/lingbot-video-moe-30b-a3b \
  --local-dir /path/to/LingBot-Video

huggingface-cli download lightx2v/LightLingBot-Video \
  --local-dir /path/to/LightLingBot-Video

Before inference:

  1. Set model_path in the corresponding script under scripts/lingbot_video/.
  2. Set the LoRA checkpoint path in configs/lingbot_video/lingbot_video_lora.json.
  3. Adjust CUDA_VISIBLE_DEVICES in the script if needed.
  4. For I2V, also set image_path in the I2V script.

πŸš€ Inference

Run the following commands from the LightX2V repository root. These commands use the shell scripts under scripts/lingbot_video; no examples entry point is required.

Text-to-Video

bash scripts/lingbot_video/run_lingbot_video_t2v.sh

Text-to-Image

bash scripts/lingbot_video/run_lingbot_video_t2i.sh

Image-to-Video

bash scripts/lingbot_video/run_lingbot_video_i2v.sh
SettingBase modelDistilled LoRA
Inference steps404
LoRA strengthβ€”1.0
Resolution832 Γ— 480832 Γ— 480
Guidance scale3.01.0
Sample shift3.03.0

🎬 Generation Results

Text-to-Video (T2V)

MethodSample 1Sample 2Sample 3
40 steps
4-step LoRA v1
4-step LoRA v2

Text-to-Image (T2I)

MethodSample 1Sample 2Sample 3Sample 4
40 stepsT2I 40-step sample 1T2I 40-step sample 2T2I 40-step sample 3T2I 40-step sample 4
4-step LoRA v1T2I LoRA v1 sample 1T2I LoRA v1 sample 2T2I LoRA v1 sample 3T2I LoRA v1 sample 4
4-step LoRA v2T2I LoRA v2 sample 1T2I LoRA v2 sample 2T2I LoRA v2 sample 3T2I LoRA v2 sample 4

Image-to-Video (I2V)

MethodSample 1Sample 2Sample 3Sample 4
40 steps
4-step LoRA v1
4-step LoRA v2

⚠️ Notes

  • The distilled LoRA configuration uses 4 inference steps and disables CFG.
  • Merged LoRA inference requires original, non-quantized DiT weights.
  • Prompts and negative prompts should follow the structured JSON format used in scripts/lingbot_video/.
  • T2V, T2I, and I2V share configs/lingbot_video/lingbot_video_lora.json.
  • Speed and memory usage depend on the GPU, attention backend, resolution, and video length.

🀝 Acknowledgements

If you find this project helpful, please give LightX2V a ⭐.

Contributors

lightx2v

6 commits