AI YouTube Shorts Generator: setup and clip ranking

Learn the Python setup for AI-Youtube-Shorts-Generator, with editable clip ranking, batch URL input, and an FFmpeg mode using OpenAI or Gemini keys.

Player not loading? Watch on YouTube

This tutorial introduces AI YouTube Shorts Generator, an open-source Python tool that turns long videos into ranked vertical clips. The source identifies Anil-matcha/AI-Youtube-Shorts-Generator, matching the catalog’s installable project.

The walkthrough outlines cloning the repository, creating a virtual environment, installing requirements and supplying an API key. A command accepts a YouTube URL and a requested clip count. The pipeline downloads and transcribes the video, scores candidate moments using an editable highlight framework, removes overlapping selections and crops around the speaker. The sample results include scores, hook lines and selection reasons.

The default mode uses an API-backed download, transcription and crop service. The presenter also describes local FFmpeg mode that still requires an OpenAI or Gemini key for model calls. That mode therefore includes external inference; the narration’s offline claim contradicts its stated configuration.

Other options include batch URLs from a text file, structured JSON output, aspect-ratio selection and Python integration. The reported render time describes the presenter’s example rather than a performance guarantee.