# CineTrans: Learning to Generate Videos with Cinematic Transitions via Masked Diffusion Models


## 🖥️ Inference  
To run the inference, use the following command:
### CineTrans-Unet
```
python pipelines/sample.py --config configs/sample.yaml
```
Using a single A100 GPU, generating a single video takes approximately 40s. You can modify the relevant configurations and prompt in `configs/sample.yaml` to adjust the generation process.
### CineTrans-DiT
```
python generate.py
```
Using a single A100 GPU, generating a single video takes approximately 5min. You can modify the relevant configurations and prompt in `configs/t2v.yaml` to adjust the generation process.





