
Stop staring at a blank page. Type a topic - get a punchy 30-second script.
In this hands-on project you build a small Python tool that asks an AI to write short-video scripts for you: a hook in the first second, a few quick beats, and a strong ending line. It uses Google Gemini’s free tier by default, or your own local AI with Ollama.
What you’ll build
write_script.py: type a topic, get a script saved as a text fileWhat you’ll learn
What you get
You need: Windows or Mac, an internet connection (or Ollama), a free Google account, and the free lessons What is the terminal?, What is Python? and What is an API? (links inside).
Time: about 25 minutes.