Stable Diffusion
Sign in to saveaplicación de inteligencia artificial capaz de generar imágenes de alta calidad a partir de instrucciones escritas y otras imágenes
Key facts
- Original authors
- Runway (company) , CompVis, and Stability AI
- Developer
- Stability AI
- Initial release
- August 22, 2022
- Stable release
- SD 3.5 (model) / October 22, 2024
- Written in
- Python
- Type
- Text-to-image model
- License
- Stability AI Community License
- Website
- stability .ai /stable-image
- Repository
- github .com /Stability-AI /generative-models
via Wikipedia infobox
Described at

With Stable Diffusion, you may never believe what you see online again - Ars Technica
AI image synthesis goes open source, with big implications.
arstechnica.com →Link to a page describing this subject · 40,000 chars · not written by Vinony
Source code
Stable Diffusion is a latent text-to-image diffusion model. Thanks to a generous compute donation from Stability AI and support from LAION, we were able to train a Latent Diffusion Model on 512x512 images from a subset of the LAION-5B database. Similar to Google's Imagen, this model uses a frozen CLIP ViT-L/14 text encoder to condition the model on text prompts. With its 860M UNet and 123M text encoder, the model is relatively lightweight and runs on a GPU with at least 10GB VRAM. See this section below and the model card. Stable Diffusion v1 refers to a specific configuration of the model architecture that uses a downsampling-factor 8 autoencoder with an 860M UNet and CLIP ViT-L/14 text encoder for the diffusion model. The model was pretrained on 256x256 images and then finetuned on 512x512 images. Note: Stable Diffusion v1 is a general text-to-image diffusion model and therefore mirrors biases and (mis-)conceptions that are present in its training data. Details on the training procedure and data, as well as the intended use of the model can be found in the corresponding model card. 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. Stable Diffusion is a latent diffusion model conditioned on the (non-pooled) text embeddings of a CLIP ViT-L/14 text encoder. We provide a reference script for sampling, but there also exists a diffusers integration, which we expect to see more active community development. Note: The inference config for all v1 versions is designed to be used with EMA-only checkpoints. For this reason use ema=False is set in the configuration, otherwise the code will try to switch from non-EMA to EMA weights. If you want to examine the effect of EMA vs no EMA, we provide "full" checkpoints which contain both types of weights. For these, use ema=False will load and use the non-EMA weights. By using a diffusion-denoising mechanism as first proposed by SDEdit, the model can be used for different tasks such as text-guided image-to-image translation and upscaling. Similar to the txt2img sampling script, we provide a script to perform image modification with Stable Diffusion. Here, strength is a value between 0.0 and 1.0, that controls the amount of noise that is added to the input image. Values that approach 1.0 allow for lots of variations but will also produce images that are not semantically consistent with the input. See the following example. This procedure can, for example, also be used to upscale samples from the base model. Comments Our codebase for the diffusion models builds heavily on OpenAI's ADM codebase and Thanks for open-sourcing! The implementation of the transformer encoder is from x-transformers by lucidrains.
Excerpt from the source-code README · 12,436 chars · not written by Vinony
Article · Español
Stable Diffusion es un modelo de aprendizaje automático desarrollado por Stability AI para generar imágenes digitales de alta calidad a partir de descripciones en lenguaje natural. El modelo se puede usar para diferentes tareas, como la generación de traducciones de imagen a imagen guiadas por mensajes de texto y la mejora de imágenes. A diferencia de modelos de la competencia como DALL-E, Stable Diffusion es de código abierto y no limita artificialmente las imágenes que produce. Los críticos han expresado su preocupación por la ética de la IA, afirmando que el modelo se puede utilizar para crear deepfakes. Puede ejecutarse en el hardware del usuario equipado con una tarjeta gráfica (GPU), es completamente gratis, se puede acceder a él online y fue elogiado por PC World como "la próxima aplicación revolucionaria para su PC". Desde su lanzamiento inicial, más de 200,000 personas han descargado el código.
Abstract from DBpedia / Wikipedia · CC BY-SA