Skip to main content
Browse Models

stabilityai

Stable Diffusion 1.1

Released

2022-04-13

Family

Stable Diffusion 1

Type

Foundation Model

Model Report

Overview

Stable Diffusion 1.1 is a latent text-to-image diffusion model developed by CompVis in collaboration with Stability AI and Runway. It is part of the v1 family of Stable Diffusion models, designed to synthesize images from natural language prompts with detail, while maintaining efficient computational requirements. The model utilizes advances in latent diffusion architectures, enabling both detailed image generation and versatile image manipulation capabilities, which supports research and creative applications (Stable Diffusion v1-1 model card, arXiv: Latent Diffusion Models).

Collage of five imaginative images generated by Stable Diffusion 1.1

Figure 1. A collage of sample images generated by Stable Diffusion 1.1, illustrating its creative diversity in response to varied text prompts.

Model Architecture

Stable Diffusion 1.1 is based on the Latent Diffusion Model (LDM) framework (original paper). In this approach, image synthesis and transformation occur in a lower-dimensional latent space, significantly reducing computational demands during both training and inference.

The core architecture comprises three main components:

  • Variational Autoencoder (VAE): The VAE encodes images into a compressed latent representation. For Stable Diffusion, an input image of dimension 512×512 is mapped to a 64×64 latent space, achieving a compression factor of 64. During inference, the decoder reconstructs the output image from the denoised latent variables (model documentation).

  • U-Net Backbone: The U-Net serves as the backbone for the denoising process, utilizing an encoder-decoder configuration with ResNet blocks and shortcut connections. It predicts the noise in the current latent step and, conditioned on text embeddings, incrementally refines the image. The U-Net in this model contains approximately 860 million parameters.

  • Text Encoder: Text prompts are processed by a frozen CLIP ViT-L/14 encoder (CLIP paper). The resulting embeddings guide the U-Net through cross-attention layers to ensure text-conditional image generation.

The efficiency of Stable Diffusion arises from operating in this compressed latent domain, allowing high-resolution generation on standard GPUs (arXiv: Latent Diffusion Models).

Diagram of Stable Diffusion inference pipeline

Figure 2. Inference pipeline for Stable Diffusion 1.1: text prompts are embedded, transformed in latent space by the U-Net, and decoded into images by the VAE.

Training Data and Procedure

Stable Diffusion 1.1 was trained on large-scale, openly available datasets to support broad generalization capabilities. The primary training data consists of subsets of the LAION-5B database, a comprehensive resource of image–text pairs (LAION-5B blog).

The training strategy for v1.1 involved an initial pretraining phase on the laion2B-en dataset at 256×256 pixel resolution for 237,000 steps, followed by fine-tuning on high-resolution image samples (512×512 pixels) extracted from the laion-high-resolution subset, comprising over 170 million pairs (training details). This two-stage proxy enabled the model to attain both broad visual knowledge and improved high-fidelity synthesis.

The optimization was performed with the AdamW optimizer and large batch sizes, harnessing significant computational infrastructure (32×8 A100 GPUs, batch size 2048). The primary loss function was a reconstruction objective in the latent space. According to the published training report, total training consumed approximately 150,000 GPU hours (model card).

Functionality and Use Cases

Stable Diffusion 1.1 supports diverse modes of image generation and manipulation, driven by its latent diffusion mechanism:

  • Text-to-Image Generation: Given a natural language prompt, the model synthesizes new images from scratch, capturing a wide range of concepts, styles, and details (Hugging Face introduction).
Collage of generated images illustrating text-to-image capabilities

Figure 3. Generated samples from varied prompts, exemplifying Stable Diffusion 1.1's capacity for generating diverse visual content.

  • Image-to-Image Translation: The model can receive an image and a guiding prompt, then transform the image based on textual instructions while maintaining structural coherence (model documentation).
Landscape generated by the model

Figure 4. A vivid fantasy landscape, demonstrating the model's image-to-image translation abilities.

  • Inpainting and Outpainting: Users can selectively modify regions of an image (inpainting) or extend images beyond their boundaries (outpainting) using targeted text prompts (model notes).

  • Artistic, Educational, and Research Applications: Use cases span digital art, design ideation, educational materials, and investigations into generative model limitations or biases (Hugging Face model card).

Collage of imaginative generated artworks

Figure 5. Further model outputs illustrating creative scene synthesis from descriptive text prompts.

Model Performance and Evaluation

Performance assessment of Stable Diffusion 1.1 employs quantitative metrics such as CLIP score (measuring semantic alignment between text and generated image) and Fréchet Inception Distance (FID, evaluating distributional similarity to real images). Evaluation was conducted on large sets of prompts sampled from the COCO2017 validation set at 512×512 resolution.

Checkpoint evaluations show that with increased classifier-free guidance (cfg-scale), images more closely follow prompts but may lose diversity. The default configuration for sd-v1-1.ckpt employs a guidance scale around 7.5 and 50 sampling steps, where the balance of semantic fidelity and visual realism is optimized (evaluation protocol).

Limitations

Despite its effectiveness, Stable Diffusion 1.1 demonstrates several noteworthy limitations:

  • Bias and Representation: The model reflects biases present in the web-scraped LAION-5B dataset, particularly toward Western and English-centric content. This can impact fairness and diversity in generated outputs (model card discussion).

  • Photorealism and Composition: While capable of generating convincing images, the model can underperform on tasks requiring perfect photorealism or complex compositional arrangements (e.g., spatial reasoning described in text). Rendering textual content within images or fine-grained details, especially for faces, remains challenging.

  • Resolution Constraints: Image quality may diminish below 512×512 resolution or when simultaneously increasing both width and height beyond this baseline, leading to artifacts and loss of global image coherence (technical documentation).

  • Memorization and Repetition: No deduplication methods were applied in dataset curation, leading to potential memorization of common or repeated images (Hugging Face model card).

  • Language Dependency: The model is most effective for prompts in English; generation quality degrades in other languages.

  • Fine-tuning Needs: Customizing the model for niche domains or styles typically requires computationally expensive fine-tuning.

  • Watermarking Robustness: Outputs include invisible watermarking for machine-generated image identification, but rescaling or rotating images can reduce its efficacy (invisible-watermark repository).

Licensing

Stable Diffusion 1.1 is distributed under the CreativeML OpenRAIL M license, which governs responsible use and redistribution (license terms). The license permits both research and commercial applications, with explicit restrictions to prevent generation or dissemination of illegal, harmful, or offensive content, as well as guidance for responsible model sharing and output use.

Release Timeline and Model Family

Stable Diffusion v1.1 was released in August 2022. It is part of a broader family of v1 checkpoints, including v1.2, v1.3, and v1.4, each representing further training and refinement on curated datasets with adjusted aesthetic filters and sampling strategies (CompVis at Hugging Face). Subsequent versions, such as Stable Diffusion 1.5, build progressively on the v1.1 foundation by extending training duration or integrating data filtered for higher aesthetic quality, offering alternative trade-offs in output characteristics (dataset details).

Example Outputs

Stable Diffusion 1.1's output highlights both deterministic and variable results based on seed settings and sampling parameters.

Photorealistic output: astronaut riding a horse

Figure 6

Astronaut riding a horse, generated with fewer inference steps

Figure 7

Multiple style variations of astronaut riding a horse

Figure 8

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.5

Text-to-image diffusion model trained on LAION dataset subset, generating 512x512 images from natural language prompts using 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.