Video GenerationOpen source codeTencent-Hunyuan/HunyuanVideo

HunyuanVideo (GitHub): Open Source AI Repository & Self-Hosting Guide

Tencent 13B open-source video foundation model delivering realistic cinema lighting, fluid physics, and native audio/ComfyUI ecosystems locally.

GitHub Stars
12,872 stars
Repository License
Custom (see repo)
Last Push (UTC)
Oct 8, 2026
Check the repo's license. Model weights may have a different license.
git clone https://github.com/Tencent-Hunyuan/HunyuanVideo.git
View on GitHub
Installpip install -r requirements.txt && python sample_video.py --prompt '...'

HunyuanVideo (GitHub): Architecture & Practical Workflow

HunyuanVideo combines a 3D causal VAE, MLLM text encoder (replacing weaker CLIP text towers), and Dual-to-Single Stream Diffusion Transformer—producing coherent 720p motion locally via official PyTorch scripts, FP8 ComfyUI, or WanGP.

Recommended End-to-End Pipeline

Run FP8 quantized HunyuanVideo inside ComfyUI or WanGP on 12GB-24GB consumer GPUs to generate watermark-free cinematic B-roll shots.

Runtime Target
Self-Hosted / ComfyUI / Linux (GitHub)
Primary Users
Filmmakers, Local AI Studios
Code License
Custom (see repo)
Focus Topics
open-source, github, cinematic, self-hosted, no-watermark

Quick Setup & Installation Steps

Platform target: Self-Hosted / ComfyUI / Linux (GitHub). Always verify environment variables and dependencies in the upstream repository README.

  1. 1Clone the repository from GitHub: `git clone https://github.com/Tencent-Hunyuan/HunyuanVideo.git && cd HunyuanVideo`.
  2. 2Review the Custom (see repo) license (Check the repo's license. Model weights may have a different license.) and note any separate terms on external model weights.
  3. 3Install or launch the project directly: `pip install -r requirements.txt && python sample_video.py --prompt '...'` (use an isolated Python virtualenv, Node workspace, or Docker volume so dependencies remain clean).
  4. 4Validate end-to-end behavior with a small sample input (Run FP8 quantized HunyuanVideo inside ComfyUI or WanGP on 12GB-24GB consumer GPUs to generate watermark-free cinematic B-roll shots.)

Hardware & VRAM Notes

Hardware & VRAM guidance: Needs 24GB+ VRAM (or FP8 offloading)

GPU & VRAM

Needs 24GB+ VRAM (or FP8 offloading)

System RAM & Storage

16 GB–32 GB system RAM recommended plus 10 GB–40 GB free SSD space for container images, Python dependencies, and model weights.

Runtime Target

Self-Hosted / ComfyUI / Linux (GitHub)

Strengths & Best For

  • 13B parameter cinematic video generation
  • FP8 quantized ComfyUI workflows
  • Local execution with no forced watermark or monthly caps
  • Best suited for: Filmmakers, Local AI Studios

Limitations & Caveats

  • Check Tencent Hunyuan community license
  • Needs 24GB+ VRAM (or FP8 offloading)
  • Check the repo's license. Model weights may have a different license.

3 Similar Tools on /tools (Video)

Prefer a hosted web app instead of managing local weights or Docker containers? Explore these cloud alternatives.

Browse all tools
Self-Hosted HunyuanVideo (GitHub) vs. Hosted Alternatives (Wan Video & HunYuan Video (Tencent))
FactorHunyuanVideo (GitHub) (Self-Hosted)Wan VideoHunYuan Video (Tencent)
Execution & PrivacyRuns locally via Self-Hosted / ComfyUI / Linux (GitHub); data stays on your disk or private server.Hosted cloud web interface; zero local dependency setup required.Hosted cloud web interface; zero local dependency setup required.
Cost & QuotaCustom (see repo) code; bound only by local CPU/GPU hardware.Open Source; subject to vendor free-tier limits or paid plans.Open Source; subject to vendor free-tier limits or paid plans.
Primary Fit13B parameter cinematic video generation; FP8 quantized ComfyUI workflowsAlibaba's state-of-the-art open-source text-to-video and image-to-video foundation model series runnable locally in ComfyUI.Open-source text-to-video foundation model with high temporal consistency.
Key Trade-offCheck Tencent Hunyuan community licenseRequires internet access and vendor account/quota limits.Requires internet access and vendor account/quota limits.

Matching Ready-Made Prompts

All Prompts →

Customize variables in Live Prompt Studio for HunyuanVideo (GitHub) workflows.

Cinematic FPV Drone Architectural FlythroughVideo · Video, Cinematic, Drone, Architecture
Open in Studio
1000fps Phantom Flex Rain SplashVideo · Ultra Slow-Motion Macro
Open in Studio
Cinematic Slow-Motion Coffee Pour with Morning SteamVideo · Video, Slow Motion, Cinematic, Food & Beverage
Open in Studio

More Open Source Video Generation Repositories

Frequently Asked Questions

What does HunyuanVideo (GitHub) do and how does it work?

HunyuanVideo (GitHub) (Tencent-Hunyuan/HunyuanVideo) is an open-source video generation project with 12,872 stars on GitHub. Tencent 13B open-source video foundation model delivering realistic cinema lighting, fluid physics, and native audio/ComfyUI ecosystems locally. HunyuanVideo combines a 3D causal VAE, MLLM text encoder (replacing weaker CLIP text towers), and Dual-to-Single Stream Diffusion Transformer—producing coherent 720p motion locally via official PyTorch scripts, FP8 ComfyUI, or WanGP.

Is HunyuanVideo (GitHub) free to self-host and use commercially?

HunyuanVideo (GitHub) provides open source code licensed under Custom (see repo). Check the repo's license. Model weights may have a different license. Always verify both source code and model weight licenses in the GitHub repository before commercial deployment.

What hardware, runtime, or VRAM does HunyuanVideo (GitHub) require?

HunyuanVideo (GitHub) targets Self-Hosted / ComfyUI / Linux (GitHub). Typical installation runs via `pip install -r requirements.txt && python sample_video.py --prompt '...'`. Check Tencent Hunyuan community license

How does self-hosting HunyuanVideo (GitHub) compare to hosted tools like Wan Video?

Self-hosting HunyuanVideo (GitHub) gives you full local data control, zero per-usage vendor fees, and customizable Self-Hosted / ComfyUI / Linux (GitHub) pipelines—at the cost of managing your own setup and compute. By contrast, Wan Video (Open Source) runs in the browser with no local installation, though usage quotas and cloud privacy policies apply.

Is HunyuanVideo (GitHub) actively maintained and what workflow fits it best?

Repository metadata records 12,872 stars on GitHub with the latest recorded push on Oct 8, 2026. Run FP8 quantized HunyuanVideo inside ComfyUI or WanGP on 12GB-24GB consumer GPUs to generate watermark-free cinematic B-roll shots.