EasyEnv
Engineering/Courses/Catalog/Prompt Engineering/How Diffusion Models Generate Images
Prompt Engineering
IntermediateLesson 8 of 1130 min · hands-on

How Diffusion Models Generate Images

Part of the Prompt Engineering course

Until now every prompt you wrote produced text. This lesson opens Part 3, where the same prompt produces a picture. The medium changes but the mindset from Part 1 does not: you are still steering a model with words, and vague words still get you vague results. Before you can prompt an image model well, it helps to know what it is actually doing when it turns your sentence into a picture.

A common guess is that an image model searches a huge library and stitches together pieces of existing pictures. That is not what happens. There is no collage and no lookup. The model builds every image from scratch, and the raw material it starts from is pure random noise. ...

Want to learn Prompt Engineering How Diffusion Models Generate Images in a real environment?

Click below, get a fresh Linux box with Prompt Engineering ready to go, and work through How Diffusion Models Generate Images hands-on with an AI tutor that knows your code.

Start this lessonHow Diffusion Models Generate Images

What you'll learn

  • Diffusion as iterative denoising
  • Text conditioning of the image
  • Seeds and reproducibility
  • Sampling steps and guidance scale

Read this lesson in your language

All lessons in this course

11 lessons
  1. 1What a Prompt Is20 min
  2. 2How Large Language Models Generate Text30 min
  3. 3The Five Principles of Prompting30 min
  4. 4Standard Practices for Text Generation35 min
  5. 5Prompt Templates and Function Calling35 min
  6. 6Vector Databases and Retrieval-Augmented Generation40 min
  7. 7Autonomous Agents: Memory and Tools40 min
  8. 8How Diffusion Models Generate Images30 min
  9. 9Standard Practices for Image Generation35 min
  10. 10Advanced Image Techniques: Inpainting, Outpainting, and ControlNet35 min
  11. 11Building AI-Powered Applications40 min

Explore other courses

How Diffusion Models Generate Images - Prompt Engineering (English) | Engineering Courses