Install Stable Diffusion Locally (Quick Setup Guide)

Install Stable Diffusion Locally (Quick Setup Guide)

Setting Up and Running Stable Diffusion Locally

In this video, the speaker explains how to set up and run Stable Diffusion locally on a PC. They also discuss the benefits of having a local installation and alternative options for older computers or Mac users.

Benefits of Local Installation

  • With Stable Diffusion installed locally, there are no limits to what you can create.
  • Mid Journey has some restrictions on certain words and content, but with a local installation, you have more freedom.
  • You can use your own trained images in Stable Diffusion by following a previous tutorial on training your face into the AI model.
  • Local installation allows access to additional features like control net, scribble control network, image-to-image setup, instruct picks to picks, and deforum.

Installing Stable Diffusion Locally (PC)

  1. Requirements: A PC with a decent graphics card.
  1. Create accounts: Sign up for free accounts on Hugging Face (huggingface.co) and GitHub (github.com).
  1. Download Git for Windows from getforwindows.org.
  1. Install Git for Windows by launching the installer and following the prompts.
  1. Create a new folder named "AI" on your hard drive.
  1. Open Git Bash (from Git for Windows) and navigate to the AI folder using the cd command.
  1. Clone Automatic 1111's stable diffusion web UI repository from GitHub using the git clone command followed by the repository URL obtained from huggingface.co.
  1. Wait for the installation process to complete.

Downloading Stable Diffusion Files

  • Search for "Stable Diffusion" on Hugging Face's website.
  • Choose the desired model version (e.g., 1.4 original).
  • Download the corresponding weights file (e.g., sdv1-4 ckpt).
  • Note that each model version is about 4GB in size.

Additional Models (Optional)

  • Consider downloading other Stable Diffusion models like 1.5 and 2.1 for experimentation.
  • Each model requires approximately 4GB of storage space.

Summary and Next Steps

The speaker provides a summary of the steps covered so far and suggests downloading additional Stable Diffusion models for further exploration.

Summary

  • Setting up Stable Diffusion locally on a PC allows for unlimited creative possibilities.
  • Install Git for Windows, create an "AI" folder, clone Automatic 1111's stable diffusion web UI repository, and download the desired Stable Diffusion model files from Hugging Face.
  • Consider downloading multiple model versions to experiment with different features.

Next Steps

  • Explore the capabilities of Stable Diffusion by using your own trained images or trying out different control net features.
  • Experiment with other Stable Diffusion models to discover their unique characteristics.
  • Enjoy the limitless possibilities of AI art with Stable Diffusion!

Installing Python and Setting Up the AI Folder

In this section, we will install Python and set up the AI folder.

Installing Python

  • Download and install Python.
  • Close the installation window.

Setting Up the AI Folder

  • Open the AI folder.
  • Navigate to the Stable Diffusion Web UI folder.
  • Open the Models folder.
  • Open the Stable Diffusion folder inside it.
  • Copy and paste the Stable Diffusion 1.4 file into this folder.

Using Your Own Trained Model

  • If you saved your trained model to Google Drive during training, copy it to the models/Stable Diffusion folder as well.

Setting up Stable Diffusion 1.4 and Exploring Other Models

In this section, the speaker discusses the installation of Stable Diffusion 1.4 and introduces other available models.

Installing Stable Diffusion 1.4 and Exploring Other Models

  • The speaker mentions that they previously installed Stable Diffusion 1.4.
  • There are other models available, such as 1.5 and 2.1, which can be explored.
  • Multiple pre-set models are already set up for use.

Generating Watercolor Illustration with Stable Diffusion V3

This section focuses on generating a watercolor illustration using Stable Diffusion V3.

Generating Watercolor Illustration with Stable Diffusion V3

  • Select the model called "Anything V3 Safe Tensors."
  • Choose the sampling method as DDim.
  • Set the batch size to four.
  • Generate a watercolor illustration of a wolf in the forest eating tacos.
  • The generated image is realistic, high definition, and trending on their station.

Fast Image Generation with Stable Diffusion

Here, the speaker highlights how fast image generation is with Stable Diffusion.

