Write a lesson with AI
Type a topic and let the AI write the whole lesson in one go, or paste a lesson that ChatGPT, Claude or Gemini wrote for you.
Open the window
- On the home screen, click More, then From JSON, for a new lesson (New project from a lesson JSON).
- Inside a lesson (Add slides from a lesson JSON): right-click the slide, then Import, then Lesson JSON / AI…; or the small ▾ under Add slide at the end of the slide strip, then Paste lesson JSON…. These add slides after the one you have selected.
Let the AI write it here
- On the right, under Let an AI write it, type a Topic such as "How vaccines work".
- Set the Length in minutes and pick the switches: Find YouTube videos, Animations, Interactive and Teleprompter script. They work as in Plan with AI. Lessons written here aren't checked slide by slide afterwards.
- Click Write with Gemini (or Write with Claude, Write with OpenAI). It says Gemini is writing…, with Stop. The finished lesson appears on the left.
- Check the line under the box. It says, for example, Ready: 9 slides · 2 YouTube clips · notes on 9 · ~6 min.
- Click Create project (or Add 9 slides).
Use any AI you like
You don't need a key in TeachSlides to use an AI's lesson:
- Type the topic, then click Or copy the prompt for any AI.
- Paste the prompt into ChatGPT, Claude, Gemini or any other AI chat.
- Copy the whole reply and paste it in the big box on the left. TeachSlides finds the lesson in it, even with chatter around it.
- Click Create project.
What a lesson can hold
A lesson is a short piece of JSON: a title, a theme, a video shape and a list of slides. Each slide has a type and, if you like, notes (your script), a layout, a transition and a background.
The slide types are: title, section, bullets, text, quote, image, canvas, free, svg, html, app, diagram, flowchart, mindmap, 3d, code, youtube, screen and camera. A canvas slide is laid out from building blocks, a free slide is drawn from shapes, lines and text, and an app slide is a small web app that runs on the slide. A slide of an unknown type that lists its own elements is made as a free slide, with a warning.
Click Copy or Paste here under Example to see a lesson with eight kinds of slide. Image links are downloaded and YouTube clips are fetched in the background.
If it says something is wrong
The line under the box lists what to fix, slide by slide:
- "This isn't valid JSON": part of the reply is missing. Ask the AI to send the whole lesson again.
- "Slide 4: unknown type": the AI made up a slide type. Change it to one from the list above, or give the slide its own elements.
- "url must be a YouTube link" or "can't read start time": fix the clip's link, or write times as "1:30" or 90.
Amber lines are warnings only, such as an unknown theme. You can still create the lesson.