How to Build a Hunyuan Video 2 Workflow in ComfyUI

October 11, 2026

ComfyUI is the practical way to run Hunyuan Video 2, because the graph layout lets you control the sampler, the scheduler, and the frame count independently. This walkthrough assumes you already have the weights downloaded and a GPU with at least 16GB. If you are starting from zero, set up the model first before touching the graph.

Which nodes does a Hunyuan Video 2 graph need?

Four functional blocks, in order:

  • Model loader — the GGUF loader for the checkpoint, plus a text encoder (CLIP) loader.
  • Conditioning — positive and negative prompt nodes feeding a video conditioning combine node.
  • Latent — a video latent node that sets width, height, and frame count.
  • Sampler — the KSampler, then a VAE decode, then a video combine and save.

Wire them in that order. Keep the negative prompt generic: “blurry, watermark, oversaturated, extra limbs.” Overloading the negative side slows sampling without helping much.

What sampler settings reduce flicker?

Flicker — the shimmer between frames — is the number one complaint with local video models. Three settings tame it:

  • Steps: 25-30. Below 20 the model under-resolves and flickers; above 35 you gain little and wait longer.
  • CFG: 6-7. Higher values sharpen but increase temporal instability.
  • Scheduler: a uniform or karras-style schedule tends to be more stable than exponential alternatives.

Also drop frame count before you drop resolution. A 49-frame 720p clip is more stable than a 97-frame one at the same VRAM.

How many frames can a 24GB card handle?

On a 4090 with a Q8 build, 49 frames at 720p is comfortable. Pushing to 97 frames risks a swap to system RAM, which slows everything to a crawl. If you need longer clips, render 49-frame segments and stitch them. Enable model offloading only if you are short on VRAM; it trades speed for memory.

Can I batch renders overnight?

Yes, and it is the main reason to run locally. Queue a folder of prompts, set the queue to run in order, and let it work while you sleep. A Q8 build on a 4090 averages a few minutes per 5-second clip, so a night yields a usable batch. Check the first output before walking away — a bad seed wastes hours.

When should I use a hosted tool instead?

If your GPU has 8GB or less, or you need audio baked in, a hosted model like Hunyuan Video 2 through a cloud endpoint — or a competitor like Pika 3 for stylized clips — will save you the wiring. The local graph pays off once you are generating dozens of clips and want repeatable settings.

Quick Summary

  • A Hunyuan Video 2 ComfyUI graph needs loader, conditioning, video latent, and sampler blocks.
  • 25-30 steps, CFG 6-7, and a karras schedule cut flicker.
  • A 24GB card handles 49 frames at 720p comfortably; stitch for longer clips.
  • Overnight batch queuing is the strongest reason to run it locally.
  • Under 8GB VRAM or need native audio? Use a hosted service instead.