Skip to main content
Browse Models

stabilityai

Stable Diffusion 1.5

Released

2022-08-22

Family

Stable Diffusion 1

Type

Foundation Model

Downloads

External Download

You are about to open a link to an external source. Verify the URL before continuing.

Download

Model Checkpoint

FP16 · 4.2 GB · v1-5-pruned-emaonly.safetensors

Inpainting Model

FP16 · 4.2 GB · sd-v1-5-inpainting.ckpt

Model Report

Overview

Stable Diffusion 1.5 is a latent text-to-image generative diffusion model developed for synthesizing high-quality images from text descriptions. Released in October 2022 by RunwayML, the model builds upon previous advancements in latent diffusion, offering a balance of photorealistic generation capabilities and computational efficiency. Its open access and adaptable framework have supported a broad range of creative and scientific applications, including image modification, inpainting, and research into generative modeling techniques.

Astronaut riding a horse on lunar landscape

Figure 1. Image generated by Stable Diffusion 1.5 from the prompt: 'a photograph of an astronaut riding a horse'.

Model Architecture

Stable Diffusion 1.5 is constructed upon the latent diffusion model (LDM) architecture, initially developed by the CompVis research group at the Ludwig Maximilian University of Munich. LDMs introduce an efficient solution to diffusion-based generative modeling by applying the diffusion process within a compressed latent space rather than directly on pixel data, reducing memory and computational overhead significantly.

Stable Diffusion inference pipeline diagram

Figure 2. Diagram of the Stable Diffusion inference pipeline, illustrating the transformation from a text prompt and latent seed to the final generated image.

The model is primarily composed of three interconnected modules. Firstly, a Variational Autoencoder (VAE) encodes input images into a lower-dimensional latent representation, preserving essential semantic content. During inference, the VAE decoder reconstructs the generated latent samples back to image space. The core of generation relies on a U-Net neural network, which performs iterative denoising guided by cross-attention mechanisms that condition the process on external information—most notably, text embeddings. These embeddings are provided by a frozen, pre-trained CLIP ViT-L/14 text encoder, which translates the input prompt into a compatible vector space.

Stable Diffusion 1.5 employs classifier-free guidance to balance adherence to the prompt and image realism, controlled by a guidance_scale parameter. Negative prompts, which specify undesirable features to avoid during sampling, further refine output control. These and other features enable both creative flexibility and precision.

Training Data and Process

Training of Stable Diffusion 1.5 leveraged a subset of the large-scale LAION-5B dataset, consisting of more than five billion image-text pairs collected from publicly available web data. The LAION datasets are curated based on criteria such as semantic content, image resolution, aesthetic scores, and language coverage to maximize image quality and diversity within the training corpus. For the v1.5 release, training was initialized from earlier Stable Diffusion 1.2 weights, then fine-tuned for 595,000 steps at 512x512 resolution on the LAION-Aesthetics v2 5+ subset, with intentional dropout of text conditioning to enhance classifier-free guidance performance.

The training regimen employed 256 Nvidia A100 GPUs, accumulating approximately 150,000 GPU-hours for completion, as detailed in the model documentation and official announcements.

Functional Capabilities

Stable Diffusion 1.5 supports diverse generative tasks. The primary function is text-to-image synthesis, where users provide a prompt to generate an entirely new image. Parameters such as the number of inference steps, guiding scale, random seed, and output size are configurable, giving users control over output variability and quality.

Grid of diverse astronaut on horseback generations

Figure 3. Three distinct Stable Diffusion outputs for the same prompt, demonstrating the diversity of generated samples.

Deterministic output by Stable Diffusion

Figure 4. Sample generated from a fixed random seed, showing deterministic output for the prompt 'astronaut riding a horse'.

Beyond text-to-image generation, the model can perform image-to-image translation ("img2img"), inpainting—wherein specified regions are selectively regenerated based on masks and prompts—and outpainting, which involves extrapolating new content beyond the original image boundaries. Such features enable a range of applications in creative design, scientific visualization, and data augmentation.

Low-step image generation output

Figure 5. Image generated with 15 inference steps, highlighting artifacts and quality differences compared to higher-step outputs.

Non-square generated output

Figure 6. Example of a non-square image output generated by Stable Diffusion, showing two astronauts on horseback.

A digital watermark is embedded in each generated image for traceability. The ability to use negative prompts and tuned classifier-free guidance values helps maintain desired content boundaries and increase overall fidelity.

Photo-realistic Stable Diffusion output

Figure 7. Photo-realistic output from the diffusion pipeline, generated using the K-LMS scheduler with 100 inference steps.

Evaluation and Applications

Performance metrics for Stable Diffusion models are typically reported using Fréchet Inception Distance (FID) for image realism and CLIP score for semantic alignment.

FID and CLIP score comparison

