Preface

When Stable Diffusion was released on August 22, 2022, this Diffusion-based image generation model quickly caught the attention of the whole world. Both its model and source code are completely open source and hosted on GitHub. With millions of community participants and users, numerous new and mixed models have been released. Tools such as Stable Diffusion WebUI and InvokeAI have been created.

While the Stable Diffusion WebUI tool can generate fantastic images driven by the diffusion model, its usability is limited. The open source Diffusers package from Hugging Face allows users to have full control over Stable Diffusion using Python. However, it lacks many key features, such as loading custom LoRA models and Textual Inversion, utilizing ...

Get Using Stable Diffusion with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.