Discover the power of inpainting and outpainting with ComfyUI as we transform and refine images using advanced, memory-friendly techniques. In this tutorial, we’ll dive deep into a flexible inpainting workflow that not only supports quantized models—making it accessible even with limited VRAM—but also allows you to tackle everything from minor detail fixes to large-scale background expansions.
Flux fine-tuned models comparison: https://youtu.be/uy2EtnyB0eg
Basic Workflow: https://openart.ai/workflows/ZxX625DPdQQVZFO9pJTI
⚠️Note: The basic and advanced workflows are very similar and can produce the same results. The main difference is that the advanced workflow allows you to automatically generate the inpainting mask, whereas in the basic workflow, you'll need to paint the mask manually. Additionally, there are variations that complement the advanced workflow, such as fixing hands, repairing faces, and swapping clothing. Consider supporting me on Patreon to access the advanced workflow.
Advanced Workflow: https://www.patreon.com/posts/better-flux-with-118274031
Models:
- GGUF Fill models: https://huggingface.co/SporkySporkness/FLUX.1-Fill-dev-GGUF/tree/main
- Flux turbo LoRA: https://huggingface.co/alimama-creative/FLUX.1-Turbo-Alpha/tree/main
- stoiqoNewreality: https://civitai.com/models/161068?modelVersionId=979329
- Flux hand LoRA: https://civitai.com/models/200255/hands-xl-sd-15-flux1-dev
Chapters:
0:00 - Intro
1:05 - Setting Up the Workflow
2:58 - Creating the Inpainting Mask
5:17 - Cropping for Better Inpainting
7:02 - Refining with a Second Round of Inpainting
9:12 - Final Touches: Hand Repair