What problem does it solve? Running Stable Diffusion locally involves many moving parts—pipelines, schedulers, ControlNets, LoRA adapters, and GPU memory constraints—and misconfiguring any of them leads to black images, out-of-memory errors, or poor quality output. This Skill provides tested code patterns and troubleshooting guidance for the full image generation workflow. ## Core Features & Use Cases - Text-to-Image & Image-to-Image: Generate images from prompts with SD 1.5, SDXL, SD 3.0, or Flux, and transform existing images with configurable strength. - Inpainting, ControlNet & LoRA: Fill masked regions, condition generation on edges/poses/depth maps, and apply fine-tuned style adapters with adjustable weights. - Memory Optimization & Deployment: Apply CPU offloading, attention slicing, xFormers, and quantization, plus FastAPI/Docker/Kubernetes deployment patterns. - Use Case: A developer building an image generation API can load SDXL with a DPM-Solver scheduler, enable CPU offload to fit on a single GPU, and expose it through the provided FastAPI server pattern. ## Quick Start Use the stable diffusion skill to generate a 1024x1024 image of a mountain landscape at sunset using SDXL with 30 inference steps.