Figure 8. Line chart displaying FID vs CLIP scores for Stable Diffusion versions 1.1 to 1.5 on 512x512 samples.

The range of applications is broad: besides creating detailed visuals from natural language, Stable Diffusion 1.5 has been adapted for inpainting, outpainting, and masked editing. Researchers have also fine-tuned the model for specialized domains, such as medical imaging, musical spectrogram generation (e.g., Riffusion), and diverse artistic styles. Its flexible architecture allows use as a base model for downstream tasks, leveraging fine-tuning and control modules, such as ControlNet, to incorporate additional conditional information.

Limitations

Despite its broad utility, Stable Diffusion 1.5 exhibits several limitations. The model is trained at a fixed 512x512 resolution, which may result in artifacts or quality degradation when generating images at other aspect ratios or scales. It can struggle with rendering complex compositional scenes and accurately depicting fine details, especially in cases involving intricate or less-represented content from its training set. Generating precise, legible text within images remains challenging, and the model is unsuited for tasks requiring factual precision or high-stakes decision-making.

Stable Diffusion 1.5 inherits biases present in its training data, which predominantly features English-language content and may reflect Western-centric stereotypes. The autoencoding process is lossy, introducing minor inconsistencies in pixel-accurate reconstructions. Additionally, the sequential nature of diffusion sampling results in slower inference times relative to generative adversarial networks (GANs). Studies of the underlying dataset have highlighted the presence of duplicated and potentially sensitive material, raising considerations for responsible deployment and further research.

Licensing and Model Availability

Prior to version 3, Stable Diffusion models, including 1.5, are distributed under the CreativeML OpenRAIL-M license, which is a type of Responsible AI License (RAIL). The license prohibits certain use cases—such as those involving crime, harassment, or discrimination—but grants users rights to commercial usage of generated outputs, provided the content remains legal and non-harmful. The open-source release fosters transparency and auditability, supporting both research and creative experimentation within defined ethical boundaries, as described in the licensing documentation.

Comparisons with Subsequent Models

The Stable Diffusion model family has evolved rapidly since its initial releases. Notably, Stable Diffusion 2.0 introduced native 768x768 image generation and a dedicated depth-guided model. Stable Diffusion XL (SDXL) 1.0 expanded capacity with a larger architecture, enhanced context length, and improved support for high-resolution generation. More recent releases such as Stable Diffusion 3.0 and 3.5 have restructured the generative backbone and expanded scale, reflecting rapid advancements in diffusion-based generative modeling.

Helpful Resources

About Stable Diffusion 1: Stable Diffusion is an open-source text-to-image generative AI model that transforms textual adminDescriptions into corresponding images. Technologically, it employs a latent diffusion model architecture, enhancing computational efficiency by performing diffusion processes in a compressed latent space, which enables high-quality image generation with reduced resource requirements.

More in the Stable Diffusion 1 Family

stabilityai /

Stable Diffusion 1.1

A latent text-to-image diffusion model trained on LAION datasets that generates 512×512 images from natural language prompts using compressed latent space processing.
prompthero /

OpenJourney v4

SD 1.5 fine-tuned on 124k+ additional images generated with Midjourney v4, leading to results that resemble this other closed-source image generation model.
Photographer /

Photon

Photon aims to generate photorealistic and visually appealing images effortlessly.
KandooAI /

Juggernaut

Popular SD 1.5 fine-tune with capability to produce detailed images of a versatile breadth of subjects.
wavymulder /

Analog Diffusion

SD 1.5 fine-tuned on a diverse set of analog images, yielding a vintage photographic look.
Lykon /

Dreamshaper

SD 1.5 fine-tune with strong art generation ability and a broad generalist capabilities.
SG_161222 /

Realistic Vision

SD 1.5 fine-tune specialized in creating photorealistic portraits of humans.
Meina /

Meina Mix

Model resulting for merging 7 different anime-focused SD 1.5 checkpoints.
epinikion /

epiCRealism

Popular SD 1.5 fine-tune with high competence in translating simple text prompts into realistic images of people.
Lykon /

Absolute Reality

One of the top SD 1.5 variant for generating life-like images of people and objects.
Cyberdelia /

Cyber Realistic

Versatile photorealistic SD 1.5 fine-tune capable of generating a wide range of convincing photographic images.
Merjic /

MajicMIX Realistic

Popular SD 1.5 photorealism fine-tune with training data weighted on people of asian descent.
epinikion /

epiCPhotoGasm

A Stable Diffusion 1.5-based checkpoint model designed for photorealistic image generation with simplified prompting and demographic diversity.
lllyasviel /

ControlNet SD 1.5 Canny

SD 1.5 ControlNet model to replicate the composion of a source image using edge-detection.
lllyasviel /

ControlNet SD 1.5 IP2P

SD 1.5 ControlNet trained with pixel-to-pixel instruction.
lllyasviel /

