- Update README
- Update STG with HunyuanVideo, CogVideoX, Open-Sora, SVD
This project is built upon the following works:
-
Mochi
-
For installation and requirements, refer to the official repository.
-
Update
demos/config.py
with your desired settings and simply run:python ./demos/cli.py
-
-
LTX-Video
- For installation and requirements, refer to the official repository.
Using CFG (Default Model):
python inference.py --ckpt_dir './weights' --prompt "A man ..."
To utilize STG, use the following command:
python inference.py --ckpt_dir './weights' --prompt "A man ..." --stg_mode stg-a --stg_scale 1.0 --stg_block_idx 19 --do_rescaling True
Key Parameters:
- stg_mode: Choose between stg-a or stg-r.
- stg_scale: Recommended values are ≤2.0.
- stg_block_idx: Specify the block index for applying STG.
- do_rescaling: Set to True to enable rescaling.