# Stable Diffusion 1.5

[Stable Diffusion](https://www.edgepedia.org/zh/stable-diffusion) 1.5（检查点名称 stable-diffusion-v1-5）是一个开放权重的潜在文生图扩散模型，于2022年10月发布，基于 CompVis 开发的 Stable Diffusion v1 架构，由 [Stability AI](https://www.edgepedia.org/zh/stability-ai) 捐赠算力、LAION 提供支持，并由 Runway 在 [Hugging Face](https://www.edgepedia.org/zh/hugging-face) 上发布。它从更早的 v1-2 检查点初始化，在 LAION-2B（en）的“laion-aesthetics v2 5+”子集上以512x512分辨率微调了595,000步，并采用10%的文本条件丢弃率以改进无分类器引导采样。<sup>[1](https://huggingface.co/runwayml/stable-diffusion-v1-5)</sup> 尽管 Midjourney 和较新的闭源模型开箱即用通常优于它，SD 1.5 却成为开放微调、LoRA 和 UI 生态的基础，Civitai 等平台上相当一部分社区模型至今仍是1.5的衍生品。<sup>[2](https://digital-humans.org/foundation-models/stable-diffusion-the-open-image-model-family/)</sup>

| 关键事实 | 详情 |
|---|---|
| 发布 | 2022年10月，v1-5检查点由 Runway 托管于 Hugging Face<sup>[3](https://openlaboratory.com/models/sd15/)</sup> |
| 开发者 | Robin Rombach 与 Patrick Esser；基础模型由 CompVis 开发，Stability AI 提供算力，LAION 提供支持<sup>[1](https://huggingface.co/runwayml/stable-diffusion-v1-5)</sup><sup> • </sup><sup>[4](https://github.com/compvis/stable-diffusion/)</sup> |
| 架构 | 8倍下采样自编码器、8.6亿参数 UNet、1.23亿参数 CLIP ViT-L/14 文本编码器<sup>[4](https://github.com/compvis/stable-diffusion/)</sup> |
| 原生分辨率 | 512x512（先在256x256预训练，再在512x512微调）<sup>[4](https://github.com/compvis/stable-diffusion/)</sup> |
| 硬件 | 可在显存低于10 GB的 GPU 上运行<sup>[4](https://github.com/compvis/stable-diffusion/)</sup> |
| 训练数据 | LAION-2B（en）及其子集，属于 LAION-5B（逾五十亿图文对）的一部分<sup>[1](https://huggingface.co/runwayml/stable-diffusion-v1-5)</sup><sup> • </sup><sup>[3](https://openlaboratory.com/models/sd15/)</sup> |
| 许可证 | CreativeML OpenRAIL-M，允许商用与非商用，但附有基于用途的限制<sup>[5](https://stability.ai/news-updates/stable-diffusion-public-release)</sup> |

## 工作原理与训练方式

Stable Diffusion v1 是潜在扩散架构的一种具体配置：8倍下采样自编码器将 H x W x 3 的图像压缩为 H/8 x W/8 x 4 的潜在表示，冻结的 CLIP ViT-L/14 文本编码器嵌入提示词，8.6亿参数的 UNet 在潜在空间中去噪，通过交叉注意力以文本为条件，并以噪声预测损失训练。<sup>[1](https://huggingface.co/runwayml/stable-diffusion-v1-5)</sup><sup> • </sup><sup>[4](https://github.com/compvis/stable-diffusion/)</sup> 在压缩的潜在空间而非像素空间中工作，正是512x512模型能跑在消费级硬件上的原因：Stability 的发布公告称其在显存低于10 GB时即可运行，几秒内生成512x512图像。<sup>[6](https://web.archive.org/web/20220905105009/https:/stability.ai/blog/stable-diffusion-announcement)</sup>

公开的训练配置使用 32 x 8 块 A100 GPU（共256块），优化器为 AdamW，[梯度累积](https://www.edgepedia.org/zh/gradient-accumulation)为2，有效批大小为2048，学习率在10,000步内预热至0.0001后保持不变。<sup>[1](https://huggingface.co/runwayml/stable-diffusion-v1-5)</sup> 模型卡片记录了一条检查点谱系：v1-1 在 laion2B-en 上以256x256训练237k步，又在 laion-high-resolution 上以512x512训练194k步；v1-2 在 laion-improved-aesthetics 上训练515k步；v1-3 训练195k步；v1-4 在 laion-aesthetics v2 5+ 上训练225k步；v1-5 在同一美学子集上又训练了595k步。<sup>[1](https://huggingface.co/runwayml/stable-diffusion-v1-5)</sup> 母数据集 LAION-5B 包含从公开网络数据中抓取的逾五十亿图文对，其子集按语义内容、分辨率、美学评分和语言覆盖范围筛选。<sup>[3](https://openlaboratory.com/models/sd15/)</sup>

模型卡片坦率说明了数据质量：未进行去重，且观察到模型对重复训练图像有一定程度的记忆化。卡片还声明训练数据包含成人内容，模型在没有额外安全机制的情况下不适合产品使用。<sup>[1](https://huggingface.co/runwayml/stable-diffusion-v1-5)</sup>

## 发布历程与许可

Stability AI 于2022年8月宣布发布的第一阶段，通过访问申请表向研究人员分发权重，模型由 Hugging Face 托管并设门控。<sup>[6](https://web.archive.org/web/20220905105009/https:/stability.ai/blog/stable-diffusion-announcement)</sup> v1-5 检查点随后于2022年10月发布，以 RunwayML 组织名义发布于 Hugging Face，而基础模型的工作来自 CompVis、Stability AI 和 LAION。<sup>[3](https://openlaboratory.com/models/sd15/)</sup>

权重采用 CreativeML OpenRAIL-M 许可证，改编自 [BigScience](https://www.edgepedia.org/zh/bigscience) 与 RAIL Initiative 的负责任 AI 许可工作。<sup>[1](https://huggingface.co/runwayml/stable-diffusion-v1-5)</sup> Stability 称其宽松，允许商用与非商用，但附有两项义务：分发模型时必须附带许可证，且任何基于该模型构建的服务都必须向最终用户提供该许可证。<sup>[5](https://stability.ai/news-updates/stable-diffusion-public-release)</sup> CompVis 另附一项告诫：虽然许可证条款允许商用，但不建议在没有额外安全机制和考量的情况下将所提供的权重用于服务或产品，并称这些权重为研究产物。<sup>[4](https://github.com/compvis/stable-diffusion/)</sup>

配套的 stable-diffusion-inpainting 检查点从 v1-5 续训，在“laion-aesthetics v2 5+”上以512x512又进行了440,000步修复训练，为 UNet 增加5个输入通道（4个用于编码后的掩码图像，1个用于掩码），其权重初始化为零。<sup>[7](https://web.archive.org/web/20230921025150/https:/huggingface.co/runwayml/stable-diffusion-v1-5)</sup>

## 基准测试：厂商与独立评测

厂商评测协议有文档记录：50步 PLMS，从 COCO2017 验证集抽取10,000条随机提示词，在512x512下评估，无分类器引导尺度从1.5到8.0，并明确未针对 FID 分数进行优化。<sup>[1](https://huggingface.co/runwayml/stable-diffusion-v1-5)</sup> FID（Fréchet Inception Distance，真实感度量）和 CLIP 分数（文本-图像对齐度量）是 Stable Diffusion 模型通常报告的指标。<sup>[3](https://openlaboratory.com/models/sd15/)</sup> 然而，本文检索到的来源中没有 SD 1.5 的独立 FID、CLIP 或人类偏好数据；只有厂商协议有文档记录，因此无法据此进行厂商与独立评测的对比。

## 关键数字

- 训练数据：LAION-2B（en）子集，取自 LAION-5B 的逾五十亿图文对。<sup>[1](https://huggingface.co/runwayml/stable-diffusion-v1-5)</sup><sup> • </sup><sup>[3](https://openlaboratory.com/models/sd15/)</sup>
- 算力：32 x 8 块 A100 GPU，有效批大小2048。<sup>[1](https://huggingface.co/runwayml/stable-diffusion-v1-5)</sup>
- 微调：v1-5 在 v1-2 检查点基础上以512x512训练595,000步。<sup>[1](https://huggingface.co/runwayml/stable-diffusion-v1-5)</sup>
- 资源占用：8.6亿参数 UNet 加1.23亿参数文本编码器，在显存低于10 GB时运行。<sup>[4](https://github.com/compvis/stable-diffusion/)</sup>
- 已记录的局限：照片真实感不完美、无法渲染清晰文字、组合能力弱、非英语性能下降、自编码器有损。<sup>[1](https://huggingface.co/runwayml/stable-diffusion-v1-5)</sup>

## 生态：1.5为何成为标准

SD 1.5 基于 UNet 的架构在512x512原生分辨率下足够小，可在中端消费级 GPU 上运行，整个第一代微调文化（自定义风格模型、早期 LoRA 生态、最初的 [ControlNet](https://www.edgepedia.org/zh/controlnet) 模型）都建立在其上。<sup>[2](https://digital-humans.org/foundation-models/stable-diffusion-the-open-image-model-family/)</sup> 数年之后，Civitai 等平台上相当一部分社区模型仍是1.5的衍生品，因为围绕它的工具生态极为深厚。<sup>[2](https://digital-humans.org/foundation-models/stable-diffusion-the-open-image-model-family/)</sup>

与后继者和竞争对手相比，权衡在于质量与可定制性。若论单条提示词生成单张图像的最佳质量，Midjourney（现已到 v7）和较新的闭源模型（Imagen 系列、OpenAI 图像生成、Flux Pro）开箱即用通常优于 Stable Diffusion；SD 的持久优势在于可下载权重、LoRA 训练、可堆叠 ControlNet 和自定义部署。<sup>[2](https://digital-humans.org/foundation-models/stable-diffusion-the-open-image-model-family/)</sup> 这一谱系本身在新的管理下延续：[Robin Rombach](https://www.edgepedia.org/zh/robin-rombach) 和原研究团队的其他核心成员离开 Stability，创立了 [Black Forest Labs](https://www.edgepedia.org/zh/black-forest-labs)，其 Flux 模型被视为 SD 谱系的精神后继。<sup>[2](https://digital-humans.org/foundation-models/stable-diffusion-the-open-image-model-family/)</sup> 本文检索到的来源未提供 SD 1.5 与 SDXL、SD 3 或 Flux 之间的硬件或速度定量对比，也未对 SD 2.0 采用率落后于 SD 1.5 的原因给出有实测依据的解释。

## 安全缓解措施与争议

发布包默认包含一个基于 AI 的安全分类器，旨在移除不想要的输出，其参数可由用户轻松调整。<sup>[5](https://stability.ai/news-updates/stable-diffusion-public-release)</sup> 在 Diffusers 流水线中，安全检查器在生成后将生成图像的嵌入与 CLIPTextModel 嵌入空间中已知的硬编码 NSFW 概念进行比对，这些概念被有意隐藏以降低过滤器被逆向工程的可能性。<sup>[1](https://huggingface.co/runwayml/stable-diffusion-v1-5)</sup>

训练数据争议直接源于数据集本身。从公开网络抓取的数十亿图文对构成的 LAION 数据集包含受版权保护的图像和带水印的图库照片。<sup>[2](https://digital-humans.org/foundation-models/stable-diffusion-the-open-image-model-family/)</sup> 在美国，视觉艺术家提起的集体诉讼 Andersen 诉 Stability AI 案指控其作品未经同意被使用，部分诉求在驳回动议后得以继续，另有 [Getty Images](https://www.edgepedia.org/zh/getty-images) 提起的单独诉讼正在进行；以受版权保护作品进行训练是否合法仍无定论。<sup>[2](https://digital-humans.org/foundation-models/stable-diffusion-the-open-image-model-family/)</sup>

## References

1. Stable Diffusion v1-5 Model Card, RunwayML (Hugging Face). https://huggingface.co/runwayml/stable-diffusion-v1-5
2. Stable Diffusion: the open image model family, digital-humans.org. https://digital-humans.org/foundation-models/stable-diffusion-the-open-image-model-family/
3. Stable Diffusion 1.5, Open Laboratory. https://openlaboratory.com/models/sd15/
4. CompVis/stable-diffusion, official repository. https://github.com/compvis/stable-diffusion/
5. Stable Diffusion Public Release, Stability AI announcement. https://stability.ai/news-updates/stable-diffusion-public-release
6. Stable Diffusion launch announcement, Stability AI (archived, August-September 2022). https://web.archive.org/web/20220905105009/https:/stability.ai/blog/stable-diffusion-announcement
7. Stable Diffusion v1-5 Model Card (archived September 2023 snapshot). https://web.archive.org/web/20230921025150/https:/huggingface.co/runwayml/stable-diffusion-v1-5

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026 · Edited: Oct 11, 2026; Oct 21, 2026; Oct 25, 2026 · Last review: Sep 30, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › Model families and named models › Image generation models

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/stable-diffusion-1-5

English original: https://www.edgepedia.org/stable-diffusion-1-5