Fast Image Generation with Stable Diffusion

  • Image generation is as fast as when done on their computer.
  • The speaker showcases a watercolor drawing of a wolf eating tacos in the forest.
  • Surprisingly, the drawing includes a human hand with the correct number of fingers.

Limitless Image Generation Possibilities with Automatic 11

This section emphasizes that there are no restrictions to image generation possibilities when using Automatic 11 or running on a cloud GPU.

Limitless Image Generation Possibilities with Automatic 11

  • Users can generate anything they can imagine.
  • There are no limitations when using Automatic 11 or a cloud GPU.
  • Various settings can be explored for image generation.

Exploring Cool AI Tools with Stable Diffusion

The speaker discusses their excitement to showcase cool AI tools, such as D4M and Control Net plugins, which require the use of Automatic 11.

Exploring Cool AI Tools with Stable Diffusion

  • The speaker felt restrained on their YouTube channel due to not being able to fully demonstrate the capabilities of tools like D4M and Control Net plugins.
  • These tools require either locally installed Automatic 11 or running it on a Cloud Server.

Enabling More Possibilities with Local Installation or Cloud GPU

This section highlights the advantages of having Stable Diffusion installed locally or running it on a cloud GPU.

Enabling More Possibilities with Local Installation or Cloud GPU

  • Having Stable Diffusion installed locally or running it on a cloud GPU opens up more possibilities for image and video generation.
  • It offers greater flexibility compared to Hugging Face Spaces or Google Collabs.

Sharing the Potential of Stable Diffusion in Automatic 11

The speaker expresses their excitement about sharing the potential of Stable Diffusion in Automatic 11 through this tutorial.

Sharing the Potential of Stable Diffusion in Automatic 11

  • The tutorial serves as a resource for viewers to learn how to install and utilize Stable Diffusion in Automatic 11.
  • It opens up a world of possibilities for generating images and videos using Stable Diffusion.
  • The speaker plans to create more videos diving into the capabilities of Stable Diffusion.

Future Tools for AI Enthusiasts

The speaker introduces Future Tools, a platform where they curate and share cool AI tools.

Future Tools for AI Enthusiasts

  • Future Tools is a platform curated by the speaker.
  • It features a collection of the coolest tools they come across, with 10 to 20 new tools added daily.
  • Users can explore various AI tools, including those personally recommended by the speaker.

Simplifying Tool Selection with Matt's Picks and Newsletter

This section highlights options for simplifying tool selection on Future Tools.

Simplifying Tool Selection with Matt's Picks and Newsletter

  • Users can access "Matt's Picks" on Future Tools, which narrows down the tool selection to 132 recommended tools.
  • For those seeking even fewer options, joining the free newsletter provides a TL;DR of weekly AI updates and the speaker's five favorite tools.
  • These options cater to different preferences in tool exploration.

Timestamps are approximate and may vary slightly.

Video description

In this video I'm going to walk you through how to install Stable Diffusion locally on your computer as well as how to run a cloud install if your computer isn't quite up to par to run Stable Diffusion. Once you have Stable Diffusion installed, it opens up so many possibilities. You can run ControlNet, use your own models, make videos with Deforum, and much more! Resources: Hugging Face: https://huggingface.co GitHub: https://github.com Stable Diffusion Model: https://huggingface.co/CompVis/stable-diffusion-v-1-4-original GitHub Install Link: https://github.com/AUTOMATIC1111/stable-diffusion-webui RunDiffusion: https://www.futuretools.io/tools/rundiffusion 🛠️ Explore hundreds of AI Tools: https://futuretools.io/ 📰 Weekly Newsletter: https://www.futuretools.io/newsletter 😊 Discord Community: https://futuretools.io/discord 🐤 Follow me on Twitter: https://twitter.com/mreflow 🐺 My personal blog: https://mattwolfe.com/ 🌯 Buy me a burrito: https://ko-fi.com/mattwolfe 🍭 My Backgrounds: https://www.futuretools.io/desktop-backgrounds Outro music generated by Mubert https://mubert.com/render #AIArt #StableDiffusion #generativeart