AI Boss Courses / Course 02

Diffusion Models for Work

Midjourney, DALL-E, Stable Diffusion, Firefly: every AI image generator works by destroying pictures with noise and learning to run the destruction backwards. In this course you operate that process yourself, then put it to work on marketing, mockups, and presentations, with the rights and deepfake risks handled like a professional.

View Curriculum
6Modules
~3 hrsSelf-paced
7Labs & games
20 QsFinal exam
FreeNamed certificate

Outcomes

What You Will Be Able to Do

The Evidence

What the Numbers Say

5.85B

image-text pairs in LAION-5B, the public dataset used to train Stable Diffusion. The "creativity" comes from scale.

Schuhmann et al., LAION-5B (NeurIPS 2022)
2B+

images generated with Adobe Firefly in roughly its first year inside Photoshop and Express. Image generation is already standard creative tooling.

Adobe announcement (2024)
$25M

transferred by an employee at engineering firm Arup after a video call where every "colleague", including the CFO, was a deepfake.

Hong Kong police case, reported February 2024
Zero

copyright protection for purely AI-generated images under current US doctrine: human authorship is required. Your usage rights come from the tool's license terms.

US Copyright Office guidance (2023), incl. Zarya of the Dawn

Curriculum

The Six Modules

Each module opens as its own page: the lecture, its labs and games, and next and previous controls. Your progress is saved on this device, so you can leave and pick back up any time.

0 of 6 modules complete
1 Destroying Pictures for a Living The one weird idea behind every image generator • The noising machine lab

The idea sounds backwards at first. To teach a machine to create images, you first teach it to destroy them, in a very controlled way. Take a photo. Sprinkle a little random static (noise) on it. Then a little more. Repeat a thousand times until nothing remains but pure static. Now train a neural network on one job only: look at a noisy image and predict what noise was just added, so it can be subtracted back out.

Do that across billions of images and something remarkable happens: a network that can remove noise from anything, even from pure static that never contained a photo at all. Feed it random static, let it "remove noise" step after step, and it will hallucinate structure into the static: edges, then shapes, then a face or a beach or a product shot. That is generation. The name for this family of models is diffusion, after the physics of particles spreading out, and the landmark recipe was published in 2020 (Ho, Jain & Abbeel, "Denoising Diffusion Probabilistic Models").

Noise: random static, like an old TV with no signal. Technically, random numbers from a bell curve added to every pixel. Noise is the raw material every generated image is carved from.
Forward process: the destruction direction: image plus more and more noise until only static remains. Used only during training, and it needs no intelligence at all. You are about to run it yourself.

Interactive Lab 1

The Noising Machine

This is a little Caribbean beach scene drawn by code. Drag the slider to run the forward process. Notice what survives longest as noise increases: big shapes and strong colors outlive fine details. Diffusion models learn images in exactly that order, coarse first, fine last.

t = 0 of 1000: the original image.

Voxel Lab

The Same Idea in Three Dimensions

Here the image is a voxel sculpture and the noise scatters whole cubes instead of pixels. Slide right to destroy it, press Reassemble to run the film backwards, and press New Scene to see how different starting noise builds a different sculpture.

Stop and think At 60% noise you can still tell there is a sun and a sea. At 95% you cannot. If the model learns to undo destruction in reverse order, what should appear first when it generates: the overall composition, or the texture of the sand?
2 Running the Film Backwards Denoising, steps, and seeds • The denoising lab

Generation is the destruction film played in reverse. Start with a canvas of pure random static. The trained network looks at it and estimates: "here is the noise I think is on top of some underlying image". Subtract a fraction of that estimated noise. The static gets slightly less random. Look again, estimate again, subtract again. After 20 to 50 of these sampling steps, a coherent image stands where static used to be.

This also answers the question every user asks: why does the same prompt give different images every time? Because each generation starts from a different canvas of random static. That starting static is set by a number called the seed. Same prompt, same settings, same seed: same image, every time. Change nothing but the seed and you get a sibling image, same idea, different execution. Professionals save seeds the way writers save drafts.

Interactive Lab 2

Denoise It Yourself

You have pure static and 50 steps. Click "Denoise ×5" and watch structure emerge, coarse shapes first, details last. Then click "New Seed" and run it again: the same "prompt" (a beach scene) produces a different beach. That variation is the seed at work, not the model changing its mind.

Step 0 of 50. Pure noise, seed #1.

