AI tools, scored for your job
Get paid to train AI
🤝 You're in the Free & Open Source library — community-built tools you can use without paying. A different concept from our scored AI directory.
Home › Free & Open Source › Video › AI YouTube Shorts Generator
✦ Free & open sourceVideo

AI YouTube Shorts Generator

Turn YouTube videos into viral 9:16 shorts using LLM highlight detection and auto vertical cropping.

Open-Source AI YouTube Shorts Generator

Extract viral clips from long-form video with local or API execution.

Free forever · open source · MIT
✓ Light setup✓ Browser-based✓ Real-time collaboration
7.3
ZEKAI
Open-source Opus Clip alternative
Free & open source · Video
Ease of setup4
Usefulness8
Maintenance9.5
Community7.5
★ 5,068
GITHUB
Sep 2026
UPDATED
MIT
LICENSE
🛠 Don't want to self-host? We can set it up →
⚡ Quick answer

This tool automates the extraction of viral-ready 9:16 vertical shorts from long-form YouTube videos or local files. It is built for content creators, agencies, and developers wanting an alternative to monthly SaaS clipping subscriptions.

Runs on
Cross-platform
Hosting
Self-host
Languages
Python
License
MIT

What it is

It analyzes long-form videos using Whisper transcription and GPT or Gemini models to detect highlight moments based on hooks, conflicts, and story peaks. You can run it entirely locally with Python, `faster-whisper`, and OpenCV, or use the default MuAPI backend for faster processing.

Who it's for

It suits technical creators and developers comfortable with the command line who want to avoid per-clip credit caps. It does not suit non-technical users looking for a traditional web browser interface without setup.

Key features

Dual Execution Modes

Switch between a managed API backend and a local setup using faster-whisper and OpenCV.

Virality-Aware Highlights

Ranks clips based on hooks, opinion bombs, and emotional peaks rather than random intervals.

Smart Vertical Crop

Auto-crops 9:16 shorts using MuAPI or local OpenCV face tracking with motion smoothing.

JSON Data Export

Dump full transcripts, candidate highlights, and clip metadata via the `--output-json` flag.

How to start

Up and running in 3 steps

1
Clone the repository and create a Python virtual environment.
2
Install dependencies from requirements.txt and optionally requirements-local.txt.
3
Run main.py with a YouTube URL or local file path, specifying your preferred mode.
Real talk

Our honest verdict

What's great

  • No monthly subscriptions or per-clip credit limits on the open-source codebase.
  • Fully editable highlight ranking framework instead of a black-box algorithm.
  • Supports local file paths and `file://` URLs to bypass YouTube downloading entirely.
  • Outputs viral scores, opening hook lines, and explanations for every generated clip.

Where it falls short

  • Requires managing Python virtual environments, dependencies, and command-line flags.
  • Local mode demands local compute resources for faster-whisper and OpenCV face tracking.
  • API mode relies on external MuAPI keys and services.
Cost

Pricing & license

The code is free under its license, but running it requires your own API keys for LLMs and Whisper, or a MuAPI key if using API mode.

Paid work

Open remote AI-training roles

873 open remote AI-training roles, updated November 15, 2026; most pay $20–$170 an hour. Zekai lists them free; the application goes to the employer’s platform.

See all open roles →
Compare

Alternatives

🎁 Free & open-source alternatives

These reviewed AI tools do the same job instantly — from our scored directory.

Get more

Use it, or have us set it up

📄 Free PDF: AI YouTube Shorts Generator for Video
A plain-language guide to getting your first result. Sent to your inbox.
🔔 64 people want a full video tutorial — add your vote
🛠 Don't want to set it up yourself?
We'll install, host & configure AI YouTube Shorts Generator for you — and train your team.
Get it done for you ↗
Questions

FAQ

Can I run this completely offline?

Yes, using `--mode local`, which uses local faster-whisper, OpenCV, and your own OpenAI or Gemini API key strictly for the LLM highlight step.

What aspect ratios are supported?

The default is 9:16 for TikTok, Reels, and Shorts, but you can specify other aspect ratios using the CLI flags.

Radar

Latest AI news

✉️ The weekly free toolkit
The best new free & open-source tools for Video — one short email a week, in your language.
Free · 1 email/week · unsubscribe anytime
Get paid to train AI →

See Zekai first in Google