Inpaint is the technique of “painting” changes into a specific area into a picture with AI. You don’t need additional software to paint the mask, draw directly into the browser. This feature is currently in beta.
Video: How to use inpaint | Watch it on Youtube
Consider the image below. A specific region of an image is “masked”, and then the AI then fills in the blanks, seamlessly.
Inpaint the best way to fix little problems like glitched hands, unwanted text, and other minor details without changing the entire picture. Simply select the problem region, and prompt into it. A lot of NSFW Stable Diffusion guides will tell you it’s the easiest way to move pesky things, like clothing.
Inpaint is also incredible for adding complexity to an image. Consider the two images below: You can begin with a lush detailed background and inpaint characters exactly where you want them into the scene.
First, render an image. Try this prompt:
/render /sampler:dpm2m /steps:75 /guidance:7.5 /portrait 8kUHD, award winning photography, light art by Daniel muller, raw, 23yo, brunette, swedish woman, happy, gorgeous face, highly detailed facial features, technicolor erotic body lighting, beautiful body proportions, sweater, high detailed skin, realistic skin texture, realistic colorful light patterns on body, real hair movement, 16k, dslr, sony a7 mark iv, (beautiful lights on naked body, silhouette), euphoric, (dynamic shadows), (erotic body lighting) [[[nsfw, Sketch, painting, cartoon, anime, animation, cgi, rendered, doll, lifeless, sad, depressing]]] <realvis20>
Five images will appear. Select the one you like by reply to it, and Reply with what you’d like to change about the image. In this case, let’s go for an outfit change without changing the face.
/inpaint a woman wearing a black silk dress, luxurious diamond necklace
Don’t worry too much about getting your prompt perfectly yet, you’ll have one more chance. You can edit this in the next step if you change your mind. Let’s try changing her outfit to something else.
A dynamic link to open the inpainting web app will immediately appear. Click on that and you’re taking to the mask painting screen.
The “Edit Inpaint” browser allows you to select the AI model on the left, expand positive and negative prompts (click refine inpaint prompt), and draw where you want your changes with a brush. Check our models page to get familiar with what these code names mean. This soon becomes second nature.
As this is a realistic image, we’ll go with URPM13-Inpainting.
Last step: Refine your prompt, paint over the area with your finger or mouse cursor, and click the inpaint button. You can then close the window.
Finished inpainted images should look seamless. Inpaint is amazing!
Uploading your own photos instead of using AI images?
It’s unofficially supported using the facelift method, as well as quasi-outpainting. Please do not use other people’s photos without consent, distribute “deepfake” images, and so on. Personal use is fine, of course.
Images around 768×768 work best, then /facelift to upscale 4x.
Wrong art style?
If the results do not look realistic or in the art style of the original image, try a different model from the selection menu. We’re adding more models soon, please contact @admin in telegram to request a model we don’t have.
Can I keep her face exactly the same, but…?
Yes, of course. You mean a mustache, surely.