Stable Diffusion is the underlying technology that powers Leonardo AI. It enables the text-to-image generation process, allowing for the creation of highly realistic and diverse images based on the provided descriptions.