top of page
1/5
DangerGirls_008.jpg

Danger
GirL 

x

Danger Girl X Box Logo

Real girls, shaped by real experiences, form the heart of the DangerVerse: a mature, neo-noir cinematic universe teeming with captivating narratives and danger.

MaximMagazineCover(whiteBorders)_edited_edited.jpg

How to Upscale to any resolution using the Power of ControlNet's Tile and Ultimate SD Upscale

Updated: Aug 26


Portrait of woman in red getting upscaled
Upscale using ControlNet Tile + Ultimate SD Upscale

How to Upscale your Images, using ControlNet's Tile Preprocessor and Ultimate SD Upscaler


Ever tried to transform your favorite small image into a massive printable billboard, only to be met with unnatural smoothness, loss of details, or quirky artifacts? If you've tried tools like Photoshop or GigaPixel, you know the results can be hit-or-miss, with the "hits" often still lacking in interpolated details. We've all felt that frustration. In this guide, we will learn how to upscale using ControlNet. The trick to pristine upscaling lies in a tech duo: ControlNet's Tile model combined with Ultimate SD Upscale. This power combo certifies your upscaled images don't just get bigger but get brilliantly better with new realistic and natural looking details.


Ditch those fuzzy results; Learn how AI can make your photos pop in high resolution!

I've scoured expert opinions, gathered data, and boiled it all down to give you the clearest, most practical advice on using these tools. .

 

Table of Contents:

  1. How do you upscale using stable diffusion?

  2. What does ControlNet Tile do?

  3. How do you upscale using stable diffusion?

  4. Installing the Tools: a. How to Install Stable Diffusion and ControlNet b. How to Install Ultimate SD Upscale: c. 4x UltraSharp installation d. Installing Extensions from GitHub Desktop App (Optional)

  5. Using the Upscalers: a. How to set up ControlNet Tile Preprocessor b. How to set up Ultimate SD Upscaler

  6. Upscale your Images

  7. Resolution Comparisons

  8. How to Use the Stepping Method

 

How do you upscale using stable diffusion?


Upscaling to any desired resolution is a breeze with ControlNet's Tile. At its core, this tool segments an image into manageable tiles, optimizing each for precision before merging them into a high-resolution masterpiece. While ControlNet Tile lays the foundation for clear and detailed upscaling, introducing the power of Stable Diffusion and the Ultimate SD Upscaler further elevates the quality.


Wondering exactly how ControlNet Tile transforms your images? Or curious about the mechanics behind Stable Diffusion? Keep reading the following sections to understand the process and learn how these tools synergize to create unparalleled upscaling results.


What does ControlNet Tile do?


At its core, ControlNet Tile operates like an intelligent tiling system. Rather than arbitrarily enlarging your image, it carefully assesses and accurately replicates every tiny section in 512x512 chunks. By working on these manageable pieces, it can pay attention to the intricacies of each segment. When these sections are finally pieced together, the end result is a larger image that hasn't lost any detail. In fact, with the additional power of text-driven guidance, it often introduces new, harmonious details. So, instead of a simple upscale, what you get is an image that not only retains but often surpasses the original's clarity and vibrance. I've tried to incorporate a clearer understanding of the process while maintaining a reader-friendly tone.


How do you upscale using stable diffusion?


Upscaling in Automatic1111 is akin to tailoring a custom suit - there are several tools and techniques at your disposal. Within A1111, you have a roster of built-in upscaler tools and the Hires.fix method to boost resolution. But the catch: many of these tools demand a GPU that packs a punch. If you're wielding a GTX 1080 card, some methods could have your PC gasping for breath. With the ControlNet Tiles preprocessor, categorized as a Control Type, those with modest PCs are no longer left behind, yet it's still a gem for the powerhouse Stable Diffusion users.


When paired with the Ultimate SD Upscaler, this dynamic duo ensures expansive, intricately detailed images, sidestepping the common distortions or oddities that sometimes pop up in aggressive upscaling. Bid farewell to unexpected third limbs and mirrored oddities, ushering in a refined and detail-rich upscaling process.


Installing Ultimate SD Upscaler
Click to Enlarge

