First, you will need to generate an image on Stable Diffusion with a prompt. Once that’s done, click on the “Send to img2img” button. Now, to Outpaint:
In the Automatic1111 GUI interface, select the img2img tab.
Scroll down and find the “Script” dropdown and choose “Outpainting mk2.”
You can select the direction you wish to outpaint in: “Left,” “Right,” “Up,” or “Down” boxes.
Use the prompt box to describe what you wish to see in the extended image
Use the slider to set sampling steps between 80 and 100.
Adjust the number of pixels basis desired image quality.
Hit the “Generate” button. And that’s it.