getimg.ai
Pricing
Log in

Guide to Stable Diffusion Outpainting

Explore our comprehensive guide to Stable Diffusion outpainting and see how AI can help you expand beyond existing borders using simple text prompts.

What is Stable Diffusion outpainting?

Outpainting enables you to create anything you can imagine outside the original borders of any picture. i.e., you can expand images beyond their original borders with the power of an AI.

So, whether you start from photos, paintings, or AI-generated art, you can expand images using just a text prompt to match the original's style and colors. This feature is available in the AI Canvas tool.

Using Stable Diffusion outpainting: a step-by-step guide

Let's see a simple example of how outpainting works. We'll use a stock landscape photo as a base, but you can also use this feature to expand paintings, digital art, and more.

Step 1. Head to AI Canvas and upload a photo

First, create a new project and upload the picture onto the canvas. You can upload a file from your device or reuse an image from AI Generator or the Gallery.

After uploading, zoom out a little to leave some space for outpainting.

In our case, the original photo shows a landscape of mountains and trees. Let's make it larger by generating more of the scenario outside the original borders.

Step 2. Position the Generation Frame

Position the Generation Frame in the right place. No matter which side you want to expand, ensure that at least 20% of the 'generation frame' contains the base image, so the style can match the original.

There is no hard rule here. The more area of the original image is covered, the better the match. On the other hand, the less space covered, the more unexpected results will be generated.

Step 3. Write a prompt and generate

The next critical step is to imagine what you want to see outside its boundaries. Ensure the "Out/Inpaint" mode is selected, and write your prompt. The more descriptive you are, the better.

In this case, for demonstration purposes, we will write "mountains, forest".

Under the prompt window, you can tweak the generation parameters, including the model used for outpainting, the negative prompt, steps, seed, CFG scale, and how many images will be created. If you don't want to experiment with generation parameters, leave them at the default values.

Then, click "Generate" and wait for the process to finish. Afterward, you can switch between different versions of the generated image to select the best one.

AI outpainting: an advanced example

This feature is just magical, isn't it? But that's just a simple example. Creating complex art with AI outpainting takes time and a lot of tries, errors, and learning.

Take a look at a more complex workflow, creating "magical forest" artwork only from text prompts. We sped up the video to show what's possible:

getimg.ai's Stable Diffusion outpainting enables you to create your art in any direction your imagination leads. You have infinite possibilities, as there is no limit to the final picture size. It's all about your creativity.

When you create something you are proud of, feel free to share your art on our Discord channel or social media!

Frequently Asked Questions

How does Stable Diffusion outpainting work?

Outpainting works by taking an existing image and extending it in any direction. You position a frame around the area to expand and provide a text prompt to guide what gets added.

Can I use outpainting on any type of image?

Yes, you can use outpainting on photos, paintings, digital art, or any other type of image to creatively expand the scene beyond its initial boundaries.

How should I position the frame for outpainting?

Position the generation frame so that at least 20% of it overlaps with the original image to get the best results.