Stable Diffusion
Generate and control brand-grade images with a latent diffusion model — prompts, ControlNet, LoRA, inpainting, upscaling — with the trade-offs that come with them.
Course Duration: 6h
What You'll Learn
- Explain the three pieces of a latent diffusion model — autoencoder, U-Net, scheduler — and why SDXL scales them up
- Write positive and negative prompts that actually change the image, and know what a negative prompt cannot fix
- Pick a step count, a guidance scale and a random seed with reproducibility in mind
- Chain text-to-image and image-to-image, tune denoising strength for controlled variations
- Retouch a detail with a mask (inpainting) and extend a canvas for a banner format (outpainting)
- Steer composition with ControlNet using pose, edges and depth preprocessors
- Teach the model a house style with a LoRA of 20 to 40 images, and spot overfitting early
- Upscale for print, restore faces, cap memory and read a compute-cost budget
- Respect model and LoRA licenses, watermark provenance and stay inside acceptable-use limits
Prerequisites
- Course 15 — Generative AI
- Working Python 3.10+, a GPU with at least 8 GB of VRAM (12 GB recommended for SDXL), and the
diffuserslibrary installed
Course Modules
- Latent diffusion: autoencoder, U-Net, scheduler
- Positive and negative prompts
- Steps, guidance scale, random seed
- Text-to-image and image-to-image
- Inpainting and outpainting
- ControlNet: pose, edges, depth
- LoRA and textual inversion for a style
- Upscaling and face restoration
- Compute cost and memory optimization
- Rights, provenance and acceptable use
The running project
Across the ten modules you produce the visuals for a small furniture brand. A reference chair is declined into ambience shots (text-to-image), color variants (image-to-image), a retouched armrest detail (inpainting), an extended banner frame (outpainting), a controlled pose in a staged photo (ControlNet), a learned house style (LoRA), and finally a print-ready upscale. The tooling is the diffusers Python library end to end, with the equivalent moves in a graphical UI (ComfyUI) noted in a callout. The reference model is SDXL, with SD 1.5 mentioned when a machine is modest.
Assessment and certificate
The course ends with a 40-question exam covering every module. On success, a certificate of completion is issued; its number is verifiable on the platform.
Free courses, by contrast, end with a 5-question quiz and a preview of the certificate, without certification.