Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the abc-pricing-table domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/blog.opendream.ai/public_html/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ad-inserter domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/blog.opendream.ai/public_html/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the animated-live-wall domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/blog.opendream.ai/public_html/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the portfolio-filter-gallery domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/blog.opendream.ai/public_html/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rank-math domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/blog.opendream.ai/public_html/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the insert-headers-and-footers domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/blog.opendream.ai/public_html/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rank-math domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/blog.opendream.ai/public_html/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rank-math-pro domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/blog.opendream.ai/public_html/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpforms-lite domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/blog.opendream.ai/public_html/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the formula domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/blog.opendream.ai/public_html/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the formula domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/blog.opendream.ai/public_html/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the formula domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/blog.opendream.ai/public_html/wp-includes/functions.php on line 6121

Warning: Cannot modify header information - headers already sent by (output started at /home/blog.opendream.ai/public_html/wp-includes/functions.php:6121) in /home/blog.opendream.ai/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/blog.opendream.ai/public_html/wp-includes/functions.php:6121) in /home/blog.opendream.ai/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/blog.opendream.ai/public_html/wp-includes/functions.php:6121) in /home/blog.opendream.ai/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/blog.opendream.ai/public_html/wp-includes/functions.php:6121) in /home/blog.opendream.ai/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/blog.opendream.ai/public_html/wp-includes/functions.php:6121) in /home/blog.opendream.ai/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/blog.opendream.ai/public_html/wp-includes/functions.php:6121) in /home/blog.opendream.ai/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/blog.opendream.ai/public_html/wp-includes/functions.php:6121) in /home/blog.opendream.ai/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1896

Warning: Cannot modify header information - headers already sent by (output started at /home/blog.opendream.ai/public_html/wp-includes/functions.php:6121) in /home/blog.opendream.ai/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1896
{"id":820,"date":"2023-06-17T04:01:42","date_gmt":"2023-06-17T04:01:42","guid":{"rendered":"https:\/\/blog.opendream.ai\/?p=820"},"modified":"2023-06-17T04:02:22","modified_gmt":"2023-06-17T04:02:22","slug":"how-to-use-outpainting","status":"publish","type":"post","link":"https:\/\/blog.opendream.ai\/how-to-use-outpainting","title":{"rendered":"ow-to-use-outpainting"},"content":{"rendered":"

Are you familiar with Stable Diffusion and its ability to expand images in all directions? This technique, known as outpainting, allows for creating a cohesive background outside the image frame. This article will provide a step-by-step guide on achieving this using the AUTOMATIC1111 GUI. Additionally, we will introduce other painting models that can serve as alternative options.<\/p>\n

Step-By-Step Guide<\/h2>\n

To prepare your image, start by centering it and adjusting its size to landscape orientation using a technique called\u00a0\u201coutpainting.\u201d<\/strong>\u00a0This is the first step in the process.<\/p>\n

Upload Image to AUTOMATIC1111<\/h3>\n

If the image was created using the AUTOMATIC1111 GUI, the prompts and other parameters used for its generation can be found in the metadata of the PNG file.<\/p>\n

To access this information in the AUTOMATIC1111 GUI, go to the PNG Info tab and drag the image from your local storage to the canvas area. The generation parameters should appear on the right-hand side of the screen.<\/p>\n

To send the image and parameters for outpainting, click the\u00a0\u201cSend to img2img\u201d\u00a0<\/strong>button. The appearance and prompt will then appear in the img2img sub-tab of the img2img tab.<\/p>\n

If your starting image was not created using the AUTOMATIC1111 GUI, simply proceed to the img2img tab and upload the image to the canvas area. You must write a prompt that accurately describes the image and style.<\/p>\n

Alternatively, you can use the\u00a0\u201cInterrogate CLIP\u201d\u00a0<\/strong>feature to generate a prompt automatically, but the quality of the prompt may not be optimal in some cases.<\/p>\n

The image was created using the AUTOMATIC1111 GUI<\/em><\/p>\n

Adjust Parameters for Outpainting<\/h3>\n

To get started with outpainting, it\u2019s essential to choose an appropriate model. For consistency in style, it\u2019s best to use the same model to generate the original image. For instance, if you used the F222 model to generate your image, you should use the same model for outpainting.<\/p>\n

If you used the v1.4 or v1.5 base models, or you\u2019re working with a photograph, you could also use the v1 inpainting model. This is supposed to give better results, although I\u2019ve succeeded without using it.<\/p>\n

If you used PNG Info, the image size should have been automatically set correctly. However, for custom images, it\u2019s essential to set the shorter side to the native resolution of the model (e.g., 512 px for v1 models), and adjust the longer side accordingly to maintain the aspect ratio.<\/p>\n

Set the resize mode to crop and resize to ensure the aspect ratio doesn\u2019t change.<\/p>\n

To get different results each time, set the seed to -1.<\/p>\n

The denoising strength can be adjusted to achieve different effects, and you may have fun playing around with this parameter. For now, let\u2019s set it to 0.6.<\/p>\n

You can use your standard text-to-image settings for the rest of the settings. For completeness, here\u2019s what I use:<\/p>\n