ControlNet SD 1.5 Depth

SD 1.5 ControlNet model to replicate the depth of a source image.
lllyasviel /

ControlNet SD 1.5 MLSD

SD 1.5 ControlNet model to detect straight-lines, useful for architecture and man-made objects.
lllyasviel /

ControlNet SD 1.5 Normal

SD 1.5 ControlNet model to replicate the depth of a source image, with additional surface details and geometry.
lllyasviel /

ControlNet SD 1.5 Open Pose

SD 1.5 ControlNet model for copying human poses.
lllyasviel /

ControlNet SD 1.5 Scribble

SD 1.5 ControlNet model for converting sketches to images.
lllyasviel /

ControlNet SD 1.5 Segmentation

SD 1.5 ControlNet model for detecting and segmenting distinct parts of images to use in the generation.
lllyasviel /

ControlNet SD 1.5 Soft Edge

SD 1.5 ControlNet model to detect soft-edges, especially useful for recoloring and stylizing.
lllyasviel /

ControlNet SD 1.5 Inpaint

SD 1.5 ControlNet model trained with image inpainting.
lllyasviel /

ControlNet SD 1.5 Line Art

SD 1.5 ControlNet model trained with line art generation.
lllyasviel /

ControlNet SD 1.5 Lineart Anime

SD 1.5 ControlNet model trained with anime line art generation.
lllyasviel /

ControlNet SD 1.5 Shuffle

SD 1.5 ControlNet model trained with image shuffling.
lllyasviel /

ControlNet SD 1.5 Tile

SD 1.5 ControlNet model trained with image tiling.
tencent /

ControlNet 1.5 IP Adapter

SD 1.5 ControlNet model for conditioning on an image prompt.
tencent /

ControlNet 1.5 QR Code

SD 1.5 ControlNet model for generating stylized QR codes.

More from stabilityai

stabilityai /

Stable Video Diffusion

A latent diffusion model that generates short video clips up to 25 frames from single images using temporal convolution and attention layers.
stabilityai /

Stable Video Diffusion XT

A video generation model that creates coherent sequences from static images or text prompts using latent diffusion architecture.
stabilityai /

Stable Video Diffusion XT 1.1

Video generation model that transforms single images into 25-frame sequences at 1024x576 resolution with controllable motion and camera parameters.
stabilityai /

Stable Video 3D

Stable Video 3D (SV3D) is a generative model based on Stable Video Diffusion that takes in a still image of an object as a conditioning frame, and generates an orbital video of that object.
stabilityai /

Stable Video 4D

A generative video-to-video diffusion model that synthesizes temporally and spatially consistent multi-view video sequences from single input videos.
stabilityai /

Stable Fast 3D

Generates textured 3D meshes with material properties from single images in approximately 0.5 seconds using a transformer-based architecture.
stabilityai /

Stable Diffusion 2

A text-to-image diffusion model offering 768×768 resolution generation with depth conditioning, inpainting capabilities, and 4x upscaling functionality.
stabilityai /

Stable Diffusion XL

A text-to-image diffusion model with 3.5 billion parameters utilizing a two-stage generation pipeline for enhanced image quality and prompt adherence.
stabilityai /

SDXL Turbo

SDXL variant using the Adversarial Diffusion Distillation (ADD) technique to generate images very quickly, only requiring 2-6 steps instead of 20-60.
stabilityai /

ControlNet SDXL Canny

Smaller SDXL ControlNet model for edge detection.
stabilityai /

ControlNet SDXL Depth

Smaller SDXL ControlNet model for depth generation.
stabilityai /

ControlNet SDXL Recolor

SDXL ControlNet model for recoloring images.
stabilityai /

Stable Diffusion 3.5 Large

This 8-billion parameter model brings improvements to SD3 in customizability, efficiency, and diversity. This Large variant was designed for professional use cases at 1 megapixel resolution.
stabilityai /

Stable Diffusion 3.5 Turbo

This latest iteration in the Stable diffusion family brings improvements over SD3 in customizability, efficient performance, and diverse outputs. The Turbo variant is distilled from the Large version to generate images in just 4 steps.
stabilityai /

Stable Cascade Stage A

A vector quantized GAN encoder that compresses 1024×1024 images to 256×256 discrete tokens as part of a three-stage hierarchical text-to-image pipeline.
stabilityai /

Stable Cascade Stage B

Intermediate latent super-resolution module that upscales compressed text-conditional representations from Stage C to enable high-fidelity image generation.
stabilityai /

Stable Cascade Stage C

Text-to-image diffusion model using three-stage cascaded architecture with 42:1 spatial compression for efficient high-resolution synthesis.
stabilityai /

Stable Audio Open 1.0

Open-source text-to-audio synthesis model with 1.21 billion parameters, trained exclusively on Creative Commons data using latent diffusion architecture.