Diffusion.
The original codebase can be found here: CampVis/stable-diffusion
StableDiffusionImg2ImgPipeline is compatible with all Stable Diffusion checkpoints for Text-to-Image
The pipeline uses the diffusion-denoising mechanism proposed by SDEdit (SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equations
proposed by Chenlin Meng, Yutong He, Yang Song, Jiaming Song, Jiajun Wu, Jun-Yan Zhu, Stefano Ermon).

class diffuse