2026Download
YouTube Shorts Automation
- Python
- Typer
- Gemini API
- Edge TTS
- MoviePy
- FFmpeg
- YouTube Data API
Overview
A Python tool that uses AI to turn a topic into a YouTube Short: Gemini writes the script, Edge TTS narrates it and the captions highlight each spoken word.
01 · Problem
Making a Short is a long manual chain of script, narration, caption timing, editing and upload, and AI-written scripts can add details that are not true.
02 · Solution
A command-line tool that has Gemini write the script from a topic, narrates it with Edge TTS, burns in captions that highlight each word as it is spoken and uploads the video to YouTube. In the GTA 5 pack the model only rewords facts checked against two sources, and code sends back any script that breaks the rules.
03 · Outcome
A 21-second sample Short rendered in 44 seconds, and trimming the trailing silence took it from 25 to 21 seconds. 593 automated tests run without network or keys.