Getting Started with Stable Diffusion Locally

Marlene Mhangami · Beginner ·🎨 Image & Video AI ·3y ago
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

What makes an AI image workflow useful for real commercial output?
Learn how to create a useful AI image workflow for commercial output, focusing on repeatability, versatility, and clarity
Dev.to AI
How to Write Better AI Image Prompts for Midjourney (With Examples That Actually Work)
Learn to write effective AI image prompts for Midjourney with actionable examples and techniques
Medium · ChatGPT
Image to Video AI: The Complete Workflow Playbook That Actually Produces Results
Learn a step-by-step workflow for image-to-video AI that produces results, from preparation to delivery
Medium · AI
Image Harvest v1.0.2: Internationalization, Free Pro Trial & Quality-of-Life Improvements
Learn about Image Harvest v1.0.2, a Chrome extension with internationalization, free pro trial, and quality-of-life improvements, and how to utilize it for privacy-first image extraction
Dev.to · kyriewen

Chapters (3)

Intro
0:46 How Diffusion Models Work
3:30 Code For Installing Stable Diffusion
Up next
Krea 2 makes Diffusion FUN Again!
MattVidPro
Watch →