Stable Diffusion: Inpainting specific image areas

Demo summary
The demo shows using the brush tool in the Inpaint tab to mask a specific building in an image and regenerate only that section to improve its appearance.
Step-by-step
- Navigate to the Inpaint tab
- Drag the image from the generation window into the Inpaint window
- Select the brush tool
- Brush over the specific area of the image you want to change
- Select the Inpaint option to generate variations
Options
- Choose between Inpaint, Improve, and Modify modes
- Adjust the brush radius to control the area of effect
Tips
- Use Inpaint if you want to change something with subtle variation while keeping the general look the same
- Move images back and forth between generation and inpaint windows to refine details iteratively
- Be aware that high-detail elements like cars and people can attract too much attention to a specific zone
Highlights
“This allows you to refine and work on specific details of your image with great detail.”
All demos from “Generate AI Images Without Paying A Dime | Stable Diffusion Tutorial”
3:150:33Generate images with FooocusThe user demonstrates entering a text prompt for 'cats on a window lid' into the Fooocus interface and shows the real-time generation process using the local GPU.Fooocus· Text to Image
4:000:30Adjusting generation settings in FooocusThe demo shows how to access advanced settings in Fooocus to change performance modes (Speed vs. Quality) and the number of images generated per batch.Fooocus· AI Image Generator
5:150:39Prompting for cinematic lightingThe creator demonstrates writing a detailed prompt for a 'cyberpunk city at night' with 'cinematic lighting' and monitors the generation progress in the Fooocus window.Fooocus· Text to Image
6:370:41Upscaling images in FooocusThe user demonstrates the 'Image Upscale' feature by dragging a generated city image into the tool and applying a 1.5x upscale to resolve background details.Fooocus· AI Image Upscaler
7:350:57Inpainting specific image areasCurrentThe demo shows using the brush tool in the Inpaint tab to mask a specific building in an image and regenerate only that section to improve its appearance.Stable Diffusion· AI Inpainting
8:350:37Using Improve Detail and Modify ContentThe creator walks through the 'Improve Detail' and 'Modify Content' modes in Fooocus to increase resolution of background elements and change specific objects like cars.Fooocus· AI Inpainting
11:070:58Image Prompting with PyraCanny and CPDSThe user demonstrates the 'Image Prompt' feature, explaining how to use PyraCanny to map character positions and CPDS for color/contrast matching from a reference image.Stable Diffusion· Image to Image
13:121:10Refining character details with InpaintingThe demo shows a step-by-step refinement of a character's outfit and body structure by masking specific areas and using text prompts to change clothing to 'white battle attire'.Stable Diffusion· AI Inpainting
15:200:30Expanding image canvas (Outpainting)The user demonstrates the 'Content Expansion' tool in Fooocus to convert a portrait image into a landscape format by generating new left and right sections.Fooocus· AI Outpainting- Watch “Generate AI Images Without Paying A Dime | Stable Diffusion Tutorial” →
AI Inpainting
7:350:57Inpainting specific image areasCurrentThe demo shows using the brush tool in the Inpaint tab to mask a specific building in an image and regenerate only that section to improve its appearance.Clear
13:121:10Refining character details with InpaintingThe demo shows a step-by-step refinement of a character's outfit and body structure by masking specific areas and using text prompts to change clothing to 'white battle attire'.Clear
Stable Diffusion