Spaces:
Running
Running
Download scripts/run_sample_video.sh from 3bdull4h/HunyuanVideo: direct link, hf CLI and curl.
- Browser
- Download file 403 Bytes
-
https://huggingface.co/spaces/3bdull4h/HunyuanVideo/resolve/main/scripts/run_sample_video.sh
- Command line
-
hf download hf://spaces/3bdull4h/HunyuanVideo/scripts/run_sample_video.sh
-
curl -L -o run_sample_video.sh https://huggingface.co/spaces/3bdull4h/HunyuanVideo/resolve/main/scripts/run_sample_video.sh
403 Bytes
| # Description: This script demonstrates how to inference a video based on HunyuanVideo model | |
| python3 sample_video.py \ | |
| --video-size 720 1280 \ | |
| --video-length 129 \ | |
| --infer-steps 50 \ | |
| --prompt "A cat walks on the grass, realistic style." \ | |
| --seed 42 \ | |
| --embedded-cfg-scale 6.0 \ | |
| --flow-shift 7.0 \ | |
| --flow-reverse \ | |
| --use-cpu-offload \ | |
| --save-path ./results | |