README.md 946 Bytes
Newer Older
Yang Yong (雍洋)'s avatar
Yang Yong (雍洋) committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# HunyuanVideo1.5

## Quick Start

1. Prepare docker environment:

```bash
docker pull lightx2v/lightx2v:25111101-cu128
```

2. Run the container:
```bash
docker run --gpus all -itd --ipc=host --name [container_name] -v [mount_settings] --entrypoint /bin/bash [image_id]
```

3. Prepare the models
Yang Yong (雍洋)'s avatar
Yang Yong (雍洋) committed
17

Yang Yong (雍洋)'s avatar
Yang Yong (雍洋) committed
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Please follow the instructions in [HunyuanVideo1.5 Github](https://github.com/Tencent-Hunyuan/HunyuanVideo-1.5/blob/main/checkpoints-download.md) to download and place the model files.

4. Run the script
```bash
# enter the docker container

git clone https://github.com/ModelTC/LightX2V.git
cd LightX2V/scripts/hunyuan_video_15

# set LightX2V path and model path in the script
bash run_hy15_t2v_480p.sh
```

5. Check results
Yang Yong (雍洋)'s avatar
Yang Yong (雍洋) committed
32

Yang Yong (雍洋)'s avatar
Yang Yong (雍洋) committed
33
34
35
You can find the generated video files in the `save_results` folder.

6. Modify detailed configurations
Yang Yong (雍洋)'s avatar
Yang Yong (雍洋) committed
36

Yang Yong (雍洋)'s avatar
Yang Yong (雍洋) committed
37
You can refer to the config file pointed to by `--config_json` in the script and modify its parameters as needed.