Installing the Tools

  1. How to Install Stable Diffusion and ControlNet: We've previously discussed how to install Stable Diffusion and ControlNet, for specifics of installing these tools. Go to the following links below: a. Prerequisites Installation Guide to Stable Diffusion's Web UI b. How to Install Automatic1111 Web UI for Stable Diffusion c. How to Install ControlNet Automatic1111: A Comprehensive Guide

  2. How to Install Ultimate SD Upscale: a. Navigate to Extensions in A1111 Stable Diffusion Web UI. b. Click on Load, then the Available Tab. c. Select Load From. d. Use the search bar to find "Ultimate SD Upscaler". e. Click Install under Action. f. Move to the Install Tab, hit Apply and then restart UI.

  3. For optimal upscaling, the 4x UltraSharp installation is recommended. If you haven't already installed it, here's what you need to do: a. Choose a Download Source: Both the links provided offer the same file, though I suggest opting for the Hugging Face link. Download 1 - Civitai UltraSharp labeled as 4xUltrasharp_4xUltrasharpV10 Download 2 - Hugging Face UltraSharp named 4x-UltraSharp b. Download & Locate: Once downloaded, locate the files. c. Installation: Move the files to your A1111 installation path, specifically: A1111 Installation > Models > ESRGAN Folder.

  4. Optional and Organized method: Installing Extensions from GitHub Desktop App If you're keen on a hands-on approach, GitHub Desktop offers an alternative installation method. Explore the detailed steps here or directly head to the repository here.

 

Using the Upscalers:


To upscale images using Stable Diffusion, it's essential to navigate to the "img2img2" setting, where the "Ultimate SD upscale" extension is accessible from the "Scripts" pull-down menu. If it's not immediately visible, a quick restart of Stable Diffusion often rectifies this.


A pivotal setting is the Control Mode, especially the "ControlNet is more important" option, which significantly influences the image's final appearance. It's also crucial to adjust the "Target size type" to "Scale to Image Size", which bypasses specific parameters like Width and Height.


The desired scale usually ranges between 2 and 4, with the upscaler set to the 4x-UltraSharp Model for optimal results. While several settings like Type and Seams Fix can be tailored according to personal preference, it's noteworthy that using ControlNet Tile maintains much of the original image's integrity.


Adjusting the denoising strength and the scale can modify the details and render time, offering users a versatile upscaling experience. Follow the steps below for a streamlined process on how to use it.


How to set up ControlNet Tile Preprocessor


1. Mode Selection:

  • Switch to "img2img" mode (this process is not applicable in "txt2img").

image to image tab in stable diffusion
Click to Enlarge

