-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Using Stable Diffusion with Python
By :

Using Stable Diffusion with Python
By:
Overview of this book
Stable Diffusion is a game-changing AI tool that enables you to create stunning images with code. The author, a seasoned Microsoft applied data scientist and contributor to the Hugging Face Diffusers library, leverages his 15+ years of experience to help you master Stable Diffusion by understanding the underlying concepts and techniques.
You’ll be introduced to Stable Diffusion, grasp the theory behind diffusion models, set up your environment, and generate your first image using diffusers. You'll optimize performance, leverage custom models, and integrate community-shared resources like LoRAs, textual inversion, and ControlNet to enhance your creations. Covering techniques such as face restoration, image upscaling, and image restoration, you’ll focus on unlocking prompt limitations, scheduled prompt parsing, and weighted prompts to create a fully customized and industry-level Stable Diffusion app. This book also looks into real-world applications in medical imaging, remote sensing, and photo enhancement. Finally, you'll gain insights into extracting generation data, ensuring data persistence, and leveraging AI models like BLIP for image description extraction.
By the end of this book, you'll be able to use Python to generate and edit images and leverage solutions to build Stable Diffusion apps for your business and users.
Table of Contents (29 chapters)
Preface
Chapter 1: Introducing Stable Diffusion
Chapter 2: Setting Up the Environment for Stable Diffusion
Chapter 3: Generating Images Using Stable Diffusion
Chapter 4: Understanding the Theory Behind Diffusion Models
Chapter 5: Understanding How Stable Diffusion Works
Chapter 6: Using Stable Diffusion Models
Part 2 – Improving Diffusers with Custom Features
Chapter 7: Optimizing Performance and VRAM Usage
Chapter 8: Using Community-Shared LoRAs
Chapter 9: Using Textual Inversion
Chapter 10: Overcoming 77-Token Limitations and Enabling Prompt Weighting
Chapter 11: Image Restore and Super-Resolution
Chapter 12: Scheduled Prompt Parsing
Part 3 – Advanced Topics
Chapter 13: Generating Images with ControlNet
Chapter 14: Generating Video Using Stable Diffusion
Chapter 15: Generating Image Descriptions Using BLIP-2 and LLaVA
Chapter 16: Exploring Stable Diffusion XL
Chapter 17: Building Optimized Prompts for Stable Diffusion
Part 4 – Building Stable Diffusion into an Application
Chapter 18: Applications – Object Editing and Style Transferring
Chapter 19: Generation Data Persistence
Chapter 20: Creating Interactive User Interfaces
Chapter 21: Diffusion Model Transfer Learning
Chapter 22: Exploring Beyond Stable Diffusion
Index
Customer Reviews