AI-generated images offer convenience but also bring some uncertainties. For instance, AI-generated images often have issues with hand representation. However, regenerating the entire image to fix such details is usually not cost-effective. Inpainting is a method used to solve this problem by selectively editing and correcting the flawed parts of the image.
prompt: haruno sakura, 1girl, solo, looking at viewer, short hair, shirt, closed mouth, green eyes, jacket, upper body, pink hair, flower, hairband, sleeveless, petals, sleeveless shirt, headband, hair intakes, black background, cherry blossoms, red shirt, red jacket, zipper, red hairband, zipper pull tab, forehead protector, sleeveless jacket, konohagakure symbol
The Basis of Inpainting
Firstly, open auto1111 and then click "inpaint" which besides sketch.
Then paint the area you want to improve, for this image the details of right hand should be inpaint.
After that, we should look at the parameter settings.
Mask refers to the area you paint and wish to correct or improve. The area outside the mask is the non-masked area. These areas are managed under the mask mode options: inpaint masked and inpaint not masked.
For the masked content, original means keeping whatever was originally there. The original image is used as input for denoising and redrawing, resulting in an effect close to the original image. Fill refers to filling the masked area with colors from the image. The original image is highly blurred, then denoised, and redrawn, resulting in a more distinct effect from the original.
Latent noise and latent nothing are advanced options and not recommended for beginners.
The whole picture section under inpaint area refers to redrawing the entire image and blending the modified parts back together. Only masked refers to repainting only the masked part and a small area around it separately.
Only masked padding, pixels affect the extraction of the size of the surrounding area in only-masked mode.
Mask blur is used to soften the edges within images, smoothing the transition of the inpainted area into the image.
Remeber to adjust the prompt:
haruno sakura, 1girl, solo, looking at viewer, short hair, shirt, closed mouth, green eyes, jacket, upper body, pink hair, flower, hairband, sleeveless, petals, sleeveless shirt, headband, hair intakes, black background, cherry blossoms, red shirt, red jacket, zipper, red hairband, zipper pull tab, forehead protector, sleeveless jacket, konohagakure symbol, highly detailed hand, five fingers
Then click generate.
Inpaint Sketch Application
Inpaint sketch enhances the flexibility and accuracy of inpainting, allowing for more precise corrections. Let's use this function to improve the hand details.
First, click the palette and choose black.. Then simply draw the shape of the face mask. Finally, click generate to create the new image.
How to download Auto1111
For Users Familiar with Python and Git:
- Download and Install via Git:
- If you have a Python environment set up and are comfortable with Git:
- Clone the Stable Diffusion repository from GitHub using the following command:
- git clone https://github.com/StableDiffusion/StableDiffusion.git
- Navigate into the cloned directory (
StableDiffusion
) and proceed with installation as per the provided documentation.
For Beginners or Those Using an Integration Pack:
- Download and Install Using an Integration Pack:
- Visit the official website of Stable Diffusion or an integration pack provider like auto1111. https://github.com/AUTOMATIC1111/stable-diffusion-webui
- Download the integration package (typically a zip file).
- Use decompression software such as Bandzip or WinRAR to extract the downloaded zip file.
- Or through a cloud service vendor, who generally has Stable diffusion pre-built and setup.
- Setting Up Stable Diffusion:
- Create a new folder on your computer for Stable Diffusion. Ensure the folder path contains only English characters and has sufficient local disk storage.
- Unzip the contents of the downloaded zip file into this new folder.
- Running Stable Diffusion:
- Locate and double-click the
run.bat
file within the Stable Diffusion folder. - Wait for the application to load; this may take a moment.
- The Stable Diffusion WebUI homepage should automatically open in your default web browser.
- Locate and double-click the
- Operating Stable Diffusion:
- Keep the command-line interface (CLI) window open while using the Stable Diffusion WebUI.
- Interact with the WebUI through your browser to generate AI images or perform other tasks.
- Remember to keep the command-line interface running while using the WebUI, and close it when you're done operating in the browser.
Or you could use Mimicpc, all done for you!
https://www.mimicpc.com/?co-from=HN%3Futm_source%3Dstartuptile.com