Skip to content

Qwen Image: Inpainting & Mask Editor in ComfyUI

Blueprint for replacing or repairing masked regions seamlessly with Qwen Image (8 GB–16 GB VRAM) using Load Image (MaskEditor) → SetLatentNoiseMask / InpaintModelConditioning → KSampler.

Updated Oct 17, 2026 · 1 min read

At a glanceRoute
Model Architecture
Qwen Image
Workflow Task
Inpainting & Mask Editor
VRAM Requirement
8 GB–16 GB
Primary Loader
Load Diffusion Model + CLIPLoader
Model Directory
models/diffusion_models/

Node graph blueprint: Qwen Image × Inpainting & Mask Editor

This route pairs **Qwen Image** 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 **Load Diffusion Model + CLIPLoader**.

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 (8 GB–16 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 Qwen Image in a Inpainting & Mask Editor?

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

How much VRAM does Qwen Image need for Inpainting & Mask Editor?

Target VRAM is 8 GB–16 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