b2aa4f89-1198-4705-bf67-b98bf3a9d058
prompter
How does Stable Diffusion work?
6d86a9aa-ad4d-409c-bd0e-e069f04d26fd
b2aa4f89-1198-4705-bf67-b98bf3a9d058
assistant
Stable Diffusion works by repeatedly applying a denoising autoencoder guided with text input.

An autoencoder tries to compress an image into a small vector then decompress back to the original image. Textual guidance can be added to improve its efficiency, by specifying what content it should or should not generate. A denoising autoencoder has the primary aim of restoring an image combined with noise back to the form before adding noise.

When we apply such autoencoder repeatedly to any image, the output will become less noisy and more resembles the input text. With enough iterations, we can get a clean image even when we feed pure noise as input. This workflow of repeatedly applying an autoencoder, together with a properly trained autoencoder on wide variety of objects, forms a Stable Diffusion model.
bab3c83f-a53d-4ec7-8db0-a01ef43ffabc
6d86a9aa-ad4d-409c-bd0e-e069f04d26fd
prompter
Can you explain it in human words, not in that dork gibberish?
440e0bde-10b7-4d9d-846d-2b764a1567fa
bab3c83f-a53d-4ec7-8db0-a01ef43ffabc
assistant
It takes the text you give it and turns it into an image.
b30dd3eb-48c9-4da7-997d-2447854522da
440e0bde-10b7-4d9d-846d-2b764a1567fa
prompter
Oh, okay. But I'd like a bit more detail, please. How does it actually function, in simple terms?