Skip to content

Hunyuan Video: Inpainting & Mask Editor in ComfyUI

Blueprint for replacing or repairing masked regions seamlessly with Hunyuan Video (12 GB–24 GB VRAM) using Load Image (MaskEditor) → SetLatentNoiseMask / InpaintModelConditioning → KSampler.

Updated Oct 17, 2026 · 1 min read

At a glanceRoute
Model Architecture
Hunyuan Video
Workflow Task
Inpainting & Mask Editor
VRAM Requirement
12 GB–24 GB
Primary Loader
UnetLoaderGGUF / Load Diffusion Model
Model Directory
models/diffusion_models/

Node graph blueprint: Hunyuan Video × Inpainting & Mask Editor

This route pairs **Hunyuan Video** with a **Inpainting & Mask Editor** setup designed for replacing or repairing masked regions seamlessly. Place your model weights in `models/diffusion_models/` and start the graph with **UnetLoaderGGUF / Load Diffusion Model**.

Core wiring chain: `Load Image (MaskEditor) → SetLatentNoiseMask / InpaintModelConditioning → KSampler`. Connect your positive and negative conditioning from CLIP Text Encode into KSampler and decode to RGB pixels.

VRAM tuning and execution tips on Windows

  • **Memory target (12 GB–24 GB):** If your GPU sits at 8 GB or 12 GB, use FP8 or GGUF Q4/Q5 weights and swap in VAE Decode (Tiled) to avoid end-of-pass memory spikes.
  • **Workflow persistence:** Every image saved by this route embeds the full JSON graph inside the PNG metadata — drag the output back onto ComfyUI Studio anytime to resume.
  • **Get the app:** Download the Windows desktop or portable build from /download.

FAQs

Which loader node do I use for Hunyuan Video in a Inpainting & Mask Editor?

Use `UnetLoaderGGUF / Load Diffusion Model` with weights stored in `models/diffusion_models/`, then wire the output into `Load Image (MaskEditor) → SetLatentNoiseMask / InpaintModelConditioning → KSampler`.

How much VRAM does Hunyuan Video need for Inpainting & Mask Editor?

Target VRAM is 12 GB–24 GB. On 8 GB cards, load quantized FP8 or GGUF weights and enable tiled VAE decoding.

Run on your hardware. Free forever.

The full ComfyUI engine: open source, fast, extensible, and yours to run however you want. Download the desktop app and open this workflow on your own machine.

Sofa split between tweed and snow-leopard fabric, an image edit made in ComfyUI