👨‍🏫 Tutorial Stable Diffusion AI: Automatic1111 Beginner's Guide

Myexistence

Honorary Poster
Interested in learning Stable Diffusion? This guide is perfect for those who have no prior experience with Stable Diffusion or other AI image generators.

You'll receive an introduction to Stable Diffusion and some essential tips for utilizing it effectively.

Stable Diffusion AI​

Stable Diffusion AI is a latent diffusion AI model that produces visually appealing images. These images can range from photorealistic ones resembling camera captures to artistic creations reminiscent of professional artwork.

The best part? It's freely accessible to everyone and designed for speed—yes, you can even run it on your own computer.

Getting Started with Image Generation​

Online Generator​

For absolute beginners, I recommend using the user-friendly online generator. You can start generating images without the need for a complicated setup.

Advanced GUI​

However, if you outgrow the limitations of free online generators, you can explore a more advanced Graphical User Interface (GUI). AUTOMATIC1111 is a powerful and popular option that I personally use.

Running it on your PC is also a viable choice, especially if you have a decent NVIDIA GPU with at least 4GB VRAM.

Why Use an Advanced GUI? A Plethora of Tools at Your Disposal
With an advanced GUI, you gain access to a wide array of tools, including:
  • Advanced prompting techniques
  • Inpainting to regenerate specific parts of an image
  • Image-to-image generation based on an input image
  • Image editing by providing instructions

How to Run Automatic1111 on Google Colab?​

Step 1: Open the Google Colab Notebook (the most stable notebook for the free tier version).

You do not have permission to view the full content of this post. Log in or register now.


Step 2: Sign in to your Google Account to run this notebook.

Step 3: Click the Connect button in the top right corner to establish a connection.

Step 4: Once the notebook is connected, configure the following options before running it:
  • Choose the desired model from the Choose Model section (I recommend RevAnimated v.1.2.1).
  • Uncheck additional networks in the Extension section (not needed for now).
  • Leave the remaining settings as default.

Step 4: Click the Play button and scroll down until you reach the log section. Wait a few minutes until you see the link below.

Global_Nightly_webui_colab-ipynb-Colaboratory.webp


Step 5: Click the first link to access the Automatic1111 GUI.

Stable-Diffusion.webp


Step 6: Congratulations, you're all set up!

How to Use Automatic1111 Stable Diffusion?​


Step 1: Select your preferred Stable Diffusion Model (since we chose Rev Animated v.1.2.1, it's the default model we'll use).

1 Stable-Diffusion checkpoint.webp


Step 2: Adjust Clip Skip to 2.

2 Clip Skip.webp


Step 3: Enter your prompt.

Spoiler contents are visible only to Established Members.

Step 4: Provide a negative prompt.

Spoiler contents are visible only to Established Members.

Step 5: Customize the following settings to your preference:
- Sampling method: DPM++v SDE Karras

5 sampling method.webp


- Sampling steps: Choose between 20 to 30

6 sampling steps.webp


- Set the image's width and height: 512 x 512, 512 x 768, or 540 x 960

7 size.webp


- For multiple images in one go, adjust the batch count accordingly.

8 batch count.webp


- Set CFG scale between 6 to 8.

9 cfg scale.webp


Step 6: Click the generate button.

Step 7: Wait for the image to be generated, and voila!

00032-1456346610.webp


Step 8: If you're satisfied with the result, you can save the image by clicking the save button below and then download it.

Enjoy the Art of Image Generation!
 

About this Thread

  • 142
    Replies
  • 15K
    Views
  • 39
    Participants
Last reply from:
nekochaaan

Online now

Members online
489
Guests online
813
Total visitors
1,302

Forum statistics

Threads
2,272,189
Posts
28,940,866
Members
1,238,066
Latest member
Yuhai9
Back
Top