Stable Diffusion was made possible thanks to a collaboration with Stability AI and Runway and builds upon our previous work:

https://stability.ai/blog/stable-diffusion-announcement

https://github.com/CompVis/stable-diffusion