Getting Started with Stable Diffusion Locally

Marlene Mhangami · Beginner ·🎨 Image & Video AI ·3y ago

Key Takeaways

This video teaches how to install and use Stable Diffusion locally for image generation

Original Description

TIMESTAMPS 00:00 Intro 00:46 How Diffusion Models Work 03:30 Code For Installing Stable Diffusion In this video I explain, on a high level, how diffusion models work. I also walk you through how to set up and use Stable Diffusion locally on a Mac M1. In this tutorial I use tensorflow and the keras_cv package to convert text to images. If you do not have a GPU, follow along with this tutorial in this colab notebook (https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/stable_diffusion.ipynb) after running the first few cells. Links: Tutorial code: https://github.com/marlenezw/Getting-Started-With-Stable-Diffusion Hugging Face Stable Diffusion 2 Space: https://huggingface.co/spaces/stabilityai/stable-diffusion (Thanks to Santiago, https://www.youtube.com/@underfitted, for a great tutorial from which I got a lot of inspiration for this video, and a lot of the code.) Connect with me on social: Twitter: https://twitter.com/marlene_zw Mastodon: https://fosstodon.org/@Marlene GitHub: https://github.com/marlenezw LinkedIn: https://www.linkedin.com/in/marlenemhangami
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

FREE AI Sin City Photo Generator — Turn Any Photo Into High-Contrast Noir Art (2026)
Transform any photo into a Sin City-inspired high-contrast noir art using a free AI generator
Dev.to AI
Google makes Gemini’s personalized image generation free for all US users
Google's Gemini personalized image generation is now free for all US users, allowing them to generate images informed by their Google data
The Next Web AI
Gemini’s personalized AI image generation is now free for U.S. users
Gemini's AI image generation is now free for U.S. users, allowing for personalized images based on user interests and data
TechCrunch AI
WebP's Compression Secret: How a 1MB PNG Becomes a 200KB WebP
Learn how WebP compresses images more efficiently than PNG and JPEG, and why it matters for web development
Dev.to · swift king

Chapters (3)

Intro
0:46 How Diffusion Models Work
3:30 Code For Installing Stable Diffusion
Up next
OpenAI Kills Sora then Descends into Chaos
ColdFusion
Watch →