AI SeedbankHelp preserve open and free AI for humanity's future

← All models

stable-diffusion-v1-5_stable-diffusion-v1-5

stable-diffusion-v1-5 · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: creativeml-openrail-m tags:

  • stable-diffusion
  • stable-diffusion-diffusers
  • text-to-image inference: true

Stable Diffusion v1-5 Model Card

⚠️ This repository is a mirror of the now deprecated ruwnayml/stable-diffusion-v1-5, this repository or organization are not affiliated in any way with RunwayML.

Modifications to the original model card are in red or green

Stable Diffusion is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input. For more information about how Stable Diffusion functions, please have a look at 🤗's Stable Diffusion blog.

The Stable-Diffusion-v1-5 checkpoint was initialized with the weights of the Stable-Diffusion-v1-2 checkpoint and subsequently fine-tuned on 595k steps at resolution 512x512 on "laion-aesthetics v2 5+" and 10% dropping of the text-conditioning to improve classifier-free guidance sampling.

You can use this both with the 🧨Diffusers library and RunwayML GitHub repository (now deprecated), ComfyUI, Automatic1111, SD.Next, InvokeAI.

Use with Diffusers

from diffusers import StableDiffusionPipeline
import torch

model_id = "sd-legacy/stable-diffusion-v1-5"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")

prompt = "a photo of an astronaut riding a horse on mars"
image = pipe(prompt).images[0]  
    
image.save("astronaut_rides_horse.png")

For more detailed instructions, use-cases and examples in JAX follow the instructions here

Use with GitHub Repository (now deprecated), ComfyUI or Automatic1111

  1. Download the weights

  2. Follow instructions here. (now deprecated)

  3. Use locally with ComfyUI, AUTOMATIC1111, SD.Next, InvokeAI

