← All exercises
Exercise 03 / 10

Your First AI-Generated Project

Describe your vision in English. The agent builds it.

Duration45–90 minutes
DifficultyBeginner–Intermediate
PrerequisitesExercises 01–02 — terminal, Git, GitHub CLI, and an AI coding agent. A free Hugging Face account.
Your First AI-Generated Project
Fig. 03Hands-On Guide
Introduction

Overview

Now you're going to take a real open-source project, describe what you want in plain English, and let an AI agent transform it — generating custom illustrations with AI models hosted on Hugging Face, spoken narration with a free text-to-speech service, and a recoloured animated background.

No prior coding experience required. The agent adapts the project's own asset script to your topic, you read each diff, and you approve each command before it runs.

Make your bullet points visual. Each one will become an AI-generated image, so specific and concrete works better than abstract. 'A warehouse filled with rows of server racks' will generate a better illustration than 'technology infrastructure.'

— from the exercise
What you'll build

By the end of this exercise.

  • A forked copy of the Web Presenter project
  • A Hugging Face read token kept in the HF_TOKEN environment variable — never in a file or a prompt
  • Ten custom illustrations generated with FLUX via Hugging Face (covered by the free monthly credit)
  • Ten MP3 narration clips generated with edge-tts — no account or key needed
  • A customised Three.js animated background matching your colour palette
  • A complete presentation previewed locally and pushed to a branch on GitHub
Key concepts

Terms you'll learn.

Hugging Face
A platform hosting thousands of AI models — like GitHub but for machine learning
Access token
A secret key that proves your identity when calling the models — a read token is enough
Environment variable
A value that lives in your terminal session — keeps secrets out of code, Git and prompts
Virtual environment
A private folder of Python packages just for this project
Text-to-image
AI models that generate illustrations from plain English descriptions
Text-to-speech
Software that converts written text into spoken audio
Diff
The lines an edit added (+) and removed (-) — check it before anything runs
What's covered

Sections in this exercise.

  1. 01What You'll Build
  2. 02What You'll Need
  3. 03Set Your Hugging Face Token
  4. 04Fork and Clone the Project
  5. 05Install the Python Packages
  6. 06Explore the Project
  7. 07Choose Your Topic
  8. 08Generate the Illustrations
  9. 09Generate the Narration
  10. 10Update the Presentation
  11. 11Customise the Animated Background
  12. 12Preview in Your Browser
  13. 13Commit and Push
What just happened

You described a vision in plain English and an AI agent turned it into a working product — illustrations, narration, and an animated background. Just as important: you kept your token in the environment instead of the chat, read each diff before anything ran, and approved commands one at a time.