카테고리 없음

A Step-by-Step Guide to Installing Stable Diffusion WebUI on Your PC

posttistory 2023. 7. 13.
반응형

A Step-by-Step Guide to Installing Stable Diffusion WebUI on Your PC

Stable Diffusion WebUI is a popular tool utilized for AI image deep learning. It is an open-source software that offers various installation files, extensions, and model files. Today, let's explore the installation process of the widely used Stable Diffusion WebUI on your Windows-based PC. While Linux and macOS have their own installation methods, we will focus on installing it on your personal computer.

 

1. Understanding Stable Diffusion Versions and Differences

Before diving into the installation process, it's important to understand the different versions of Stable Diffusion:

 

sd1.5 Version: This version is the most widely used one as it offers unrestricted prompts.

sd2.0 Version: Due to exposure level issues during image generation, certain prompt limitations were implemented in this version.

sd2.1 Version: It is an improved version that addresses the prompt limitations introduced in the sd2.0 version.

SDXL Beta Version: The latest version, still in beta at the time of writing this article, with limited public information available.

Note that model data from the 2.0 version may not be compatible with the 1.5 version. Ensure that you verify the compatibility when downloading the model files.

 

2. Downloading Necessary Files for Stable Diffusion WebUI

Before proceeding with the installation, you need to determine the installation and execution folder for Stable Diffusion. It is recommended to create a folder on an additional drive (e.g., D drive) to avoid filling up your primary drive (usually C drive) quickly. Create a folder with a suitable name in English, such as "sd" or "pro," for better understanding.

 

You can download the Stable Diffusion WebUI from the following site:

 

Stable Diffusion WebUI Download Site

Unlike other programs, you don't need to download Stable Diffusion WebUI in advance. Let's first understand the installation process.

 

1) Python Installation

In the image provided, you can see that there are two files you need to download and install. Click on the link provided, and it will redirect you to a separate download site.

 

Make sure to download and install Python version 3.10.6. Installing a different version may cause issues with Stable Diffusion installation. The installation process is straightforward, requiring no specific customization.

 

2) Git Installation

Although the translation might indicate "installing children," it actually refers to installing Git. Clicking on the link will guide you through the Git installation process. Install the latest version of Git without any additional configurations. Git is necessary for executing the source code available on GitHub.

 

3) Installing Stable Diffusion WebUI

To install Stable Diffusion, you need to call the "Command Prompt" window. To open this terminal window, type "CMD" in the Windows search bar, and the Command Prompt window will appear.

 

The Command Prompt is similar to the old MS-DOS prompt, which may not be familiar to everyone. Here are some basic usage instructions to help you navigate through directories and execute commands:

 

Changing the drive: Enter the drive name followed by Enter (e.g., D: to switch to the D drive).

Changing the folder: Enter "cd folder name" followed by Enter (e.g., cd sd to navigate to the sd folder within the current drive).

Now, to install Stable Diffusion WebUI, execute the Windows CMD terminal as follows: First, navigate to the desired drive by typing the drive letter (e.g., D:) and pressing Enter. Then, move to the folder you created for installation by typing "cd folder name" (e.g., cd sd) and pressing Enter. Once you're in the appropriate folder, enter the command "git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git" (you can copy and paste it from the website) and press Enter.

 

Command Sequence:

C:\Users\Your_Account_Name> <- This is how the prompt appears (\ represents the path, which may differ between web and PC screens).

C:\Users\Your_Account_Name>D: <- Type this command and press Enter to switch to the D drive.

D:>cd sd <- Type this command to navigate to the desired folder within the current drive.

d:\sd>git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git <- Enter this command and wait for the execution to complete (in case of incorrect Python or Git installation, you may encounter errors and need to uninstall and reinstall everything).

 

4) Running Stable Diffusion WebUI

After the installation is complete, a similar screen to the one shown above will appear. Depending on your computer's specifications, you may need to wait a bit for the URL to be displayed. Now, copy the URL from the terminal and paste it into the address bar of your web browser. This URL is specific to your computer and is typically http://127.0.0.1:7860. You don't need to memorize it since you can copy it from the terminal to the browser.

 

Once you enter the URL in the address bar and hit Enter, the Stable Diffusion WebUI interface will open in your browser (e.g., Chrome or Edge).

 

To avoid the hassle of finding the folder and executing the file each time, you can create a shortcut on your desktop for easier access.

 

The installation process may seem unfamiliar due to its differences from other programs, but it's not particularly complicated. We have summarized the installation steps to help you through the process.

 

Using Stable Diffusion Models with Webtoons

Once you have successfully installed Stable Diffusion, let's explore how to load and use models. When you initially launch Stable Diffusion, it will load the default model named "v1-5-pruned-emaonly." You can explore various models and their features to enhance your creative endeavors.

 

[Installation Video for Stable Diffusion]

 

Feel free to experiment and unleash your creativity with Stable Diffusion WebUI!

 

If you're interested in learning more about AI and other technology-related topics, visit The Insider's Views for insightful articles.

 

Keywords: Stable Diffusion WebUI, installation guide, step-by-step, Python, Git, model files, webtoons, AI image generation

 

 

 

Installing Stable Diffusion WebUI on Your PC

반응형

댓글

💲 추천 글