Ten modules, each building on the last
The course moves from concept to mechanism to consequence: what generative modeling means, how the two dominant mechanisms (autoregressive text, diffusion images) actually work, how training and prompting shape output, how to evaluate and trust it, and the real limitations and open legal questions that come with using it.
What “generative” actually means
Producing new samples, not classifying existing ones
Most AI before this wave was discriminative: given an input, decide which category it belongs to — spam or not spam, cat or dog. A generative model does the opposite. It learns the shape of a distribution from examples, then produces new samples that plausibly belong to it: a paragraph that reads like the training text, an image that looks like a photograph, without copying any single example directly.
That distinction holds across modalities. The mechanism differs between text, image, audio, and video generation — but the underlying move is the same in every case: sample something new from a learned distribution, rather than sort something given into a bucket.
How text generation actually works
One predicted piece at a time, not a lookup
Text generation is autoregressive: predict the single most plausible next piece of text given everything so far, append it, and repeat. A paragraph isn't retrieved whole — it's assembled one prediction at a time, each one conditioned on everything that came before it.
A setting called temperature controls how much randomness enters that choice. Low temperature picks the single most likely next piece almost every time, producing safe, repetitive output. Higher temperature samples from a wider range of plausible options, producing more varied but less predictable text. Neither setting makes the model more or less accurate — only more or less willing to take a less obvious next step.
How image generation actually works
Starting from noise and refining toward coherence
The dominant approach for image generation today is diffusion. Training runs the process backward: take a real image, add random noise to it in small steps until it's pure static, and train a model to predict and remove that noise at each step.
Generation runs the trained process forward from pure noise: start with random static, and repeatedly ask the model to predict and subtract a little more noise, guided at each step by a text prompt describing what the final image should resemble. After enough steps, what began as static resolves into a coherent image — not because any single step "drew" anything, but because each step nudged the noise a little further toward the distribution the model learned from.
How these models get trained
A raw pretraining pass, then a smaller alignment pass
Training generally happens in two stages. Pretraining exposes the model to an enormous volume of raw data — text scraped from the web, or large image datasets — and simply asks it to get better at predicting the next piece, or removing noise, across all of it. This stage is what gives the model its raw capability.
A second, much smaller stage adjusts that raw capability toward being useful and safe to interact with — fine-tuning on curated examples of the kind of output that's actually wanted, sometimes combined with human feedback that rewards outputs people rate as better. Pretraining teaches the model what's statistically plausible; this second stage teaches it what's actually desirable to produce.
Prompting and steering output
The same model, pointed in different directions
A prompt is the main lever available for shaping generated output without retraining anything. Specificity, examples, and explicit constraints in the prompt all shift what the model treats as plausible for that particular generation — which is why two people can get very different results from the same underlying model.
This is also why prompting has limits. A prompt can steer the model toward a region of what it already learned; it can't teach the model something new or force output outside what its training makes plausible. Asking more clearly helps; asking for something the model never learned a pattern for doesn't.
Evaluating generative output
“Good” is harder to measure than “correct”
A classifier has a right answer to check against. Generated text or images usually don't — quality is closer to a judgment call than a verifiable fact, which makes evaluation genuinely harder than it is for discriminative tasks.
In practice, teams combine automated metrics that approximate quality, structured human review on a sample of outputs, and increasingly another model acting as a judge. Each has known blind spots: automated metrics reward what's measurable over what's actually good, human review doesn't scale to everything, and a model judge inherits the same kinds of blind spots as the model it's judging.
What generative models are actually bad at
Fluency and correctness are different properties
The most consequential limitation is hallucination: a model can generate fluent, confident, entirely wrong content, because generation only optimizes for plausibility, not for truth. A convincing wrong answer and a convincing right one can look identical from the outside.
Bias is a related, distinct problem — a model trained on real-world data reproduces the patterns in that data, including skewed or unfair ones, without being told to. And generative models are weak at anything requiring exact verification — precise arithmetic, checking a fact against a source — because nothing in the generation process actually checks an output against ground truth before producing it.
Training data, copyright, and attribution
A genuinely unresolved area, not a settled one
Generative models are trained on large volumes of existing text, images, and other content, much of it collected from the public web. Whether that kind of training use requires permission or compensation from the original creators, and who owns the rights to what a model generates, are questions still being actively litigated and legislated in multiple jurisdictions.
This is worth stating plainly rather than glossing over: there isn't yet a single settled answer, the rules differ by jurisdiction and are still moving, and anyone using generated output commercially should treat this as an open legal question to get real advice on, not a solved problem.
Where it's actually being used
Across modalities, not just chat
Text generation shows up in drafting, summarization, and code completion. Image generation spans concept art, product mockups, and marketing visuals. Audio and voice generation cover synthetic narration and voice cloning; video generation is the newest and least mature of the group. Code generation assists with boilerplate and translation between languages, still under close review.
A common thread across all of them: the more consequential the use case, the more a human is still expected to review the output before it goes anywhere that matters — generation proposes, a person still generally disposes.
Adopting it responsibly
Review, disclosure, and staying inside the limits already named
Responsible adoption mostly means taking the limitations from earlier modules seriously in practice: human review before anything generated ships unsupervised, especially anywhere a hallucination or a bias would actually cause harm.
Increasingly it also means disclosure — being clear with an audience when content was AI-generated, particularly where authenticity matters to them — and keeping the open provenance questions from module eight in mind rather than treating generated output as free of any rights complexity by default.
Common questions
What does “generative” mean in generative AI?
Producing new samples from a learned distribution rather than classifying existing input into categories. A generative model creates a new paragraph, image, or sound that plausibly belongs to the pattern it learned, instead of sorting a given input into a predefined bucket.
How does image generation actually work?
The dominant method, diffusion, trains a model to remove noise from an image step by step. Generation runs that process in reverse from pure random noise, repeatedly removing a little more noise guided by a text prompt, until what began as static resolves into a coherent image.
Why do generative models produce confident, wrong answers?
Because generation optimizes for what's statistically plausible given the training data, not for what's factually true. A fluent, wrong continuation and a fluent, correct one can look identical from the outside, since nothing in the generation process checks the output against a source before producing it.
Is it settled who owns AI-generated content or what training on copyrighted data requires?
No — both questions are still being actively litigated and legislated across multiple jurisdictions, with no single settled answer yet. Anyone using generated output commercially should treat this as an open legal question to get real advice on, not a solved problem.