Get Started With Stable Diffusion! (Code, HF Spaces, Diffusers Notebooks) @TheAIEpiphany
Get Started With Stable Diffusion! (Code, HF Spaces, Diffusers Notebooks)  @TheAIEpiphany
Uploaded August 2022 | Updated September 2026, 1 week ago
πŸš€ Sign up for Cohere using my link and get 150$ credits πŸš€
os.cohere.ai/register?utm_source=influencer&utm_medium=&utm_campaign=ALEKSA

πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ And check out Cohere's Discord community! πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦
discord.gg/co-mmunity

In this video I show you 3 ways to get started with Stable diffusion:
1. Using HuggingFace Spaces (super slow, but super easy)
2. Using diffusers Colab notebooks (mid-ground)
3. Running it locally (my code, most control, and flexibility)

Watch out for my deep dive into stable diffusion if you want to learn how it works behind the scenes! (coming soon)

Update: deep dive into Stable Diffusion video is out: youtube.com/watch?v=f6PtJKdey8E

β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬
βœ… My code: github.com/gordicaleksa/stable_diffusion_playground
βœ… My older GAN projects: github.com/gordicaleksa/pytorch-GANs

βœ… Diffusers notebook: colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/stable_diffusion.ipynb
βœ… HF Space: huggingface.co/spaces/stabilityai/stable-diffusion

Misc:
βœ… Xander's awesome video: twitter.com/xsteenbrugge/status/1558508866463219712
βœ… Model weights: huggingface.co/CompVis/stable-diffusion-v1-4
β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬

⌚️ Timetable:
00:00 Intro
00:55 (sponsored) - Cohere's NLP toolkit
03:35 First option: HF Spaces
05:30 Second option: Diffusers Colab notebooks
15:10 Third option (more control): my code
16:10 Setup
20:40 How to use the script to generate images
28:00 How to reproduce the image from metadata
31:37 Patching the diffusers lib
33:45 How to interpolate between images
38:10 Results
39:20 Outro (share your images on Twitter/LI!)

β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬
πŸ’° BECOME A PATREON OF THE AI EPIPHANY ❀️

If these videos, GitHub projects, and blogs help you,
consider helping me out by supporting me on Patreon!

The AI Epiphany - patreon.com/theaiepiphany
One-time donation - paypal.com/paypalme/theaiepiphany

Huge thank you to these AI Epiphany patreons:
Eli Mahler
Petar VeličkoviΔ‡

β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬

πŸ’Ό LinkedIn - linkedin.com/in/aleksagordic
🐦 Twitter - twitter.com/gordic_aleksa
πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Discord - discord.gg/peBrCpheKE

πŸ“Ί YouTube - youtube.com/c/TheAIEpiphany
πŸ“š Medium - gordicaleksa.medium.com
πŸ’» GitHub - github.com/gordicaleksa
πŸ“’ AI Newsletter - aiepiphany.substack.com

β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬β–¬

#stablediffusion #generativeart #coding
Get Started With Stable Diffusion! (Code, HF Spaces, Diffusers Notebooks)Stable Diffusion: High-Resolution Image Synthesis with Latent Diffusion Models | ML Coding SeriesDay 12: Open NLLB - on-boarding doc for new-joiners, eval (Pt 2.)Channel update: moving to London in 2 days, new MLOps seriesBuild AI Agents using Integrail (Halloween special)building the best RLHF (TRLX) library w/ Louis CastricatoALiBi | Train Short, Test Long: Attention With Linear Biases Enables Input Length ExtrapolationDay 23: Open NLLB - day before China trip! Refactoring & pushing  changes (Pt 1 cont.)Hyperbolic Graph Convolutional Networks | Geometric ML Paper ExplainedDiffusion Models Beat GANs on Image Synthesis | ML Coding Series | Part 2Facebook AIs DINO | PyTorch Code ExplainedUltimate Guide To Scaling ML Models - Megatron-LM | ZeRO | DeepSpeed | Mixed Precision
Aleksa Gordić - The AI Epiphany |

Get Started With Stable Diffusion! (Code, HF Spaces, Diffusers Notebooks)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER