Software:Stable Diffusion

From HandWiki
Short description: Image-generating machine learning model
Stable Diffusion
Astronaut Riding a Horse (SDXL).jpg
An image generated by Stable Diffusion based on the text prompt "a photograph of an astronaut riding a horse"
Original author(s)Runway, CompVis, and Stability AI
Developer(s)Stability AI
Initial releaseAugust 22, 2022
Stable release
SDXL 1.0 (model)[1] / July 26, 2023
Written inPython[2]
Operating systemAny that support CUDA kernels
TypeText-to-image model
LicenseCreative ML OpenRAIL-M

Stable Diffusion is a deep learning, text-to-image model released in 2022 based on diffusion techniques. It is considered to be a part of the ongoing AI spring.

It is primarily used to generate detailed images conditioned on text descriptions, though it can also be applied to other tasks such as inpainting, outpainting, and generating image-to-image translations guided by a text prompt.[3] Its development involved researchers from the CompVis Group at Ludwig Maximilian University of Munich and Runway with a computational donation by Stability AI and training data from non-profit organizations.[4][5][6][7]

Stable Diffusion is a latent diffusion model, a kind of deep generative artificial neural network. Its code and model weights have been open sourced,[8] and it can run on most consumer hardware equipped with a modest GPU with at least 4 GB VRAM. This marked a departure from previous proprietary text-to-image models such as DALL-E and Midjourney which were accessible only via cloud services.[9][10]

Development

The development of Stable Diffusion was funded and shaped by the start-up company Stability AI.[10][11][12][13] The technical license for the model was released by the CompVis group at Ludwig Maximilian University of Munich.[10] Development was led by Patrick Esser of Runway and Robin Rombach of CompVis, who were among the researchers who had earlier invented the latent diffusion model architecture used by Stable Diffusion.[7] Stability AI also credited EleutherAI and LAION (a German nonprofit which assembled the dataset on which Stable Diffusion was trained) as supporters of the project.[7]

In October 2022, Stability AI raised US$101 million in a round led by Lightspeed Venture Partners and Coatue Management.[14]

Technology

Diagram of the latent diffusion architecture used by Stable Diffusion
The denoising process used by Stable Diffusion. The model generates images by iteratively denoising random noise until a configured number of steps have been reached, guided by the CLIP text encoder pretrained on concepts along with the attention mechanism, resulting in the desired image depicting a representation of the trained concept.

Architecture

Stable Diffusion uses a kind of diffusion model (DM), called a latent diffusion model (LDM) developed by the CompVis group at LMU Munich.[15][8] Introduced in 2015, diffusion models are trained with the objective of removing successive applications of Gaussian noise on training images, which can be thought of as a sequence of denoising autoencoders. Stable Diffusion consists of 3 parts: the variational autoencoder (VAE), U-Net, and an optional text encoder.[16] The VAE encoder compresses the image from pixel space to a smaller dimensional latent space, capturing a more fundamental semantic meaning of the image.[15] Gaussian noise is iteratively applied to the compressed latent representation during forward diffusion.[16] The U-Net block, composed of a ResNet backbone, denoises the output from forward diffusion backwards to obtain a latent representation. Finally, the VAE decoder generates the final image by converting the representation back into pixel space.[16]

The denoising step can be flexibly conditioned on a string of text, an image, or another modality. The encoded conditioning data is exposed to denoising U-Nets via a cross-attention mechanism.[16] For conditioning on text, the fixed, pretrained CLIP ViT-L/14 text encoder is used to transform text prompts to an embedding space.[8] Researchers point to increased computational efficiency for training and generation as an advantage of LDMs.[7][15]

With 860 millions of parameters in the U-Net and 123 millions in the text encoder, Stable Diffusion is considered relatively lightweight by 2022 standards, and unlike other diffusion models, it can run on consumer GPUs.[17]

Training data

Stable Diffusion was trained on pairs of images and captions taken from LAION-5B, a publicly available dataset derived from Common Crawl data scraped from the web, where 5 billion image-text pairs were classified based on language and filtered into separate datasets by resolution, a predicted likelihood of containing a watermark, and predicted "aesthetic" score (e.g. subjective visual quality).[18] The dataset was created by LAION, a German non-profit which receives funding from Stability AI.[18][19] The Stable Diffusion model was trained on three subsets of LAION-5B: laion2B-en, laion-high-resolution, and laion-aesthetics v2 5+.[18] A third-party analysis of the model's training data identified that out of a smaller subset of 12 million images taken from the original wider dataset used, approximately 47% of the sample size of images came from 100 different domains, with Pinterest taking up 8.5% of the subset, followed by websites such as WordPress, Blogspot, Flickr, DeviantArt and Wikimedia Commons.[citation needed] An investigation by Bayerischer Rundfunk showed that LAION's datasets, hosted on Hugging Face, contain large amounts of private and sensitive data.[20]

Training procedures

The model was initially trained on the laion2B-en and laion-high-resolution subsets, with the last few rounds of training done on LAION-Aesthetics v2 5+, a subset of 600 million captioned images which the LAION-Aesthetics Predictor V2 predicted that humans would, on average, give a score of at least 5 out of 10 when asked to rate how much they liked them.[21][18][22] The LAION-Aesthetics v2 5+ subset also excluded low-resolution images and images which LAION-5B-WatermarkDetection identified as carrying a watermark with greater than 80% probability.[18] Final rounds of training additionally dropped 10% of text conditioning to improve Classifier-Free Diffusion Guidance.[23]

The model was trained using 256 Nvidia A100 GPUs on Amazon Web Services for a total of 150,000 GPU-hours, at a cost of $600,000.[24][25][26]

Limitations

Stable Diffusion has issues with degradation and inaccuracies in certain scenarios. Initial releases of the model were trained on a dataset that consists of 512×512 resolution images, meaning that the quality of generated images noticeably degrades when user specifications deviate from its "expected" 512×512 resolution;[27] the version 2.0 update of the Stable Diffusion model later introduced the ability to natively generate images at 768×768 resolution.[28] Another challenge is in generating human limbs due to poor data quality of limbs in the LAION database.[29] The model is insufficiently trained to understand human limbs and faces due to the lack of representative features in the database, and prompting the model to generate images of such type can confound the model.[30] Stable Diffusion XL (SDXL) version 1.0, released in July 2023, introduced native 1024x1024 resolution and improved generation for limbs and text.[31][32]

Accessibility for individual developers can also be a problem. In order to customize the model for new use cases that are not included in the dataset, such as generating anime characters ("waifu diffusion"),[33] new data and further training are required. Fine-tuned adaptations of Stable Diffusion created through additional retraining have been used for a variety of different use-cases, from medical imaging[34] to algorithmically generated music.[35] However, this fine-tuning process is sensitive to the quality of new data; low resolution images or different resolutions from the original data can not only fail to learn the new task but degrade the overall performance of the model. Even when the model is additionally trained on high quality images, it is difficult for individuals to run models in consumer electronics. For example, the training process for waifu-diffusion requires a minimum 30 GB of VRAM,[36] which exceeds the usual resource provided in such consumer GPUs as Nvidia's GeForce 30 series, which has only about 12 GB.[37]

The creators of Stable Diffusion acknowledge the potential for algorithmic bias, as the model was primarily trained on images with English descriptions.[25] As a result, generated images reinforce social biases and are from a western perspective, as the creators note that the model lacks data from other communities and cultures. The model gives more accurate results for prompts that are written in English in comparison to those written in other languages, with western or white cultures often being the default representation.[25]

End-user fine-tuning

To address the limitations of the model's initial training, end-users may opt to implement additional training to fine-tune generation outputs to match more specific use-cases, a process also referred to as personalization. There are three methods in which user-accessible fine-tuning can be applied to a Stable Diffusion model checkpoint:

  • An "embedding" can be trained from a collection of user-provided images, and allows the model to generate visually similar images whenever the name of the embedding is used within a generation prompt.[38] Embeddings are based on the "textual inversion" concept developed by researchers from Tel Aviv University in 2022 with support from Nvidia, where vector representations for specific tokens used by the model's text encoder are linked to new pseudo-words. Embeddings can be used to reduce biases within the original model, or mimic visual styles.[39]
  • A "hypernetwork" is a small pretrained neural network that is applied to various points within a larger neural network, and refers to the technique created by NovelAI developer Kurumuz in 2021, originally intended for text-generation transformer models. Hypernetworks steer results towards a particular direction, allowing Stable Diffusion-based models to imitate the art style of specific artists, even if the artist is not recognised by the original model; they process the image by finding key areas of importance such as hair and eyes, and then patch these areas in secondary latent space.[40]
  • DreamBooth is a deep learning generation model developed by researchers from Google Research and Boston University in 2022 which can fine-tune the model to generate precise, personalised outputs that depict a specific subject, following training via a set of images which depict the subject.[41]

Capabilities

The Stable Diffusion model supports the ability to generate new images from scratch through the use of a text prompt describing elements to be included or omitted from the output.[8] Existing images can be re-drawn by the model to incorporate new elements described by a text prompt (a process known as "guided image synthesis"[42]) through its diffusion-denoising mechanism.[8] In addition, the model also allows the use of prompts to partially alter existing images via inpainting and outpainting, when used with an appropriate user interface that supports such features, of which numerous different open source implementations exist.[43]

Stable Diffusion is recommended to be run with 10 GB or more VRAM, however users with less VRAM may opt to load the weights in float16 precision instead of the default float32 to tradeoff model performance with lower VRAM usage.[27]

Text to image generation

Demonstration of the effect of negative prompts on image generation
  • Top: no negative prompt
  • Centre: "green trees"
  • Bottom: "round stones, round rocks"

The text to image sampling script within Stable Diffusion, known as "txt2img", consumes a text prompt in addition to assorted option parameters covering sampling types, output image dimensions, and seed values. The script outputs an image file based on the model's interpretation of the prompt.[8] Generated images are tagged with an invisible digital watermark to allow users to identify an image as generated by Stable Diffusion,[8] although this watermark loses its efficacy if the image is resized or rotated.[44]

Each txt2img generation will involve a specific seed value which affects the output image. Users may opt to randomize the seed in order to explore different generated outputs, or use the same seed to obtain the same image output as a previously generated image.[27] Users are also able to adjust the number of inference steps for the sampler; a higher value takes a longer duration of time, however a smaller value may result in visual defects.[27] Another configurable option, the classifier-free guidance scale value, allows the user to adjust how closely the output image adheres to the prompt.[23] More experimentative use cases may opt for a lower scale value, while use cases aiming for more specific outputs may use a higher value.[27]

Additional text2img features are provided by front-end implementations of Stable Diffusion, which allow users to modify the weight given to specific parts of the text prompt. Emphasis markers allow users to add or reduce emphasis to keywords by enclosing them with brackets.[45] An alternative method of adjusting weight to parts of the prompt are "negative prompts". Negative prompts are a feature included in some front-end implementations, including Stability AI's own DreamStudio cloud service, and allow the user to specify prompts which the model should avoid during image generation. The specified prompts may be undesirable image features that would otherwise be present within image outputs due to the positive prompts provided by the user, or due to how the model was originally trained, with mangled human hands being a common example.[43][46]

Image modification

Demonstration of img2img modification
  • Left: Original image created with Stable Diffusion 1.5
  • Right: Modified image created with Stable Diffusion XL 1.0

Stable Diffusion also includes another sampling script, "img2img", which consumes a text prompt, path to an existing image, and strength value between 0.0 and 1.0. The script outputs a new image based on the original image that also features elements provided within the text prompt. The strength value denotes the amount of noise added to the output image. A higher strength value produces more variation within the image but may produce an image that is not semantically consistent with the prompt provided.[8]

The ability of img2img to add noise to the original image makes it potentially useful for data anonymization and data augmentation, in which the visual features of image data are changed and anonymized.[47] The same process may also be useful for image upscaling, in which the resolution of an image is increased, with more detail potentially being added to the image.[47] Additionally, Stable Diffusion has been experimented with as a tool for image compression. Compared to JPEG and WebP, the recent methods used for image compression in Stable Diffusion face limitations in preserving small text and faces.[48]

Additional use-cases for image modification via img2img are offered by numerous front-end implementations of the Stable Diffusion model. Inpainting involves selectively modifying a portion of an existing image delineated by a user-provided layer mask, which fills the masked space with newly generated content based on the provided prompt.[43] A dedicated model specifically fine-tuned for inpainting use-cases was created by Stability AI alongside the release of Stable Diffusion 2.0.[28] Conversely, outpainting extends an image beyond its original dimensions, filling the previously empty space with content generated based on the provided prompt.[43]

A depth-guided model, named "depth2img", was introduced with the release of Stable Diffusion 2.0 on November 24, 2022; this model infers the depth of the provided input image, and generates a new output image based on both the text prompt and the depth information, which allows the coherence and depth of the original input image to be maintained in the generated output.[28]

ControlNet

ControlNet[49] is a neural network architecture designed to manage diffusion models by incorporating additional conditions. It duplicates the weights of neural network blocks into a "locked" copy and a "trainable" copy. The "trainable" copy learns the desired condition, while the "locked" copy preserves the original model. This approach ensures that training with small datasets of image pairs does not compromise the integrity of production-ready diffusion models. The "zero convolution" is a 1×1 convolution with both weight and bias initialized to zero. Before training, all zero convolutions produce zero output, preventing any distortion caused by ControlNet. No layer is trained from scratch; the process is still fine-tuning, keeping the original model secure. This method enables training on small-scale or even personal devices.

Releases

Version number Release date Notes
1.0
1.4[50] August 2022
1.5[51] October 2022
2.0[52] November 2022 Retrained from scratch on a filtered dataset.[53]
2.1[54] December 2022
XL 1.0[55] July 2023 The XL 1.0 base model has 3.5 billion parameters, making it

around 3.5x larger than previous versions.[56]

XL Turbo[57] November 2023 Distilled from XL 1.0 to run in fewer diffusion steps.[58]

Usage and controversy

Stable Diffusion claims no rights on generated images and freely gives users the rights of usage to any generated images from the model provided that the image content is not illegal or harmful to individuals.[59]

The images Stable Diffusion was trained on have been filtered without human input, leading to some harmful images and large amounts of private and sensitive information appearing in the training data.[20]

As visual styles and compositions are not subject to copyright, it is often interpreted that users of Stable Diffusion who generate images of artworks should not be considered to be infringing upon the copyright of visually similar works.[60] However, individuals depicted in generated images may be protected by personality rights if their likeness is used,[60] and intellectual property such as recognizable brand logos still remain protected by copyright. Nonetheless, visual artists have expressed concern that widespread usage of image synthesis software such as Stable Diffusion may eventually lead to human artists, along with photographers, models, cinematographers, and actors, gradually losing commercial viability against AI-based competitors.[13]

Stable Diffusion is notably more permissive in the types of content users may generate, such as violent or sexually explicit imagery, in comparison to other commercial products based on generative AI.[61] Addressing the concerns that the model may be used for abusive purposes, CEO of Stability AI, Emad Mostaque, argues that "[it is] peoples' responsibility as to whether they are ethical, moral, and legal in how they operate this technology",[10] and that putting the capabilities of Stable Diffusion into the hands of the public would result in the technology providing a net benefit, in spite of the potential negative consequences.[10] In addition, Mostaque argues that the intention behind the open availability of Stable Diffusion is to end corporate control and dominance over such technologies, who have previously only developed closed AI systems for image synthesis.[10][61] This is reflected by the fact that any restrictions Stability AI places on the content that users may generate can easily be bypassed due to the availability of the source code.[62]

Controversy around photorealistic sexualized depictions of underage characters have been brought up, due to such images generated by Stable Diffusion being shared on websites such as Pixiv.[63]

Stable Diffusion appears in digital artworks for live shows and projection mapping. Since the fast development of it's engine, it is easier to create live visuals with it.[citation needed].

Litigation

In January of 2023, three artists: Sarah Andersen, Kelly McKernan, and Karla Ortiz filed a copyright infringement lawsuit against Stability AI, Midjourney, and DeviantArt, claiming that these companies have infringed the rights of millions of artists by training AI tools on five billion images scraped from the web without the consent of the original artists.[64] The same month, Stability AI was also sued by Getty Images for using its images in the training data.[12]

In July 2023, U.S. District Judge William Orrick inclined to dismiss most of the lawsuit filed by Andersen, McKernan, and Ortiz but allowed them to file a new complaint.[65]

License

Unlike models like DALL-E, Stable Diffusion makes its source code available,[66][8] along with the model (pretrained weights). It applies the Creative ML OpenRAIL-M license, a form of Responsible AI License (RAIL), to the model (M).[67] The license prohibits certain use cases, including crime, libel, harassment, doxing, "exploiting ... minors", giving medical advice, automatically creating legal obligations, producing legal evidence, and "discriminating against or harming individuals or groups based on ... social behavior or ... personal or personality characteristics ... [or] legally protected characteristics or categories".[68][69] The user owns the rights to their generated output images, and is free to use them commercially.[70]

See also

