# Environment Setup:
To set up the environment for NVILA and CogVideo, you can run the following command:
```bash
cd Anime-Shooter
bash environment_setup.sh animeshooter
```
Download the pretrained weights of [NVILA-8B-Video](https://huggingface.co/Efficient-Large-Model/NVILA-8B-Video) and [CogVideoX-2B](https://huggingface.co/THUDM/CogVideoX-2b):
```bash
mkdir ./ckpt
cd ./ckpt
git clone https://huggingface.co/Efficient-Large-Model/NVILA-8B-Video
git clone https://huggingface.co/THUDM/CogVideoX-2b
```

# Inference:
```bash
bash scripts/inference.sh $VIDEO_ID
```

# Finetune Your Own Model:
We provide three IP-specific datasets for finetuning, and you can also prepare your own dataset in the same format with an unique video id. Then, run the following command to train your own model:
```bash
bash scripts/train.sh $VIDEO_ID
```
