18 stations on 3 ladders, in order — each rung is written assuming the one above it. Mark them off as you go; your progress is saved in this browser.
0 / 18
Pick up at
Track 1 of 3
FoundationsStart here
6 rungs · ~5h · ends at Tokens, Context & Cost.
0/6 done
1
What is Generative AI
Start here
F1 · Beginner · 30 min
A discriminative model tells cat from dog; a generative model paints a cat that never existed. Generative AI learns the underlying distribution of data — text, images, audio — and samples new examples from it. That one shift is what powers ChatGPT, Midjourney, and every model that creates.
Generative vs discriminative
Learning a distribution
Sampling new data
Modalities: text / image / audio
Build itList five products you use that generate content. For each, name the modality and whether it feels more like autocomplete or like painting from noise.
✓ CheckpointExplain what it means for a model to learn a distribution rather than a boundary, and why that is what lets it generate.
2
How LLMs Generate Text
F2 · Beginner · 60 min
Text generation is next-token prediction on a loop: the model reads everything so far and picks the most likely next token, then repeats. Under it is the Transformer and self-attention. Understanding this makes prompting, streaming, and context limits all click.
Build itGenerate the same prompt at temperature 0 and 1.0 several times. Explain, in terms of next-token probabilities, why one is repetitive and one is wild.
✓ CheckpointExplain why next-token prediction produces coherent paragraphs at all — the objective looks far too local for the result.
Image models work backwards from noise. In training they add noise to real images until they are static; at generation they start from pure noise and a trained network removes it step by step, sculpting a picture. That is the idea behind Stable Diffusion, DALL·E, and Midjourney.
Forward noising
Reverse denoising
Sampling steps
Text conditioning
Build itExplain to a friend why "add noise, then learn to remove it" is easier to train than generating a full image in one shot.
✓ CheckpointExplain what the reverse denoising process is actually undoing, and what the number of sampling steps buys you.
To connect words and images you put both in one shared space, where a photo and its caption land close together. That is what CLIP does — and it is the bridge that lets a text prompt steer an image model. Multimodal generation lives on this idea.
A prompt is the steering wheel of a generative model. For text: roles, structure, examples. For images: subject, style, composition, and negative prompts. Learning to describe what you want — and what you do not — is the core creative skill of GenAI.
Descriptive prompts
Negative prompts
Style & structure control
Iteration
Build itTake one image idea and write three prompts: bare, detailed, and detailed-with-negatives. Compare how much control each gives.
✓ CheckpointExplain what a negative prompt is doing, and why it is not the same as omitting the thing.
Generation is metered. Text is billed per token and bounded by a context window; images cost per generation and per resolution/steps. Knowing what drives cost and latency is what separates a fun demo from a product you can actually afford to run.
Tokenization
Context windows
Cost per generation
Latency drivers
Build itEstimate the cost of generating 1,000 product descriptions vs 1,000 images. Which is pricier, and what knob would you turn to cut it?
✓ CheckpointCompute the cost of one generation from tokens and price, then say which part of the prompt you would cut first.
How a model picks the next token shapes everything. Temperature scales randomness, top-p and top-k prune the candidates, and beam search hunts for the most likely sequence. Tuning these trades creativity against reliability — the dial every text feature needs set right.
Temperature
Top-p / top-k
Beam search
Creativity vs reliability
Build itFor a legal-summary tool and a brainstorming tool, pick temperature and top-p for each and justify why they differ.
✓ CheckpointExplain what temperature and top-p each change about sampling, and why raising both at once is usually a mistake.
2
Image Generation
T2 · Intermediate · 60 min
Modern image models run diffusion in a compressed latent space for speed, guided by your prompt. Guidance scale controls how hard it follows the text; ControlNet-style conditioning adds pose, depth, or edges so you can direct composition, not just describe it.
Latent diffusion
Guidance scale
ControlNet conditioning
Img2img & inpainting
Build itExplain what raising the guidance scale does to an image, and when a lower value actually produces a better result.
✓ CheckpointExplain what guidance scale trades off, and what an extreme value does to the image.
Vision-language models take an image and text together and reason about both — describing a photo, answering questions about a chart, reading a screenshot. They fuse a vision encoder with a language model, and they are the fastest-moving frontier of GenAI.
Vision-language models
Image + text in
Visual question answering
Grounding to pixels
Build itList three product features that only become possible once a model can see an image and read text at the same time.
✓ CheckpointExplain what a vision-language model must align before it can answer a question about an image.
The same generative ideas extend to sound and motion: text-to-speech that sounds human, music from a prompt, and the young, fast-improving field of generated video. These push the hardest on compute, consistency over time, and evaluation.
Text-to-speech
Music generation
Text-to-video
Temporal consistency
Build itWhy is generating a 10-second video far harder than generating 10 separate images? Name the constraint that ties the frames together.
✓ CheckpointExplain why temporal coherence is the hard part of video generation rather than image quality.
5
Fine-Tuning Generative Models
T5 · Advanced · 60 min
To teach a model your style, brand, or a specific subject, fine-tune it. LoRA trains tiny adapters cheaply; DreamBooth teaches an image model a new subject from a handful of photos. The skill is knowing when a few example prompts would do instead.
LoRA adapters
DreamBooth
Style vs subject tuning
When not to fine-tune
Build itYou want a model to always draw your mascot. Argue whether prompting, LoRA, or DreamBooth fits — and what data each needs.
✓ CheckpointSay whether your problem is style or subject, and defend the tuning approach that follows.
Left alone, generative models confidently make things up. Grounding them in retrieved sources — RAG — keeps generated text tied to real documents you control, so answers are checkable and citable. It is the main defence against hallucination in generative products.
Retrieval-augmented generation
Grounding
Citations
Hallucination control
Build itDesign a "chat with our help docs" feature. How do you make sure every answer is grounded in a real doc, with a link?
✓ CheckpointExplain why grounding reduces hallucination without eliminating it, and what a citation is really asserting.
6 rungs · ~6h · ends at Ship a Generative Product.
0/6 done
1
Evaluating Generative Output
P1 · Advanced · 90 min
How do you score something open-ended — a paragraph, an image? There is no single right answer. You combine human review, automated metrics, and LLM-as-judge into a repeatable eval so you can tell whether a change actually improved quality.
Human evaluation
Automated metrics
LLM-as-judge
Golden sets & regression
Build itDesign an eval for an image generator: what mix of human ratings and automated checks tells you a new model version is better?
✓ CheckpointExplain why an LLM judge that agrees with you 95% of the time may still be useless, and what you would check first.
Generative models can be prompted into unsafe or off-brand output. Safety is layered: filter incoming prompts, moderate generated text and images, block disallowed content, and handle refusals gracefully — especially critical for anything public-facing.
Prompt & output filtering
Media moderation
Disallowed content
Refusal handling
Build itFor a public image generator, list the checks you run before showing a result to a user, and what happens when one trips.
✓ CheckpointExplain why output filtering is needed even when input filtering is in place.
Generation is slow and bursty. Streaming tokens as they are produced hides latency; batching improves throughput; and long generations or high-resolution images dominate cost. Serving GenAI well is about making the wait feel short and the bill stay small.
Token streaming
Batching
Time-to-first-token
Long-generation cost
Build itWhy does streaming make a 20-second answer feel fast? And what does batching buy you that streaming does not?
✓ CheckpointExplain why time-to-first-token matters more than total generation time for a streamed UI.
Repeated or similar generations are everywhere — cache them. Route simple requests to smaller, cheaper models, cache identical prompts, and cap spend per user. In generative products, cost control is a feature users never see but the business always feels.
Prompt / result caching
Model routing
Spend caps
Cheap-model fallbacks
Build itDesign a cache for a text generator: when is a cached result safe to reuse, and when must you regenerate?
✓ CheckpointExplain why a semantic cache can serve a confidently wrong answer, and what threshold decision that risk lives behind.
As generated media floods the world, proving what is AI-made — and where real media came from — matters. Watermarking embeds invisible signals in output; provenance standards (like content credentials) attach a tamper-evident history to a file.
Invisible watermarking
Content credentials
Provenance metadata
Detection limits
Build itWhy is watermarking generated text much harder than watermarking generated images? What can an attacker do to each?
✓ CheckpointExplain what a watermark can and cannot prove about a piece of generated media.
6
Ship a Generative Product
P6 · Advanced · 60 min
The finish line: fold everything — generation, grounding, evals, guardrails, serving, and cost control — into a real product people can use safely and you can afford to run. A conversational assistant is the canonical example that ties the whole roadmap together.
End-to-end architecture
Safety + cost + quality
User experience
Launch checklist
Build itDraw the architecture of a generative assistant: where do grounding, guardrails, caching, and evals each sit in the request path?
✓ CheckpointName the trade you made between safety, cost and quality in something you shipped — all three cannot be maximised.
Generative AI roadmap — frequently asked questions
The common questions before you start — how long it takes, whether to follow it in order, and how it stays current.
How long does this roadmap take?
It runs 18 stations across 3 tracks — roughly ~17h of focused learning, plus the time you spend actually building. It is self-paced, so most people work through it over a few weeks, an evening or a single station at a time.
Do I have to follow the stations in order?
The tracks are ordered so each station builds on the one before, and following them start to finish is the intended path. But every station also stands alone — if you already have the foundations, jump straight to the part you need.
Is it free?
Yes. The whole roadmap, and every handbook, lab, and challenge it links to, is free and open — no sign-up and no paywall.
How is the roadmap kept current?
It teaches the durable fundamentals of the role first, then the tooling and the AI-era shifts on top — so most of it stays relevant as individual tools churn, and it is revised as the role itself changes.
Who is this roadmap for?
Anyone stepping into or leveling up in the Generative AI role — whether you are switching in, early-career, or a senior filling gaps. Start where you are; the ladder shows what is left.
Finished this one? 0 / 31 Roadmaps done
Explore the topic
See this alongside everything else on the same subject — handbooks, system designs, challenges and tools, in one place.