Install Stable Diffusion Locally (Quick Setup Guide)

Matt Wolfe
20 Feb 202314:02

TLDRThis video tutorial guides viewers on setting up and running Stable Diffusion, an AI art generation tool, both locally on a PC and in the cloud. It highlights the benefits of local installation, such as unrestricted content creation and the ability to use custom-trained images. The video also offers an alternative cloud-based solution for those with older computers or Macs, demonstrating the process of installation and usage with detailed steps. The host shares tips on experimenting with various settings for unique results and mentions upcoming content exploring more advanced features and applications of Stable Diffusion.


  • 🖥️ Setting up Stable Diffusion locally on a PC allows for unlimited creative possibilities with AI art, without restrictions.
  • 🌐 If you have an older computer or a Mac, running Stable Diffusion in the cloud through services like Hugging Face or Run Diffusion is a viable alternative.
  • 🎨 With local installation, you can use your own trained images and explore various control net features, such as pose modeling and scribble control.
  • 📂 To begin, create an account on Hugging Face and GitHub, and download the necessary software like Get for Windows and Python.
  • 🔗 Clone the Stable Diffusion Web UI repository from GitHub and install the automatic 1111 user interface.
  • 🚀 Download the Stable Diffusion model files from Hugging Face, with the 1.4 original being a commonly used version.
  • 💻 Install Python on your computer and place the downloaded Stable Diffusion checkpoints in the appropriate folder within the Stable Diffusion Web UI directory.
  • 🎮 Run the web UI user script to initiate the Stable Diffusion interface, which may take around 30 minutes to complete the setup.
  • 💡 Experiment with different settings within Stable Diffusion, such as sampling steps, methods, and CFG scales, to achieve varied results.
  • 🌍 Run Diffusion offers a cloud-based solution for those without a capable local GPU, with different pricing tiers based on generation speed.
  • 🚀 With the knowledge from this tutorial, users can explore a wide range of creative applications for Stable Diffusion, beyond what is typically available on platforms like Hugging Face Spaces or Google Colab.

