mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-07-14 03:30:10 +00:00
This commit introduces a new command-line argument `--output_format` to `generate.py`, allowing users to specify the desired output format for generated videos. Supported formats are `mp4` (default) and `gif`. The video saving logic has been updated to handle both formats, using `imageio` for GIF generation. The `README.md` has been updated to document this new feature, and a test case has been added to `tests/test.sh` (though it was adapted for a dry run due to environmental limitations during testing). |
||
---|---|---|
.. | ||
README.md | ||
test.sh |
Put all your models (Wan2.1-T2V-1.3B, Wan2.1-T2V-14B, Wan2.1-I2V-14B-480P, Wan2.1-I2V-14B-720P) in a folder and specify the max GPU number you want to use.
bash ./test.sh <local model dir> <gpu number>