Step 50: a coherent image, carved out of static.
Seed: the number that determines the starting static. Lock the seed to reproduce or make controlled variations of an image. Lose it and that exact image is gone forever.
Sampling steps: how many denoising rounds the model runs. Too few (under ~15) looks mushy; more steps sharpen with diminishing returns. Most tools default to 20 to 50.
Stop and think A teammate generated the perfect image last week but "lost it" and cannot recreate it. What two things did they need to have saved?
3 Latent Space: Where the Prompt Steers Meaning as coordinates, and the guidance knob • Latent space explorer

Two engineering facts turn the denoising trick into a product you can talk to.

First: compression. Denoising every pixel of a large image is brutally expensive. Stable Diffusion's breakthrough (Rombach et al., 2022) was to do the diffusion in a compressed representation of the image, a so-called latent space, roughly 48 times smaller, then decompress at the end. Think of sculpting a maquette instead of the full statue. That is why it could run on a gaming PC and why the whole field exploded in 2022.

Second: text steering. Your prompt is converted by a text encoder (such as CLIP, trained on hundreds of millions of image-caption pairs) into a list of numbers: an embedding, a point in a space where nearby points mean similar things. "Golden retriever" and "labrador" sit close together; "invoice template" is far away. At every denoising step, the model is nudged toward images whose meaning sits near your prompt's point. How hard it is nudged is the guidance scale (often called CFG).

Interactive Lab 3

Latent Space Explorer

This pad is a toy latent space with two meaning-directions: left-right morphs shape, up-down morphs color. Drag anywhere and watch the output change smoothly: nearby points, similar images. The star is your "prompt". Raise the guidance slider and your point gets pulled toward the prompt, exactly like CFG pulls generations toward your text.

drag the pad • ★ = your prompt's location

Practical settings translated

  • Low guidance (1-4): the model roams: looser, more surprising, less on-brief. Good for exploration.
  • Medium guidance (5-9): the working range for most tools. Faithful to the prompt with natural results.
  • Very high guidance (12+): over-obedience: burnt colors, distorted anatomy, poster-like artifacts. If images look "fried", turn this down.
Stop and think In the explorer, points near each other produced similar images. Now explain to yourself why "photo of a golden retriever" and "photo of a labrador" give similar results but "photo of a golden retriever" and "quarterly spreadsheet" cannot.
4 Prompting for Images That Work The professional brief: subject, style, light, constraints • Brief builder game

Image prompting rewards the vocabulary of a photographer or art director, because that is the vocabulary the captions in the training data used. You do not need to be an artist. You need to name what you want in the words artists use.

The five-slot image brief

  1. Subject: who or what, doing what. "A young professional reviewing charts on a tablet", not "business stuff".
  2. Setting and composition: where, framed how. "In a bright modern office, wide shot, subject on the right third."
  3. Style and medium: "editorial photograph", "flat vector illustration", "3D render", "watercolor". This one word changes everything.
  4. Lighting and mood: "soft golden hour light", "clean studio lighting", "moody dusk". Lighting words are the cheapest quality upgrade available.
  5. Constraints: aspect ratio, color palette, and negative prompts: things to exclude ("no text, no logos, no extra fingers").
Negative prompt: a second prompt listing what you do NOT want. The model steers away from it in latent space the same way it steers toward your main prompt. Common workhorses: "text, watermark, logo, distorted hands, low quality".

Game 1

Build the Brief

Your client: a Caribbean fintech startup needs a hero image for its landing page. Brand words: trustworthy, modern, human. Pick one option per slot, then get your brief scored. 8 points available; 7 or more earns art-director status.

Iteration, the professional loop

  1. Generate 4 variants of the brief (different seeds).
  2. Pick the strongest. Lock its seed.
  3. Change ONE thing per regeneration: lighting, angle, or palette. Never three at once, or you learn nothing.
  4. Upscale the winner and finish it in a real editor. Diffusion gets you 90% in minutes; the last 10% is still craft.
5 Diffusion at Work: Use Cases and Limits Where it prints money, where it embarrasses you • Right-tool game

Where it earns its keep today

  • Marketing and social assets: campaign concepts, seasonal variants, backgrounds, and A/B test creative in minutes instead of days.
  • Product and packaging mockups: visualize a product in ten settings before a single photoshoot is booked.
  • Presentations and documents: custom illustrations instead of the same tired stock photos everyone recognizes.
  • Concept and mood boards: agencies now explore visual directions with clients in the meeting, live.
  • Editing superpowers: the same technology powers generative fill and object removal inside Photoshop, Canva, and phone cameras. You may already be using diffusion without knowing it.
