Stable Diffusion is a text-to-image generation model developed by Stability AI, based on the Latent Diffusion Model (LDM). Whereas existing Diffusion Models operate directly in pixel space and therefore had high computational costs, Stable Diffusion significantly improved efficiency by performing the denoising process in a latent space compressed by a VAE (Variational Autoencoder).
The democratization of AI image generation began when Stable Diffusion 1.4 was released as open source in August 2022. Unlike DALL-E or Midjourney, anyone could download the model weights for free, run them locally, or perform custom training (fine-tuning). It has since continued to evolve through SD 1.5, SD 2.0, SDXL, SD3, and more, improving resolution, prompt understanding, and image quality.
The core architecture consists of three components: (1) VAE - encodes/decodes images to and from the latent space, (2) U-Net - predicts and removes noise in the latent space, (3) Text Encoder - converts text prompts into embeddings based on CLIP. The generation process is a reverse diffusion process that starts from pure noise and gradually removes noise to match the text conditioning.
In practice, Stable Diffusion is used in a variety of workflows: Text-to-Image (generating images from text prompts), Image-to-Image (transforming existing images), Inpainting (modifying parts of an image), ControlNet (conditional generation such as pose and edges), and LoRA/DreamBooth (learning specific styles or objects). Because it is open source, it is combined with various community tools such as ComfyUI, Automatic1111, and Forge and integrated into production pipelines.