References

  1. "Announcing SDXL 1.0". https://stability.ai/blog/stable-diffusion-sdxl-1-announcement. 
  2. "How to Run Stable Diffusion Locally to Generate Images". August 23, 2022. https://www.assemblyai.com/blog/how-to-run-stable-diffusion-locally-to-generate-images/. 
  3. "Diffuse The Rest - a Hugging Face Space by huggingface". https://huggingface.co/spaces/huggingface/diffuse-the-rest. 
  4. "Leaked deck raises questions over Stability AI's Series A pitch to investors". https://sifted.eu/articles/stability-ai-fundraise-leak. 
  5. "Revolutionizing image generation by AI: Turning text into images". https://www.lmu.de/en/newsroom/news-overview/news/revolutionizing-image-generation-by-ai-turning-text-into-images.html. 
  6. Mostaque, Emad (November 2, 2022). "Stable Diffusion came from the Machine Vision & Learning research group (CompVis) @LMU_Muenchen" (in en). https://twitter.com/EMostaque/status/1587844074064822274?lang=en. 
  7. 7.0 7.1 7.2 7.3 "Stable Diffusion Launch Announcement". https://stability.ai/blog/stable-diffusion-announcement. 
  8. 8.0 8.1 8.2 8.3 8.4 8.5 8.6 8.7 8.8 "Stable Diffusion Repository on GitHub". CompVis - Machine Vision and Learning Research Group, LMU Munich. 17 September 2022. https://github.com/CompVis/stable-diffusion. 
  9. "The new killer app: Creating AI art will absolutely crush your PC". https://www.pcworld.com/article/916785/creating-ai-art-local-pc-stable-diffusion.html. 
  10. 10.0 10.1 10.2 10.3 10.4 10.5 Vincent, James (15 September 2022). "Anyone can use this AI art generator — that's the risk". The Verge. https://nsfwaitools.com/stable-diffusion-porn/. 
  11. "The AI Founder Taking Credit For Stable Diffusion's Success Has A History Of Exaggeration". https://www.forbes.com/sites/kenrickcai/2023/06/04/stable-diffusion-emad-mostaque-stability-ai-exaggeration/?sh=347a8fcb75c5. 
  12. 12.0 12.1 Korn, Jennifer (2023-01-17). "Getty Images suing the makers of popular AI art tool for allegedly stealing photos" (in en). https://www.cnn.com/2023/01/17/tech/getty-images-stability-ai-lawsuit/index.html. 
  13. 13.0 13.1 Heikkilä, Melissa (16 September 2022). "This artist is dominating AI-generated art. And he's not happy about it.". MIT Technology Review. https://www.technologyreview.com/2022/09/16/1059598/this-artist-is-dominating-ai-generated-art-and-hes-not-happy-about-it/. 
  14. Wiggers, Kyle (17 October 2022). "Stability AI, the startup behind Stable Diffusion, raises $101M" (in en). https://techcrunch.com/2022/10/17/stability-ai-the-startup-behind-stable-diffusion-raises-101m/. 
  15. 15.0 15.1 15.2 Rombach; Blattmann; Lorenz; Esser; Ommer (June 2022). "High-Resolution Image Synthesis with Latent Diffusion Models". International Conference on Computer Vision and Pattern Recognition (CVPR). New Orleans, LA. pp. 10684–10695. https://openaccess.thecvf.com/content/CVPR2022/papers/Rombach_High-Resolution_Image_Synthesis_With_Latent_Diffusion_Models_CVPR_2022_paper.pdf. Retrieved September 17, 2022. 
  16. 16.0 16.1 16.2 16.3 Alammar, Jay. "The Illustrated Stable Diffusion". https://jalammar.github.io/illustrated-stable-diffusion/. 
  17. "Stable diffusion pipelines". https://huggingface.co/docs/diffusers/v0.5.1/en/api/pipelines/stable_diffusion. 
  18. 18.0 18.1 18.2 18.3 18.4 Baio, Andy (2022-08-30). "Exploring 12 Million of the 2.3 Billion Images Used to Train Stable Diffusion's Image Generator" (in en-US). https://waxy.org/2022/08/exploring-12-million-of-the-images-used-to-train-stable-diffusions-image-generator/. 
  19. "This artist is dominating AI-generated art. And he's not happy about it." (in en). https://www.technologyreview.com/2022/09/16/1059598/this-artist-is-dominating-ai-generated-art-and-hes-not-happy-about-it/. 
  20. 20.0 20.1 Brunner, Katharina; Harlan, Elisa (2023-07-07). "We Are All Raw Material for AI". Bayerischer Rundfunk (BR). https://interaktiv.br.de/ki-trainingsdaten/en/index.html. 
  21. Schuhmann, Christoph (2022-11-02), CLIP+MLP Aesthetic Score Predictor, https://github.com/christophschuhmann/improved-aesthetic-predictor, retrieved 2022-11-02 
  22. "LAION-Aesthetics | LAION" (in en). https://laion.ai/blog/laion-aesthetics. 
  23. 23.0 23.1 Ho, Jonathan; Salimans, Tim (2022-07-25). "Classifier-Free Diffusion Guidance". arXiv:2207.12598 [cs.LG].
  24. Mostaque, Emad (August 28, 2022). "Cost of construction" (in en). https://twitter.com/emostaque/status/1563870674111832066. 
  25. 25.0 25.1 25.2 "CompVis/stable-diffusion-v1-4 · Hugging Face". https://huggingface.co/CompVis/stable-diffusion-v1-4. 
  26. Wiggers, Kyle (2022-08-12). "A startup wants to democratize the tech behind DALL-E 2, consequences be damned" (in en-US). https://techcrunch.com/2022/08/12/a-startup-wants-to-democratize-the-tech-behind-dall-e-2-consequences-be-damned/. 
  27. 27.0 27.1 27.2 27.3 27.4 "Stable Diffusion with 🧨 Diffusers". https://huggingface.co/blog/stable_diffusion. 
  28. 28.0 28.1 28.2 "Stable Diffusion 2.0 Release". https://stability.ai/blog/stable-diffusion-v2-release. 
  29. "LAION" (in en). https://laion.ai/. 
  30. "Generating images with Stable Diffusion" (in en). 2022-08-24. https://blog.paperspace.com/generating-images-with-stable-diffusion/. 
  31. "Announcing SDXL 1.0" (in en-GB). https://stability.ai/blog/stable-diffusion-sdxl-1-announcement. 
  32. Edwards, Benj (2023-07-27). "Stability AI releases Stable Diffusion XL, its next-gen image synthesis model" (in en-us). https://arstechnica.com/information-technology/2023/07/stable-diffusion-xl-puts-ai-generated-visual-worlds-at-your-gpus-command/. 
  33. "hakurei/waifu-diffusion · Hugging Face". https://huggingface.co/hakurei/waifu-diffusion. 
  34. Chambon, Pierre; Bluethgen, Christian; Langlotz, Curtis P.; Chaudhari, Akshay (2022-10-09). "Adapting Pretrained Vision-Language Foundational Models to Medical Imaging Domains". arXiv:2210.04133 [cs.CV].
  35. Seth Forsgren; Hayk Martiros. "Riffusion - Stable diffusion for real-time music generation". https://www.riffusion.com/about. 
  36. Mercurio, Anthony (2022-10-31), Waifu Diffusion, https://github.com/harubaru/waifu-diffusion/blob/6bf942eb6368ebf6bcbbb24b6ba8197bda6582a0/docs/en/training/README.md, retrieved 2022-10-31 
  37. Smith, Ryan. "NVIDIA Quietly Launches GeForce RTX 3080 12GB: More VRAM, More Power, More Money". https://www.anandtech.com/show/17204/nvidia-quietly-launches-geforce-rtx-3080-12gb-more-vram-more-power-more-money. 
  38. Dave James (October 28, 2022). "I thrashed the RTX 4090 for 8 hours straight training Stable Diffusion to paint like my uncle Hermann". https://www.pcgamer.com/nvidia-rtx-4090-stable-diffusion-training-aharon-kahana/. 
  39. Gal, Rinon; Alaluf, Yuval; Atzmon, Yuval; Patashnik, Or; Bermano, Amit H.; Chechik, Gal; Cohen-Or, Daniel (2022-08-02). "An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversion". arXiv:2208.01618 [cs.CV].
  40. "NovelAI Improvements on Stable Diffusion". October 11, 2022. https://blog.novelai.net/novelai-improvements-on-stable-diffusion-e10d38db82ac. 
  41. Yuki Yamashita (September 1, 2022). "愛犬の合成画像を生成できるAI 文章で指示するだけでコスプレ 米Googleが開発" (in ja). https://www.itmedia.co.jp/news/articles/2209/01/news041.html. 
  42. Meng, Chenlin; He, Yutong; Song, Yang; Song, Jiaming; Wu, Jiajun; Zhu, Jun-Yan; Ermon, Stefano (August 2, 2021). "SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equations". arXiv:2108.01073 [cs.CV].
  43. 43.0 43.1 43.2 43.3 "Stable Diffusion web UI". 10 November 2022. https://github.com/AUTOMATIC1111/stable-diffusion-webui-feature-showcase. 
  44. invisible-watermark, Shield Mountain, 2022-11-02, https://github.com/ShieldMnt/invisible-watermark/blob/9802ce3e0c3a5ec43b41d503f156717f0c739584/README.md, retrieved 2022-11-02 
  45. "stable-diffusion-tools/emphasis at master · JohannesGaessler/stable-diffusion-tools" (in en). https://github.com/JohannesGaessler/stable-diffusion-tools. 
  46. "Stable Diffusion v2.1 and DreamStudio Updates 7-Dec 22". https://stability.ai/blog/stablediffusion2-1-release7-dec-2022. 
  47. 47.0 47.1 Luzi, Lorenzo; Siahkoohi, Ali; Mayer, Paul M.; Casco-Rodriguez, Josue; Baraniuk, Richard (2022-10-21). "Boomerang: Local sampling on image manifolds using diffusion models". arXiv:2210.12100 [cs.CV].
  48. Bühlmann, Matthias (2022-09-28). "Stable Diffusion Based Image Compression" (in en). https://pub.towardsai.net/stable-diffusion-based-image-compresssion-6f1f0a399202. 
  49. Zhang, Lvmin (10 February 2023). "Adding Conditional Control to Text-to-Image Diffusion Models". arXiv:2302.05543 [cs.CV].
  50. "CompVis/stable-diffusion-v1-4 · Hugging Face". https://huggingface.co/CompVis/stable-diffusion-v1-4. 
  51. "runwayml/stable-diffusion-v1-5 · Hugging Face". https://huggingface.co/runwayml/stable-diffusion-v1-5. 
  52. "stabilityai/stable-diffusion-2 · Hugging Face". https://huggingface.co/stabilityai/stable-diffusion-2. 
  53. "stabilityai/stable-diffusion-2-base · Hugging Face". https://huggingface.co/stabilityai/stable-diffusion-2-base. 
  54. "stabilityai/stable-diffusion-2-1 · Hugging Face". https://huggingface.co/stabilityai/stable-diffusion-2-1. 
  55. "stabilityai/stable-diffusion-xl-base-1.0 · Hugging Face". https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0. 
  56. "Announcing SDXL 1.0" (in en-GB). https://stability.ai/news/stable-diffusion-sdxl-1-announcement. 
  57. "stabilityai/sdxl-turbo · Hugging Face". https://huggingface.co/stabilityai/sdxl-turbo. 
  58. "Adversarial Diffusion Distillation" (in en-GB). https://stability.ai/research/adversarial-diffusion-distillation. 
  59. "LICENSE.md · stabilityai/stable-diffusion-xl-base-1.0 at main". 2023-07-26. https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/LICENSE.md. 
  60. 60.0 60.1 "高性能画像生成AI「Stable Diffusion」無料リリース。「kawaii」までも理解し創造する画像生成AI" (in ja). August 24, 2022. https://automaton-media.com/articles/newsjp/20220824-216074/. 
  61. 61.0 61.1 Ryo Shimizu (August 26, 2022). "Midjourneyを超えた? 無料の作画AI「 #StableDiffusion 」が「AIを民主化した」と断言できる理由" (in ja). https://www.businessinsider.jp/post-258369. 
  62. Cai, Kenrick. "Startup Behind AI Image Generator Stable Diffusion Is In Talks To Raise At A Valuation Up To $1 Billion" (in en). https://www.forbes.com/sites/kenrickcai/2022/09/07/stability-ai-funding-round-1-billion-valuation-stable-diffusion-text-to-image/. 
  63. "Illegal trade in AI child sex abuse images exposed" (in en-GB). 2023-06-27. https://www.bbc.com/news/uk-65932372. 
  64. Vincent, James (January 16, 2023). "AI art tools Stable Diffusion and Midjourney targeted with copyright lawsuit". https://www.theverge.com/2023/1/16/23557098/generative-ai-art-copyright-legal-lawsuit-stable-diffusion-midjourney-deviantart. 
  65. Brittain, Blake (2023-07-19). "US judge finds flaws in artists' lawsuit against AI companies" (in en). Reuters. https://www.reuters.com/legal/litigation/us-judge-finds-flaws-artists-lawsuit-against-ai-companies-2023-07-19/. 
  66. "Stable Diffusion Public Release". https://stability.ai/blog/stable-diffusion-public-release. 
  67. "From RAIL to Open RAIL: Topologies of RAIL Licenses" (in en-US). 18 August 2022. https://www.licenses.ai/blog/2022/8/18/naming-convention-of-responsible-ai-licenses. 
  68. "Ready or not, mass video deepfakes are coming". The Washington Post. 2022-08-30. https://www.washingtonpost.com/technology/2022/08/30/deep-fake-video-on-agt/. 
  69. "License - a Hugging Face Space by CompVis". https://huggingface.co/spaces/CompVis/stable-diffusion-license. 
  70. Katsuo Ishida (August 26, 2022). "言葉で指示した画像を凄いAIが描き出す「Stable Diffusion」 ~画像は商用利用も可能" (in ja). https://forest.watch.impress.co.jp/docs/review/1434893.html. 

External links