2. Go to the "ControlNet" dropdown:


  • Upload your source image to upscale.

  • Click "Enable". Ensure this is active to avoid anomalies like visible grids.

  • In Control Type, click "Tile" (This should select the "tile_resample" preprocessor.

  • In Control Mode, click "ControlNet is more important" (This is important, but play around around with it to see how it changes your images.)

  • In Resize Mode, click the one that most applies to you. It is based on the size of your image, so play around with it.

Settings for ControlNet Preprocessor Upscaling Technique
Click to Enlarge

How to set up Ultimate SD Upscaler


Go to the "Scripts" dropdown.

  • Choose "Ultimate SD upscale". (If it’s missing, restart Stable Diffusion.)

  • In Target size type, select "Scale from image size" Selecting "Scale to Image Size" bypasses the preceding parameters specific to "img2img2", such as Width, Height, and other related adjustments.

  • Scale: Ideally, pick a value between 2-4. More if you plan on doing something massive, but I have a better trick than increasing the Scale below. Each number represents a multiplier: 1 corresponds to x1, 2 to x2, and so on.

  • In Upscaler, click "4x-UltraSharp."

  • Type: Set to "Linear". You can later experiment with other types like "chest".

  • Seam Adjustments: Opt for "none" to avoid visible seams.

Setting Up the Ultimate SD Upscaler
Click to Enlarge

Upscale your Images

  1. Ensure all settings are properly configured as previously discussed.

  2. Navigate to the img2img tab.

  3. Drag and drop or upload the desired image you wish to upscale.

  4. Make any final adjustments if necessary.

  5. Click on the Generate button to begin the upscaling process.

Automatic1111 generate button
Hit Generate

To provide a clearer understanding of each feature's impact, we've conducted split tests using the methods previously discussed. Here, you can observe the results when each feature is applied individually, as well as when they are combined. This will help you gauge the effectiveness of each technique and decide on the optimal approach for your upscaling needs.


Resolution Comparisons

Beautiful Chinese Princess Resolution Comparison
Click to Enlarge

Ultimate SD Upscale + Denoising Strength


In a resolution test using only the Ultimate SD Upscaler without ControlNet, distinct deformations appeared throughout the image. This is attributed to the upscaler's method of processing in tiles, rendering separate image sections which can sometimes misalign due to each section's independent generation. Nevertheless, the upscaling's clarity is commendable. To discern the nuanced differences between resolutions of 1024x1024 and 2048x2048, a closer inspection is required, but the heightened sharpness is unmistakable. For these tests, scales of 2 and 4 were applied for the 1024 and 2048 resolutions, respectively.


Beautiful Chinese princess resolution comparison
Click to Enlarge


Manual Image Resize and Denoising Strength


In the subsequent experiment, both ControlNet and Ultimate SD Upscaler were deactivated. Instead, the image dimensions were manually adjusted to 1024x1024, with denoising strengths set at 0.2 and 0.5 for evaluation.


At the 0.2 denoising strength, the image, though technically upscaled, seemingly retained its original appearance, exhibiting pixelation characteristic of its initial low resolution. This is attributed to the conservative nature of the 0.2 denoising strength, which closely replicates the source's attributes, preserving the inherent low resolution. Conversely, at a denoising strength of 0.5, the pixelation diminishes, yielding a more refined, albeit softer, image. However, this technique compromises the subject's authenticity, rendering it markedly different from the original. While this method might produce aesthetically pleasing results, it doesn't suffice for genuine upscaling that preserves the original's essence. Although the softer touch can be appealing for certain images, it's not the desired outcome for this specific assessment.



ControlNet Tile Preprocessor + Ultimate SD Upscaler + 4x UltraSharp

Beautiful Chinese princess resolution comparison
Click to Enlarge

Leveraging the combined strength of ControlNet and the Tiling preprocessor provides users with enhanced control over the upscaling process using the Ultimate SD Upscaler. Notably, even with increased denoising, the changes aren't overly dramatic, but for optimal results, it's advisable to maintain denoising at approximately 0.2. This synergy of techniques produces an upscale quality previously unattainable with conventional tools, showcasing remarkable enhancement in image resolution and detail.


3 upscaling methods for stable diffusion
Click to Enlarge

Utilizing the stepping method with ControlNet and the Ultimate Upscaler involves a layered approach to upscaling. In this technique, once an image is upscaled, it is then reintroduced to the upscaler for another round of enhancement. We aim to contrast this method against a direct upscale approach, where the scale is simply set to 6. By comparing a base image of 512x512 against its upscaled 4080 version using both methods, we aim to discern which technique offers superior image quality and clarity, assessing if the iterative stepping method offers any distinct advantage over a straightforward scale increase.

Winner: The Stepping Method.

Pay attention to the intricacies - the fine details of the eyelashes, the textural richness in the cheeks, and the authentic appearance of the eyes. When using a scale level of 8, some unnatural sharpening emerges. However, by employing the regeneration approach detailed below, one can achieve a more refined result when utilizing ControlNet, Tile Preprocessor, Ultimate SD Upscaler, and 4x-UltraSharp together.


How to Use the Stepping Method

Stepping method upscale in stable diffusion
Click to Enlarge

The Stepping Method is an iterative approach to upscaling that can often yield superior results by refining the image quality at each stage. Here's how you can implement this technique:

  1. Initial Setup: Begin with your source image and ensure the scale is set to 2 within your upscaling software.

  2. First Upscale: Generate your upscaled image using your desired settings.

  3. Reintroduce the Upscaled Image: Once your image is upscaled, take the resulting generated image (which will typically appear on the right side of your software interface) and drag it to the left side. This effectively makes the newly upscaled image your new source. Alternatively, you can save the upscaled image and upload it again as the source.

  4. Repeat the Process: Continue the upscaling process by generating the image again. Essentially, you're using the upscaled image from the previous step and upscaling it further.

  5. Iterative Enhancement: Repeat steps 3 and 4 as many times as necessary to achieve your desired resolution and clarity.

By adopting the Stepping Method, users often find that they can achieve a more refined and detailed image than with a single upscale. This is due to the compounded enhancements made during each iterative step.


Recycling Steps to increase resolution in Stable Diffusion
Click to Enlarge

 

Got a question or Requests? Leave a comment below to let me know if this information becomes outdated. I will do my best to keep this blog updated as time goes on.

Stay up to date with what's happening with Stability AI and Stable Diffusion.

 

The ControlNet Blueprint:


Learn how to use Stable Diffusion and much more. Visit the link below-



1,967 views0 comments
Kate-Polaroid_Chair-Pose.jpg

Are you an influential force seeking powerful collaborations? Or perhaps an emerging athlete, eager to etch your story?

Polaroids raining on a fitness model in white lingerie.jpg

Thanks for subscribing!

DangerGirlX_Banner
bottom of page