The Text-Conditioned Image Generation Stack
Learning objectives
- learner can explain how CLIP aligns text and image embeddings and how that conditions a diffusion U-Net
- learner can trace Stable Diffusion's three-network pipeline and its text2img/img2img modes
- learner can compare conditioning strategies: unCLIP, Imagen's frozen LM encoder, ControlNet spatial control
Capstone — one whole task that evidences the objectives
Map the text-to-image stack end to end: describe Stable Diffusion's three networks and its two modes, how CLIP-trained text embeddings enter the U-Net via attention between ResNet blocks, and contrast unCLIP hierarchical generation, Imagen's frozen-LM conditioning, and ControlNet spatial conditioning — then deliver a design recommendation for a prompt-and-pose-controlled visual you want to perform with: an explicit pick among SD+ControlNet, unCLIP, and Imagen-style conditioning, with a one-line verdict per candidate justifying why it does or doesn't fit your rig.
Prerequisite modules
When you drive generative visuals in a live set — prompting imagery that tracks the music while a dancer’s pose or a projected silhouette constrains its composition — you are choosing between real architectures with real trade-offs. This module builds the mental map that makes those choices deliberate: how text becomes an image, where each control knob lives in the stack, and which conditioning strategy fits a prompt-and-pose-controlled performance visual.
The arc starts supported. First orient with the whole system: “Stable Diffusion is a pipeline of three neural networks” gives you the skeleton (text encoder, U-Net + scheduler, decoder), and the text2img/img2img distinction tells you what inputs the pipeline accepts. From there, descend one level at a time as just-in-time how-to: “CLIP jointly trains text and image encoders” explains why a text prompt can steer pixels at all, and the U-Net backbone and “attention layers between ResNet blocks” atoms show exactly where that steering enters the generator. With the base stack traced, the three alternative conditioning strategies — unCLIP’s hierarchical prior-then-decoder, Imagen’s frozen language model, ControlNet’s zero-convolution spatial branch — become comparable rather than a blur of paper names. The capstone then removes the scaffolding: you narrate the full stack unaided and commit to an explicit pick for your own rig, with a verdict on each candidate.
Every required atom gates that capstone — miss the U-Net’s structure and you can’t place the attention layers; miss any one of the three conditioning papers and the comparison collapses. The supporting atoms enrich the picture: latent diffusion explains why this runs on performance-grade GPUs at all, GAN latent arithmetic gives historical contrast for controllable imagery, and the attention/normalization/xformers atoms deepen the engineering view without being needed to draw the map.
Atoms in this module
Required — these gate the capstone
Supporting — enrichment, not gating
Part of curricula
- Audio-Visual Performer — integrated, synced live AV — Compose the whole (generative & AI-layered AV) recommended
- Generative & AI AV Artist — real-time machine-driven performance — Engineer steerable real-time diffusion visuals required
Unlocks — modules that require this one