From the course: Learning ComfyUI for Stable Diffusion
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Inpainting with a generic diffusion model - Stable Diffusion Tutorial
From the course: Learning ComfyUI for Stable Diffusion
Inpainting with a generic diffusion model
- [Instructor] So far, we've used a specialized inpainting model. Now let's look at inpainting using any generic diffusion model. I've got a background image here that I created using Flux.1 Schnell. It's in the Exercise Files input. I want to remove this table. So this is a good case for inpainting. However, I can't use Flux.1 Schnell for inpainting because it's a distilled model, and it actually just does not work with inpainting at all. I'll have to use a different model. In an ideal world, I would use Flux.1 Dev, but that's for non-commercial applications only, so I can't use it for this course. Instead, I'm going to use Juggernaut XL, and that's going to change the quality of the image a little bit, but actually I think it will improve it slightly. Let's take a look. Here's my workflow, and I've built it out mostly. I've got that image loaded into a Load Image node, and I've already painted out the area that I want to remove, once again, by right clicking and choosing Open in…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Directing composition with a ControlNet5m 10s
-
(Locked)
Tuning ControlNet parameters5m 44s
-
(Locked)
Posing a figure with OpenPose7m 53s
-
(Locked)
Inpainting with a specialized model8m 32s
-
Optimizing inpainting resolution7m 1s
-
(Locked)
Inpainting with a generic diffusion model8m 34s
-
(Locked)
Outpainting7m 44s
-
(Locked)
Masks and compositing4m 46s
-
(Locked)
Automatic masking with Segment Anything8m 6s
-
(Locked)
Fine-tuning with LORAs6m 22s
-
(Locked)
-
-