Tencent’s HunyuanVideo-1.5 punches well above its weight class. This 8.3-billion-parameter model delivers visual fidelity and motion coherence that previously required data-center-grade hardware. It now runs on consumer GPUs with as little as 14GB of VRAM, significantly lowering the barrier to professional video synthesis.
The architecture features a Diffusion Transformer (DiT) paired with a 3D causal VAE, compressing spatial dimensions by 16x and temporal dimensions by 4x. The primary differentiator is Selective Sliding Tile Attention (SSTA). This mechanism prunes redundant spatiotemporal KV blocks to slash compute overhead for long sequences. When generating a 10-second 720p clip, SSTA performs 1.87 times faster than FlashAttention-3.
The model supports native text-to-video (T2V) and image-to-video (I2V) workflows. An integrated lightweight super-resolution network upscales output to 1080p, sharpening edges and correcting distortion without requiring a heavy, separate post-processing step. Community adoption is already robust, with native optimizations available in ComfyUI and LightX2V.
Additional VRAM allows you to disable offloading to increase inference speeds.
Clone the repository and enter the directory:
git clone https://github.com/Tencent-Hunyuan/HunyuanVideo-1.5.git
cd HunyuanVideo-1.5
Install base dependencies:
pip install -r requirements.txt
pip install -i https://mirrors.tencent.com/pypi/simple/ --upgrade tencentcloud-sdk-python
Select one of the following attention libraries for optimal performance:
git clone https://github.com/Tencent-Hunyuan/flex-block-attn.git
cd flex-block-attn
git submodule update --init --recursive
python3 setup.py install
git clone https://github.com/cooper1637/SageAttention.git
cd SageAttention
export EXT_PARALLEL=4 NVCC_APPEND_FLAGS="--threads 8" MAX_JOBS=32
python3 setup.py install
Distilled and sparse attention models are forthcoming. Check the Hugging Face model card for updates. Follow checkpoints-download.md to pull the pretrained weights before attempting video generation.
Detailed prompts yield the best results. HunyuanVideo-1.5 includes a rewrite mechanism that refines user input via a vLLM-compatible language model. Qwen3 models are recommended:
Qwen3-235B-A22B-Thinking-2507Qwen3-VL-235B-A22B-InstructSet environment variables to point to your vLLM endpoint:
export T2V_REWRITE_BASE_URL="<your-vllm-server>"
export T2V_REWRITE_MODEL_NAME="<your-model-name>"
export I2V_REWRITE_BASE_URL="<your-vllm-server>"
export I2V_REWRITE_MODEL_NAME="<your-model-name>"
Rewriting is enabled by default; use --rewrite false to bypass it.
Example command for T2V or I2V:
PROMPT='a girl holding a paper reading "Hello, world!"'
IMAGE_PATH=none
SEED=1
ASPECT_RATIO=16:9
RESOLUTION=480p
OUTPUT_PATH=./outputs/output.mp4
REWRITE=true
N_INFERENCE_GPU=8
CFG_DISTILLED=true
SPARSE_ATTN=false
SAGE_ATTN=true
OVERLAP_GROUP_OFFLOADING=true
ENABLE_CACHE=true
CACHE_TYPE=deepcache
ENABLE_SR=true
MODEL_PATH=ckpts
torchrun --nproc_per_node=$N_INFERENCE_GPU generate.py \
--prompt "$PROMPT" \
--image_path $IMAGE_PATH \
--resolution $RESOLUTION \
--aspect_ratio $ASPECT_RATIO \
--seed $SEED \
--rewrite $REWRITE \
--cfg_distilled $CFG_DISTILLED \
--sparse_attn $SPARSE_ATTN --use_sageattn $SAGE_ATTN \
--enable_cache $ENABLE_CACHE --cache_type $CACHE_TYPE \
--overlap_group_offloading $OVERLAP_GROUP_OFFLOADING \
--sr $ENABLE_SR --save_pre_sr_video \
--output_path $OUTPUT_PATH \
--model_path $MODEL_PATH
export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True,max_split_size_mb:128 before execution.--overlap_group_offloading false.| Model | CFG Scale | Flow Shift | Steps |
|---|---|---|---|
| 480p T2V | 6 | 5 | 50 |
| 480p I2V | 6 | 5 | 50 |
| 720p T2V | 6 | 9 | 50 |
| 720p I2V | 6 | 7 | 50 |
| 480p T2V (distilled) | 1 | 5 | 50 |
| 720p T2V (distilled) | 1 | 9 | 50 |
| 480→720 SR | 1 | 2 | 6 |
| 720→1080 SR | 1 | 2 | 8 |
| Model Name | Status |
|---|---|
| HunyuanVideo-1.5-480P-T2V/I2V | Available |
| HunyuanVideo-1.5-480P-T2V/I2V-cfg-distill | Available |
| HunyuanVideo-1.5-720P-T2V/I2V | Available |
| HunyuanVideo-1.5-720P-I2V-cfg-distill | Available |
| HunyuanVideo-1.5-720P-T2V-sparse-cfg-distill | Coming Soon |
| HunyuanVideo-1.5-SR-step-distill (720P/1080P) | Available |
Tested on 8 H800 GPUs with standard engineering acceleration:
| Task | Resolution | Frames | Sparse Attn | Total Time (s) | Time/Step (s) |
|---|---|---|---|---|---|
| T2V | 480p | 121 | No | 13.90 | 0.278 |
| T2V | 480p | 241 | No | 27.08 | 0.542 |
| T2V | 720p | 121 | No | 28.33 | 0.567 |
| T2V | 720p | 121 | Yes | 26.41 | 0.528 |
| T2V | 720p | 241 | No | 96.78 | 1.936 |
| T2V | 720p | 241 | Yes | 58.39 | 1.168 |
The model’s multi-stage training employs a Muon optimizer to accelerate convergence. The pipeline transitions from initial pretraining to post-training refinement, improving motion continuity and visual quality while aligning outputs with user preferences. Evaluation metrics emphasize text-video alignment, structural stability, and frame-level aesthetics.
HunyuanVideo-1.5 represents a major shift: 8 billion parameters running on 14GB of VRAM with a single command. The gap between high-end research labs and local workstations continues to narrow.
Duck VPN Review: Stream Netflix & Unblock Social Apps Without Logs
Besnow Cloud VPN: 60% Off Coupon + 30-Day Free Trial
Shendeng VPN Review: High-Speed Gaming, Video Streaming, and Unlimited Data
Akaunting Review: Free Open-Source Accounting Software for Small Business
ntopng Network Traffic Monitor: Identify Bandwidth Consumption and Network Bottlenecks
RunAgent: Build AI Agents in Python, Invoke Them Natively from Any Language
MonkeyCode: Secure Private AI Coding with Integrated Security Scanning & Admin Controls
LandPPT: Create AI-Powered Presentations from Any Document
LeRobot: Train Real-World Robots with Hugging Face's PyTorch Library
TensorZero: Optimize LLM Applications with Production Feedback
Nping: A High-Performance Concurrent Ping Tool in Rust with Live Charts
Add Area Fill to Line Charts in Excel: Step-by-Step