Stable Diffusion Ultimate Guide pt. 7: Tips and Tricks

Umberto Grando
7 min readJul 10, 2023

Hello World!

Today we are going to take a look at a few tips and tricks to use in Stable Diffusion and also some scripts, embeddings and extensions that can help you create awesome pictures.

Tips and Tricks

Use “Only Masked” inpainting for better quality

One of the most overlooked features for a beginner when Inpainting is the “Only Masked” checkbox. This option change how the Inpainting process works:

  • Whole Picture: This means that the input of the inpainting process will be the whole picture, while the output will be the original picture with the replaced inpainted part
  • Only Masked: This means that the input of the inpainting process will be only the masked area (with some padding). By doing this the masked area will be upscaled to match the resolution defined inside the UI, then it will diffuse the inpainted area, and finally it will place back the generated picture inside the original one.

Using the “Only Masked” checkbox is really useful when adding details to a high resolution picture. For example, here’s a face generated from img2img using a resolution of 768x1152:

--

--

Umberto Grando

I’m Umberto Grando, an IoT Specialist with a passion for programming, gaming and technology in general.