Q & A

  • What is the main topic of the video?

    -The main topic of the video is about setting up and running Stable Diffusion, an AI art generation tool, both locally on a PC and in the cloud.

  • Why would someone want to have Stable Diffusion installed on their own computer?

    -Having Stable Diffusion installed locally allows users to create anything they want without restrictions, use their own trained images, and access advanced control net features, which may not be available on platforms like Hugging Face or Google Colab.

  • What are some of the benefits of running Stable Diffusion locally?

    -Local installation of Stable Diffusion enables users to bypass content restrictions, create images with custom models, utilize control net features like pose modeling and scribble control, and generate videos using the software without limitations.

  • What are the system requirements for running Stable Diffusion locally?

    -To run Stable Diffusion locally, one needs a PC with a decent graphics card. For those with older computers or Macs, an alternative cloud-based solution is provided.

  • How does one set up Stable Diffusion on a PC?

    -To set up Stable Diffusion on a PC, one needs to create an account on Hugging Face, install Git for Windows, clone the 'automatic 1111' repository from GitHub, download the Stable Diffusion model files, install Python, and run the 'web ui-user.bat' script from the 'stable diffusion web UI' folder.

  • What is the process for downloading and using the Stable Diffusion models?

    -Users need to go to Hugging Face, search for Stable Diffusion, choose a model version (e.g., 1.4 original), download the corresponding '.ckpt' file, and place it in the 'models' folder within the 'stable diffusion web UI' directory.

  • What is the alternative for users who don't have a PC or a strong enough GPU?

    -For users without a capable PC or GPU, an alternative is to use 'run diffusion', a cloud-based service found at, which charges a small fee per hour and allows users to run Stable Diffusion on cloud-based GPUs and computers.

  • How does the 'run diffusion' service work?

    -The 'run diffusion' service allows users to run Stable Diffusion on cloud-based GPUs without the need for local installation. Users select a GPU type based on their budget and desired image generation speed, start a session, and access the Stable Diffusion interface in a web browser to generate images.

  • What are some of the settings that can be adjusted in Stable Diffusion?

    -In Stable Diffusion, users can adjust settings such as batch size, sampling steps, sampling methods (e.g., ddim), and CFG scale to control the output and style of the generated images.

  • What is the significance of the 'ddim' sampling method in Stable Diffusion?

    -The 'ddim' sampling method is a technique used in Stable Diffusion that can produce high-quality and varied results. It's one of the options recommended by the video creator for achieving interesting and diverse image outputs.

  • How does the video creator plan to use Stable Diffusion in future content?

    -The video creator intends to explore and showcase various capabilities of Stable Diffusion, such as creating animated videos with AI (d4m), using control net plugins for specific poses, and the control net scribble feature for modeling drawings, in future videos and content.

  • Where can viewers find more AI tools and resources similar to Stable Diffusion?

    -Viewers can visit 'Future Tools' (, a curated website by the video creator, where new AI tools are added daily. There are also options to narrow down to the most frequently used tools or subscribe to a newsletter for weekly AI updates.



🖥️ Setting Up Stable Diffusion Locally and in the Cloud

This paragraph introduces the video's purpose, which is to guide viewers on how to set up and run Stable Diffusion on a PC and in the cloud. It emphasizes the benefits of having Stable Diffusion installed locally, such as creating unrestricted AI art, using personal trained images, and utilizing advanced control features. The speaker also mentions the limitations when using platforms like Mid Journey and explains that local installation or cloud alternatives can overcome these restrictions.


💻 Local Installation Process and Alternatives for Non-PC Users

The speaker provides a step-by-step guide on how to install Stable Diffusion locally, including creating an account on Hugging Face and GitHub, downloading necessary software, and setting up a local folder structure. It also explains how to clone the Stable Diffusion web UI and download the model files from Hugging Face. For those without a PC or a capable graphics card, the speaker suggests using a cloud service called Run Diffusion, which offers a paid hourly service to run Stable Diffusion on their servers.


🎨 Exploring Stable Diffusion's Capabilities and Customization

This paragraph delves into the various features and settings available within Stable Diffusion, such as generating images with different styles, using control nets for poses and scribbles, and creating videos with AI. The speaker shares their personal preferences for certain settings and encourages viewers to experiment with the options. They also mention the availability of different models within the cloud-based service, allowing users to explore various versions of Stable Diffusion.



💡Stable Diffusion

Stable Diffusion is an AI model that generates images from textual descriptions. It is a form of artificial intelligence that uses deep learning techniques to create visual content. In the video, the primary focus is on setting up and running Stable Diffusion locally on a PC or through cloud services, which allows users to create a wide range of AI-generated art without restrictions.

💡Local Installation

Local installation refers to the process of downloading and setting up software or applications directly on a user's personal computer. In the context of the video, local installation of Stable Diffusion is highlighted as a way to unlock unlimited creative potential with AI art, without the restrictions that may be present on certain platforms.

💡Cloud Computing

Cloud computing is the delivery of computing services, such as processing power, storage, and software, over the internet rather than through physical hardware on premises. In the video, the presenter discusses an alternative to local installation by using cloud computing services, which allows users with older computers or Macs to run Stable Diffusion by leveraging remote servers and GPUs.

💡Hugging Face

Hugging Face is an open-source platform that provides a wide range of AI models, including Stable Diffusion. It allows developers and users to access, share, and utilize AI models for various tasks, such as text classification, natural language processing, and image generation. In the video, the presenter guides viewers on how to create a free account on Hugging Face to access and download the Stable Diffusion model.


GitHub is a web-based hosting platform for version control and collaboration that allows developers to store, manage, and collaborate on code repositories. In the video, the presenter mentions the need for a GitHub account to access and clone the 'automatic 1111' repository, which is essential for setting up the Stable Diffusion interface.

💡Graphics Card

A graphics card is a hardware component in a computer that renders images, videos, and animations. It is essential for tasks requiring intensive graphical processing, such as gaming or running AI models like Stable Diffusion. The video emphasizes the need for a decent graphics card for local installation of Stable Diffusion on a PC.

💡Control Net Features

Control Net Features refer to the various settings and options within AI models like Stable Diffusion that allow users to guide and influence the output of the generated images. These features can include specific prompts, poses, styles, or other image attributes that用户提供 more control over the creative process.

💡Model Training

Model training is the process of teaching a machine learning model to recognize patterns and make predictions based on input data. In the context of the video, model training involves creating a personalized AI model by training Stable Diffusion with one's own images, such as one's face, to generate customized AI art.

💡Image Generation

Image generation is the process by which AI models like Stable Diffusion create new images based on textual prompts or other inputs. It is a core function of AI art models and allows users to produce a wide variety of visual content, from realistic portraits to abstract art.

💡Run Defusion

Run Defusion is a cloud-based platform that enables users to run AI models like Stable Diffusion without the need for local installation or powerful hardware. It offers GPU resources and computational power to execute AI models, making it accessible for users with different types of computers.


The video provides a comprehensive guide on setting up and running Stable Diffusion locally on a PC, as well as in the cloud for those with older computers or Macs.

Having Stable Diffusion installed locally offers zero limits on content creation, allowing for the generation of any type of AI art without restrictions.

With local installation, users can create content with their own trained images, such as a personalized AI model of their face.

The local installation enables the use of advanced control net features, including pose modeling, scribble control, and image-to-image generation.

Instruct picks is a feature that allows users to upload an image and tweak it using text commands.

Deforum is a video generator that utilizes Stable Diffusion to create unique and engaging videos.

To install Stable Diffusion locally, a PC with a decent graphics card is required, and the process involves creating an account on Hugging Face and GitHub.

The tutorial explains how to download and install necessary software like Get for Windows and Python, and how to clone and set up the Stable Diffusion web UI from GitHub.

Downloading the Stable Diffusion model files from Hugging Face is a crucial step, with multiple model versions available for selection.

The video also covers the process of installing and running Stable Diffusion using a cloud-based service called Run Diffusion, which is a paid alternative.

Run Diffusion offers various GPU options with different pricing tiers and generation speeds, allowing users to choose based on their needs.

The video creator shares his excitement about the possibilities opened up by Stable Diffusion and the intention to create more content exploring its capabilities.

The tutorial encourages viewers to explore AI tools and resources like Future Tools, a curated collection of AI utilities and newsletters for the latest in AI advancements.

The video concludes with an invitation for viewers to join the creator in future content exploring the limitless potential of Stable Diffusion and AI art generation.