Stable diffusion makes it simple for people to create AI art with just text inputs. I just released a video course about Stable Diffusion on the freeCodeCamp.org YouTube channel. This article will introduce you to the course and give important setup and reading links for the course.

This course focuses on teaching you how to use stable diffusion as a tool instead of going into the technical details. To understand some big terms like VAEs or embeddings, you will need to have some machine learning background and do some research on your own.

You will need to have access to a local GPU to try out the course material. Cloud access to GPU (with the exception of Google Colab) would work too. It's unfortunate, but Google Colab has banned Stable Diffusion code from running in their notebooks.

In this tutorial, we will cover the following topics:

  1. How to use Stable Diffusion
  2. How to train your own model for a specific character or art style (LoRA models)
  3. How to use Control Net, a popular Stable Diffusion plugin
  4. How to use Stable Diffusion's API Endpoint

Check out the course video below on the freeCodeCamp.org YouTube channel. Under the video are additional resources.

Install stable diffusion

GitHub - AUTOMATIC1111/stable-diffusion-webui: Stable Diffusion web UI
Stable Diffusion web UI. Contribute to AUTOMATIC1111/stable-diffusion-webui development by creating an account on GitHub.
stable-diffusion-webui

Download models

Civitai | Stable Diffusion models, embeddings, LoRAs and more
Civitai is a platform for Stable Diffusion AI Art models. Browse a collection of thousands of models from a growing number of creators. Join an engaged community in reviewing models and sharing images with prompts to get you started.

Download VAE for Model "Counterfeit"

Counterfeit-V2.5.vae.pt · gsdf/Counterfeit-V2.5 at main
We’re on a journey to advance and democratize artificial intelligence through open source and open science.
Counterfeit-V2.5

i Download Embeddings

gsdf/EasyNegative · Datasets at Hugging Face
gsdf/EasyNegative dataset hosted on Hugging Face and contributed by the HF Datasets community
EasyNegative

Train a Lora

[Guide] Make your own Loras, easy and free - colabs | Stable Diffusion Other | Civitai
You don’t need to download anything, this is a guide with online tools. Click “Show more” below. 🏭 Preamble Even if you don’t know where to start o...
2427ce48-76cb-4a65-8ce0-11ea4e60e0f6

Further Reading

Stable Diffusion prompt: a definitive guide - Stable Diffusion Art
Developing a process to build good prompts is the first step every Stable Diffusion user tackles. This article summarizes the process and techniques developed
image-22-e1675832572504
Stable Diffusion Samplers: A Comprehensive Guide - Stable Diffusion Art
Many sampling methods are available in AUTOMATIC1111. Euler a, Heun, DDIM... What are samplers? How do they work? What is the difference between them? Which
cover_sampler_1200
ControlNet v1.1: A complete guide - Stable Diffusion Art
ControlNet is a Stable Diffusion model that lets you copy compositions or human poses from a reference image.
image-161

Disclaimer: We respect the work of artists and acknowledge that AI-generated art using Stable Diffusion is a tool that can be used to enhance creativity, but it does not replace the value of human creativity and originality.