ComfyUI Tutorial for Beginners: Inpainting, Outpainting & Upscaling (2026)

ComfyUI
8,643 views •

Module 4 of Comfy 101 covers the editing toolkit — the four workflows that let you fix a generation instead of re-rolling it. When 90% of an image is right, you shouldn't throw away the whole thing to fix the other 10%. This module walks through inpainting, outpainting, segmentation, and upscaling, and how they chain together into a single finishing pass. We build an inpainting workflow in RealVis XL, generate masks automatically with the SAM 3 Text Segmentation node, then tune them with Grow Mask and Feather Mask before passing everything through InpaintModelConditioning. You'll also learn to draw masks by hand in the Mask Editor when you want precise control. From there we move to video inpainting with Netflix's VOID model, outpainting with FLUX.1 Fill, multi-object segmentation, and upscaling with 4x-UltraSharp, Real-ESRGAN, and the Topaz API nodes. Click the links below to run the workflows: Inpainting: https://links.comfy.org/4wZ7aag Outpainting: https://links.comfy.org/4h1f7qx Upscailing: https://links.comfy.org/4ye9LhD Segmentation: https://links.comfy.org/4zU71Yy Chapters: 00:00 What the editing toolkit covers 01:09 Stop starting over, start editing 02:04 What inpainting actually does 03:55 Building the inpainting workflow (RealVis XL) 04:53 Automatic masks with SAM 3 Text Segmentation 06:53 Grow, feather, and InpaintModelConditioning 09:41 Drawing masks by hand in the Mask Editor 13:06 Video inpainting with Netflix's VOID model 17:32 What outpainting does 18:26 Expanding a frame with FLUX.1 Fill 21:12 Video outpainting with LTX 2.3 + IC-LoRA 22:04 Segmentation explained 23:14 Isolating multiple objects in one image 26:43 Why upscaling isn't stretching 29:40 4x-UltraSharp vs Real-ESRGAN 32:14 Topaz API nodes and credits 33:08 Exercise: one image through the full toolkit 34:46 Troubleshooting masks, seams, and upscales

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close