Adoption is mainstream, not fringe. Adobe reported more than 2 billion Firefly generations in about a year, and diffusion features now sit inside the default tools of design (Photoshop), office work (PowerPoint via integrated generators), and social content (Canva). The competitive question has moved from "should we use it" to "who on the team can use it well". Adobe (2024); vendor product documentation

Where it fails, and will embarrass you

  • Text inside images: improving fast but still unreliable for exact wording. The model paints letter-shapes; it does not spell. Add real text in an editor.
  • Exact factual graphics: maps, charts, org diagrams, product schematics. Diffusion makes things that look right, not things that are right.
  • Brand consistency: your logo and your actual product must be composited in, not generated, unless you use a model fine-tuned on your assets.
  • Hands, small faces, physics: classic artifact zones. Count the fingers before you publish.

Game 2

Right Tool for the Job

Five briefs land on your desk. For each, choose: diffusion model, LLM, or human craft (photographer, designer, or you). Choosing well is the actual skill.

Stop and think Your CEO wants "our real product, photographed on a beach, with our logo crisp on the label" by tomorrow. Which parts of that job can diffusion do, and which parts must be composited or shot for real?
6 Rights, Deepfakes, and Disclosure The legal and ethical rails • Risk radar game

Who owns an AI image?

Under current US Copyright Office doctrine, a purely AI-generated image has no copyright owner at all: human authorship is required. In the "Zarya of the Dawn" decision (2023), a comic's human-written text and arrangement kept protection while its Midjourney images did not. Practical consequences: you usually cannot stop others from reusing your raw generations, and your rights to use them commercially come from the tool's license terms, which differ by vendor and by plan. Meanwhile, lawsuits such as Getty Images v. Stability AI test whether training on copyrighted images without a license was lawful in the first place. This area is moving; large organizations mitigate by using tools with indemnification and training-data guarantees (this is Adobe Firefly's core enterprise pitch).

Deepfake: synthetic audio, image, or video that convincingly imitates a real person. The same denoising machinery you drove in Module 2, pointed at a specific human being.
The Arup case, your new staff-meeting story. In early 2024, a finance employee at engineering firm Arup joined a video call with the company's CFO and colleagues, and was instructed to make transfers totaling about US$25 million. Every other person on that call was a deepfake. The defense that works is procedural, not technological: money and credentials never move on the strength of a call or a voice alone. Verify through a second, independent channel you initiate. Hong Kong police, reported February 2024; company confirmed the incident

Disclosure and provenance

  • Do not pass synthetic people off as real ones. An AI "customer photo" next to a testimonial is deception, and in regulated industries, a legal problem.
  • Label when context implies reality. Illustrative art needs no confession; anything a viewer would reasonably read as a photograph of a real event does. The EU AI Act now requires deepfake content to be disclosed as such.
  • Content credentials (C2PA): an industry standard that attaches signed provenance metadata ("created with X, edited in Y") to images. Adopted by Adobe, Microsoft, camera makers, and news organizations. Expect clients to start asking for it.

Game 3

Risk Radar

Six requests from around your company. Classify each: Green (go), Yellow (go with guardrails), Red (stop). Your reputation is the score.

Demystified

Glossary: Every Term, Plain Words

Diffusion model
An AI trained to remove noise from images. Run repeatedly on pure static, it generates new images.
Noise
Random static added to (and removed from) images. The raw material of generation.
Forward process
Training-time destruction: progressively noising an image to pure static.
Denoising / reverse process
Generation: estimating and subtracting noise step by step until an image emerges.
Seed
The number determining the starting static. Same prompt + settings + seed = same image.
Sampling steps
The number of denoising rounds, commonly 20 to 50.
Latent space
The compressed representation where modern models diffuse, then decode to pixels. Nearby points mean similar images.
Embedding
Your prompt converted to coordinates in meaning-space by a text encoder such as CLIP.
Guidance scale (CFG)
How strongly generation is pulled toward your prompt. Too high causes fried, distorted output.
Negative prompt
A list of things to steer away from: "text, watermark, distorted hands".
Inpainting / generative fill
Diffusion applied to a selected region: remove objects, extend backgrounds, replace items.
Fine-tuning (LoRA)
Lightweight extra training that teaches a model your product, style, or character for consistent brand output.
Deepfake
Synthetic media convincingly imitating a real person. Regulated increasingly, weaponized already.
Content credentials (C2PA)
Signed metadata recording how an image was made and edited. Provenance you can verify.

Final Exam

Prove It: 20 Questions

Twenty multiple choice questions covering all six modules. You need 80% (16 of 20) to earn the certificate. Explanations follow every question, and retakes are unlimited.

Ready? Most people take 15 minutes. Your certificate will carry the name you enrolled with.