Model Details

  • Developed by: Robin Rombach, Patrick Esser

  • Model type: Diffusion-based text-to-image generation model

  • Language(s): English

  • License: The CreativeML OpenRAIL M license is an Open RAIL M license, adapted from the work that BigScience and the RAIL Initiative are jointly carrying in the area of responsible AI licensing. See also the article about the BLOOM Open RAIL license on which our license is based.

  • Model Description: This is a model that can be used to generate and modify images based on text prompts. It is a Latent Diffusion Model that uses a fixed, pretrained text encoder (CLIP ViT-L/14) as suggested in the Imagen paper.

  • Resources for more information: GitHub Repository, Paper.

  • Cite as:

    @InProceedings{Rombach_2022_CVPR,
        author    = {Rombach, Robin and Blattmann, Andreas and Lorenz, Dominik and Esser, Patrick and Ommer, Bj\"orn},
        title     = {High-Resolution Image Synthesis With Latent Diffusion Models},
        booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
        month     = {June},
        year      = {2022},
        pages     = {10684-10695}
    }
    

Uses

Direct Use

The model is intended for research purposes only. Possible research areas and tasks include

  • Safe deployment of models which have the potential to generate harmful content.
  • Probing and understanding the limitations and biases of generative models.
  • Generation of artworks and use in design and other artistic processes.
  • Applications in educational or creative tools.
  • Research on generative models.

Excluded uses are described below.

Misuse, Malicious Use, and Out-of-Scope Use

Note: This section is taken from the DALLE-MINI model card, but applies in the same way to Stable Diffusion v1.

The model should not be used to intentionally create or disseminate images that create hostile or alienating environments for people. This includes generating images that people would foreseeably find disturbing, distressing, or offensive; or content that propagates historical or current stereotypes.

Out-of-Scope Use

The model was not trained to be factual or true representations of people or events, and therefore using the model to generate such content is out-of-scope for the abilities of this model.

Misuse and Malicious Use

Using the model to generate content that is cruel to individuals is a misuse of this model. This includes, but is not limited to:

  • Generating demeaning, dehumanizing, or otherwise harmful representations of people or their environments, cultures, religions, etc.
  • Intentionally promoting or propagating discriminatory content or harmful stereotypes.
  • Impersonating individuals without their consent.
  • Sexual content without consent of the people who might see it.
  • Mis- and disinformation
  • Representations of egregious violence and gore
  • Sharing of copyrighted or licensed material in violation of its terms of use.
  • Sharing content that is an alteration of copyrighted or licensed material in violation of its terms of use.

Limitations and Bias

Limitations

  • The model does not achieve perfect photorealism
  • The model cannot render legible text
  • The model does not perform well on more difficult tasks which involve compositionality, such as rendering an image corresponding to “A red cube on top of a blue sphere”
  • Faces and people in general may not be generated properly.
  • The model was trained mainly with English captions and will not work as well in other languages.
  • The autoencoding part of the model is lossy
  • The model was trained on a large-scale dataset LAION-5B which contains adult material and is not fit for product use without additional safety mechanisms and considerations.
  • No additional measures were used to deduplicate the dataset. As a result, we observe some degree of memorization for images that are duplicated in the training data. The training data can be searched at https://rom1504.github.io/clip-retrieval/ to possibly assist in the detection of memorized images.

Bias

While the capabilities of image generation models are impressive, they can also reinforce or exacerbate social biases. Stable Diffusion v1 was trained on subsets of LAION-2B(en), which consists of images that are primarily limited to English descriptions. Texts and images from communities and cultures that use other languages are likely to be insufficiently accounted for. This affects the overall output of the model, as white and western cultures are often set as the default. Further, the ability of the model to generate content with non-English prompts is significantly worse than with English-language prompts.

Safety Module

The intended use of this model is with the Safety Checker in Diffusers. This checker works by checking model outputs against known hard-coded NSFW concepts. The concepts are intentionally hidden to reduce the likelihood of reverse-engineering this filter. Specifically, the checker compares the class probability of harmful concepts in the embedding space of the CLIPTextModel after generation of the images. The concepts are passed into the model with the generated image and compared to a hand-engineered weight for each NSFW concept.

Training

Training Data The model developers used the following dataset for training the model:

  • LAION-2B (en) and subsets thereof (see next section)

Training Procedure Stable Diffusion v1-5 is a latent diffusion model which combines an autoencoder with a diffusion model that is trained in the latent space of the autoencoder. During training,

  • Images are encoded through an encoder, which turns images into latent representations. The autoencoder uses a relative downsampling factor of 8 and maps images of shape H x W x 3 to latents of shape H/f x W/f x 4
  • Text prompts are encoded through a ViT-L/14 text-encoder.
  • The non-pooled output of the text encoder is fed into the UNet backbone of the latent diffusion model via cross-attention.
  • The loss is a reconstruction objective between the noise that was added to the latent and the prediction made by the UNet.

Currently six Stable Diffusion checkpoints are provided, which were trained as follows.

  • stable-diffusion-v1-1: 237,000 steps at resolution 256x256 on laion2B-en. 194,000 steps at resolution 512x512 on laion-high-resolution (170M examples from LAION-5B with resolution >= 1024x1024).

  • stable-diffusion-v1-2: Resumed from stable-diffusion-v1-1. 515,000 steps at resolution 512x512 on "laion-improved-aesthetics" (a subset of laion2B-en, filtered to images with an original size >= 512x512, estimated aesthetics score > 5.0, and an estimated watermark probability < 0.5. The watermark estimate is from the LAION-5B metadata, the aesthetics score is estimated using an improved aesthetics estimator).

  • stable-diffusion-v1-3: Resumed from stable-diffusion-v1-2 - 195,000 steps at resolution 512x512 on "laion-improved-aesthetics" and 10 % dropping of the text-conditioning to improve classifier-free guidance sampling.

  • stable-diffusion-v1-4 Resumed from stable-diffusion-v1-2 - 225,000 steps at resolution 512x512 on "laion-aesthetics v2 5+" and 10 % dropping of the text-conditioning to improve classifier-free guidance sampling.

  • stable-diffusion-v1-5 Resumed from stable-diffusion-v1-2 - 595,000 steps at resolution 512x512 on "laion-aesthetics v2 5+" and 10 % dropping of the text-conditioning to improve classifier-free guidance sampling.

  • stable-diffusion-inpainting Resumed from stable-diffusion-v1-5 - then 440,000 steps of inpainting training at resolution 512x512 on “laion-aesthetics v2 5+” and 10% dropping of the text-conditioning. For inpainting, the UNet has 5 additional input channels (4 for the encoded masked-image and 1 for the mask itself) whose weights were zero-initialized after restoring the non-inpainting checkpoint. During training, we generate synthetic masks and in 25% mask everything.

  • Hardware: 32 x 8 x A100 GPUs

  • Optimizer: AdamW

  • Gradient Accumulations: 2

  • Batch: 32 x 8 x 2 x 4 = 2048

  • Learning rate: warmup to 0.0001 for 10,000 steps and then kept constant

Evaluation Results

Evaluations with different classifier-free guidance scales (1.5, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0) and 50 PNDM/PLMS sampling steps show the relative improvements of the checkpoints:

Evaluated using 50 PLMS steps and 10000 random prompts from the COCO2017 validation set, evaluated at 512x512 resolution. Not optimized for FID scores.

Environmental Impact

Stable Diffusion v1 Estimated Emissions Based on that information, we estimate the following CO2 emissions using the Machine Learning Impact calculator presented in Lacoste et al. (2019). The hardware, runtime, cloud provider, and compute region were utilized to estimate the carbon impact.

  • Hardware Type: A100 PCIe 40GB
  • Hours used: 150000
  • Cloud Provider: AWS
  • Compute Region: US-east
  • Carbon Emitted (Power consumption x Time x Carbon produced based on location of power grid): 11250 kg CO2 eq.

Citation

    @InProceedings{Rombach_2022_CVPR,
        author    = {Rombach, Robin and Blattmann, Andreas and Lorenz, Dominik and Esser, Patrick and Ommer, Bj\"orn},
        title     = {High-Resolution Image Synthesis With Latent Diffusion Models},
        booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
        month     = {June},
        year      = {2022},
        pages     = {10684-10695}
    }

This model card was written by: Robin Rombach and Patrick Esser and is based on the DALL-E Mini model card.

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:617b20705d72e5a62c581207828c42740fb8c8e0&dn=stable-diffusion-v1-5_stable-diffusion-v1-5

Open magnet in torrent client · infohash 617b20705d72e5a62c581207828c42740fb8c8e0

Files & hashes

PathSizesha1sha256
README.md14.1 KB (14,461 B)2a5ba19664aab2052c4ea484e737dff9aca1aa692079161f9df7524bd9eca5e53ff5911271b8551e0f868b7b5a92b84776df28a3
feature_extractor/preprocessor_config.json342 B (342 B)5294955ff7801083f720b34b55d0f1f51313c5c52a1da83b5e1032aaeef397552ddb408dca0d8cd1dc58f61bf6abf38d6f33a0a2
model_index.json541 B (541 B)daf7e2e2dfc64fb437a2b44525667111b00cb9fce2f6f22e274374010aec30c79eb2d6e53fff4a36ac0225523a92cb2d41a83347
safety_checker/config.json4.6 KB (4,723 B)5dbd88952e7e521aa665e5052e6db7def3641d035dd77a06cbd9b155060bd58deb81ffd1aafc1c6d7970acac674c1128bd4edfe2
safety_checker/model.fp16.safetensors579.9 MB (608,018,440 B)5b63f5d9392a5b6bf7352010e02b37b17973635a08902f19b1cfebd7c989f152fc0507bef6898c706a91d666509383122324b511
safety_checker/model.safetensors1.13 GB (1,215,981,830 B)d698395fae9500ff20b10baae55c22a5aa20ad0f9d6a233ff6fd5ccb9f76fd99618d73369c52dd3d8222376384d0e601911089e8
safety_checker/pytorch_model.bin1.13 GB (1,216,061,799 B)3af806e53d0d0e38af867a6167f1e334d79dc80f193490b58ef62739077262e833bf091c66c29488058681ac25cf7df3d8190974
safety_checker/pytorch_model.fp16.bin579.9 MB (608,103,564 B)b6cc73ff49dabf40ad9a35d18659686f8e41179922ba87205445ad5def13e54919b038dcfb7321ec1c3f4b12487d4fba6036125f
scheduler/scheduler_config.json308 B (308 B)82d05b0e688d7ea94675678646c427907419346e699cce92eb7c122e2eb7dfdea78e6187fda76a5ed4a8e42319b85610e620e091
text_encoder/config.json617 B (617 B)4d3e873ab5086ad989f407abd50fdce66db8d657845df614cb9327ae7bbea027316246fae917827407da6df13572e41b5f93b4cc
text_encoder/model.fp16.safetensors234.7 MB (246,144,864 B)7a5338aeb9acba67832c3a624e20e2497fb371ae77795e2023adcf39bc29a884661950380bd093cf0750a966d473d1718dc9ef4e
text_encoder/model.safetensors469.5 MB (492,265,874 B)b9146d59dc9002e0a98136a296fa1217c3dd39e8d008943c017f0092921106440254dbbe00b6a285f7883ec8ba160c3faad88334
text_encoder/pytorch_model.bin469.5 MB (492,305,335 B)8b03c5eb2eb0218dde9e34c0d6c60a057858f7da770a47a9ffdcfda0b05506a7888ed714d06131d60267e6cf52765d61cf59fd67
text_encoder/pytorch_model.fp16.bin234.8 MB (246,187,076 B)aa919d3bedc5ed13804ab87e6cf81b03b9da3fa905eee911f195625deeab86f0b22b115d7d8bc3adbfc1404f03557f7e4e6a8fd7
tokenizer/merges.txt512.3 KB (524,619 B)76e821f1b6f0a9709293c3b6b51ed90980b3166b9fd691f7c8039210e0fced15865466c65820d09b63988b0174bfe25de299051a
tokenizer/special_tokens_map.json472 B (472 B)2c2130b544c0c5a72d5d00da071ba130a9800fb2c4864a9376a8401918425bed71fc14fc0e81f9b59ec45c1cf96cccb2df508eac
tokenizer/tokenizer_config.json806 B (806 B)5ba7bf706515bc60487ad0e1816b4929b82542d600439066fcba73de57644cf41e4e3b9f2dbb09d7f3fc2005898ba52399045882
tokenizer/vocab.json1.0 MB (1,059,962 B)469be27c5c010538f845f518c4f5e8574c78f7c8e089ad92ba36837a0d31433e555c8f45fe601ab5c221d4f607ded32d9f7a4349
unet/config.json743 B (743 B)1a02ee8abc93e840ffbcb2d68b66ccbcb74b3ab378f474de6bab3d893868f37be97b636ae65c0df3073ed3256ca458ff599b5f96
unet/diffusion_pytorch_model.bin3.20 GB (3,438,354,725 B)b950a88f20deff4e87021fed297eada77c81353ac7da0e21ba7ea50637bee26e81c220844defdf01aafca02b2c42ecdadb813de4
unet/diffusion_pytorch_model.fp16.bin1.60 GB (1,719,327,893 B)2cd402158d2246a585647e27f75034f3efe72f7130eb3dc47c90e4a55476332b284b2331774c530edbbb83b70cacdd9e7b91af92
unet/diffusion_pytorch_model.fp16.safetensors1.60 GB (1,719,125,304 B)7473a9adffd62a924d9a9da0a75fc24dc8099105c83908253f9a64d08c25fc90874c9c8aef9a329ce1ca5fb909d73b0c83d1ea21
unet/diffusion_pytorch_model.non_ema.bin3.20 GB (3,438,366,373 B)8a84850d149beb24618f8704ce56f1cbbd10338842bc8b8f3af32866db3c7bb5bcf591ab04438296c2712246d7a640bde5a5ddc1
unet/diffusion_pytorch_model.non_ema.safetensors3.20 GB (3,438,167,536 B)cdee4016212e11b56eacf2f2ed5eef2510df49d6cd1b6db09a81cb1d39fbd245a89c1e3db9da9fe8eba5e8f9098ea6c4994221d3
unet/diffusion_pytorch_model.safetensors3.20 GB (3,438,167,540 B)9444cb5d6206f335e3d2477eed6051a26b86be7819da7aaa4b880e59d56843f1fcb4dd9b599c28a1d9d9af7c1143057c8ffae9f1
v1-5-pruned-emaonly.ckpt3.97 GB (4,265,380,512 B)b2b1377bd8d0c9a7c214a36aea003486dc906547cc6cb27103417325ff94f52b7a5d2dde45a7515b25c255d8e396c90014281516
v1-5-pruned-emaonly.safetensors3.97 GB (4,265,146,304 B)3b2aa9f1e71b1de44d7df73a35ba1f7f64f5834a6ce0161689b3853acaa03779ec93eafe75a02f4ced659bee03f50797806fa2fa
v1-5-pruned.ckpt7.17 GB (7,703,807,346 B)e27e9f56b1506147ea504b85e676fbfd81668b7be1441589a6f3c5a53f5f54d0975a18a7feb7cdf0b0dee276dfc3331ae376a053
v1-5-pruned.safetensors7.17 GB (7,703,324,286 B)d216479e7a695548346fec3cc69510258b6e77491a189f0be69d6106a48548e7626207dddd7042a418dbf372cefd05e0cdba61b6
v1-inference.yaml1.8 KB (1,873 B)d4effe569e897369918625f9d8be5603a0e6a0d620b7f0acae54d1f88384a6ca15b5d62c0ee4fbbca07ff72f3761fe936083210d
vae/config.json547 B (547 B)55d78924fee13e4220f24320127c5f16284e13b9786a7d21647ddea6a04b9675c03d3cb45e90a2f3c6da5fbda2c54ade040036de
vae/diffusion_pytorch_model.bin319.2 MB (334,707,217 B)a178492b9b2b1d26551ce182c8ac9625255996aa1b134cded8eb78b184aefb8805b6b572f36fa77b255c483665dda931fa0130c5
vae/diffusion_pytorch_model.fp16.bin159.7 MB (167,405,651 B)b1c8b915ba734484d9a81e2105b64681ba8e0b84b7643b3e40b9f128eda5fe174fea73c3ef3903562651fb344a79439709c2e503
vae/diffusion_pytorch_model.fp16.safetensors159.6 MB (167,335,342 B)9968dbd195e2d4fb7d156759b04430c48e4ce2474fbcf0ebe55a0984f5a5e00d8c4521d52359af7229bb4d81890039d2aa16dd7c
vae/diffusion_pytorch_model.safetensors319.1 MB (334,643,276 B)dab319e5dc64af7c11109c6ae05282296af1f9eba2b5134f4dbc140d9c11f11cba3233099e00af40f262f136c691fb7d38d2194c

Cite this release

Canonical URL
https://aiseedbank.org/models/stable-diffusion-v1-5_stable-diffusion-v1-5/
Slug
stable-diffusion-v1-5_stable-diffusion-v1-5
Infohash
617b20705d72e5a62c581207828c42740fb8c8e0
License
creativeml-openrail-m
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: stable-diffusion-v1-5_stable-diffusion-v1-5.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorystable-diffusion-v1-5/stable-diffusion-v1-5
Revision (pinned)451f4fe16113bff5a5d2269ed5ad43b0592e9a14
Fetched at2026-09-04T06:05:43Z
License at fetchcreativeml-openrail-m
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T06:14:47Z

creativeml-openrail-m44.01 GB (47,259,938,101 bytes)diffuserssafetensorsstable-diffusionstable-diffusion-diffuserstext-to-imageendpoints_compatiblediffusers:StableDiffusionPipelinepaper: 2207.12598paper: 2112.10752paper: 2103.00020paper: 2205.11487paper: 1910.09700