Getting Started with Stable Diffusion Locally
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
More on: Image Generation Basics
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
What makes an AI image workflow useful for real commercial output?
Dev.to AI
How to Write Better AI Image Prompts for Midjourney (With Examples That Actually Work)
Medium · ChatGPT
Image to Video AI: The Complete Workflow Playbook That Actually Produces Results
Medium · AI
Image Harvest v1.0.2: Internationalization, Free Pro Trial & Quality-of-Life Improvements
Dev.to · kyriewen
Chapters (3)
Intro
0:46
How Diffusion Models Work
3:30
Code For Installing Stable Diffusion
🎓
Tutor Explanation
DeepCamp AI