Windows Local Deployment Guide#
đ Overview#
This document provides detailed instructions for deploying LightX2V locally on Windows environments, including batch file inference, Gradio Web interface inference, and other usage methods.
đ Quick Start#
Environment Requirements#
Hardware Requirements#
GPU: NVIDIA GPU, recommended 8GB+ VRAM
Memory: Recommended 16GB+ RAM
Storage: Strongly recommended to use SSD solid-state drives, mechanical hard drives will cause slow model loading
đŻ Usage Methods#
Method 1: Using Batch File Inference#
Refer to Quick Start Guide to install environment, and use batch files to run.
Method 2: Using Gradio Web Interface Inference#
Manual Gradio Configuration#
Refer to Quick Start Guide to install environment, refer to Gradio Deployment Guide
One-Click Gradio Startup (Recommended)#
đŚ Download Software Package
đ Directory Structure After extraction, ensure the directory structure is as follows:
âââ env/ # LightX2V environment directory
âââ LightX2V/ # LightX2V project directory
âââ start_lightx2v.bat # One-click startup script
âââ lightx2v_config.txt # Configuration file
âââ LightX2V使ç¨čŻ´ć.txt # LightX2V usage instructions
âââ outputs/ # Generated video save directory
âââ models/ # Model storage directory
â ď¸ Note for RTX 50 Series GPU Users: We provide a dedicated runtime environment. Please download from Quark Cloud, extract and replace the env/ directory in the software package.
đĽ Model Download:
You can directly download from the Gradio frontend, with two download sources provided: HuggingFace and ModelScope. You can choose according to your situation, or refer to the Model Structure Documentation to manually download.
đ Configuration Parameters
Edit the lightx2v_config.txt file and modify the following parameters as needed:
# Interface language (zh: Chinese, en: English)
lang=en
# Server port
port=8032
# GPU device ID (0, 1, 2...)
gpu=0
# Model path
model_path=models/
đ Start Service
Double-click to run the start_lightx2v.bat file, the script will:
Automatically read configuration file
Verify model paths and file integrity
Start Gradio Web interface
Automatically open browser to access service

â ď¸ Important Notes:
Display Issues: If the webpage opens blank or displays abnormally, please run
pip install --upgrade gradioto upgrade the Gradio version.