This is a basic setup for Hunyuan Video
Use the lastest branch (3.0) for full nodes and models
This guide will walk you through setting up and running the Hunyuan Video Generation environment on RunPod.
- A RunPod account (sign up at https://runpod.io)
- Basic familiarity with Docker and command-line interfaces
- Log in to your RunPod account
- Navigate to the "Pods" section
- Click "Deploy" to create a new pod
- In the template selection:
- Select "Custom Template"
- Container Image:
dihan/hunyuan-runpod:allinone
- Choose a GPU (Recommended: RTX 4090 or better)
- Select at least 24GB RAM
- Storage: Minimum 20GB (Recommended: 40GB)
The following ports need to be exposed:
8188
: ComfyUI web interface8080
: VS Code web interface
These are pre-configured in the template, but verify they're exposed in the RunPod UI.
- Click "Deploy" to start your pod
- Wait for the pod to initialize (this may take 5-10 minutes on first run due to model downloads)
- Once the pod is running, you'll see "Connected" status
After deployment, you can access:
-
ComfyUI Interface:
- Click on "Connect" in your pod's details
- Select port 8188
- This opens the ComfyUI web interface
-
VS Code Interface:
- Click on "Connect"
- Select port 8080
- This opens the VS Code web interface
- Navigate to the ComfyUI interface
- Load the provided workflow:
- Click the folder icon in the top-right
- Select "AllinOneUltra1.3.json" from the workflows folder
The following models are automatically downloaded on first startup:
hunyuan_video_720_cfgdistill_bf16.safetensors
(UNET)Long-ViT-L-14-GmP-SAE-TE-only.safetensors
(Text Encoder)llava_llama3_fp8_scaled.safetensors
(Text Encoder)hunyuan_video_vae_bf16.safetensors
(VAE)clip-vit-large-patch14.safetensors
(CLIP Vision)hunyuan_video_FastVideo_720_fp8_e4m3fn.safetensors
(FastVideo LoRA)
-
Models Not Loading
- Check
/workspace/comfyui.log
for download errors - Verify disk space availability
- Try running
/workspace/download-fix.sh
manually
- Check
-
ComfyUI Not Starting
- Check
/workspace/comfyui.log
for errors - Ensure all required models are downloaded
- Restart the pod if necessary
- Check
-
VS Code Not Accessible
- Check
/workspace/vscode.log
for errors - Verify port 8080 is exposed and not blocked
- Restart the pod if necessary
- Check
You can view logs through VS Code or terminal:
# ComfyUI logs
tail -f /workspace/comfyui.log
# VS Code logs
tail -f /workspace/vscode.log
To update to the latest version:
- Stop your current pod
- Delete the pod (your workspace volume will be preserved)
- Deploy a new pod using the latest image
Important files are stored in:
/workspace/ComfyUI/models/
- Model files/workspace/ComfyUI/user/default/workflows/
- Workflows
For issues or questions:
- Check the GitHub repository issues section
- Join the ComfyUI Discord community
- Check RunPod documentation for platform-specific issues