Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Free open-source project designed for turning youtube-viedos into viral short videos. Highlight detection, subtitles, translation, voiceover, all in one for your content.
| Date | Stars |
|---|---|
| 2026-07-24 | 326 |
| 2026-07-25 | 326 |
| 2026-07-28 | 327 |
| 2026-07-30 | 327 |
| 2026-08-06 | 327 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# AI shorts generator
  
A free open-source project designed to turn youtube-videos into viral short videos. Highlight detection, subtitles, translation, voiceover, all in one for your content: no pre-clip credits or any watermarks. Designed for creators who want an alternative to short-video SaaS tools like OpusClip or Vidyo.ai for free.
## Examples of a processed video
<table>
<tr>
<td align="center">
<img width="360" height="670" alt="image" src="static/ex1.png" ><br>
<sub><i>"The Speech that Made Obama President"</i></sub>
</td>
<td align="center">
<img width="298" height="533" alt="image" src="static/ex2.png" ><br>
<sub><i>"How Tom Overcame Social Anxiety - The Mindset That Changed Everything"</i></sub>
</td>
<td align="center">
<img width="298" height="533" alt="image" src="static/ex3.png" ><br>
<sub><i>"How to stay calm when you know you'll be stressed | Daniel Levitin | TED"</i></sub>
</td>
</tr>
</table>
# Features 🪁
- **API**: Freely use this generator in your own projects via our API.
- **Convenient**: Paste a YouTube link (any length!) and get a ready-to-post 9:16 short.
- **Hooks option**: When enabled, adds a context-aware AI-generated hook at the start of the clip
- **Web version**: Besides the CLI, you can also generate videos on a local website
- **Smart Highlight Selection**: Finds the most viral, hot moments from your video automatically based on algorithm
## How It Works
1. **Download**: Fetches the source video from YouTube, or uses the local file path directly
2. **Transcribe**: `faster-whisper` produces a timestamped transcript locally — same step regardless of which `LLM_PROVIDER` is selected
3. **Detect content type**: The chosen LLM classifies the video (podcast, interview, tutorial, vlog, etc.) and pacing, so the highlight prompt can be tuned per content style
4. **Highlight ranking**: The chosen LLM (`openai` / `gemini` / `muapi`) scans the transcript through a virality framework — hook moments, emotional peaks, opinion bombs, revelations, conflict, quotables, story peaks, practical value — and emits ranked candidates with scores 0–100
5. **Dedupe**: Overlapping candidates are collapsed by score
6. **Top-N selection**: The top `--n` candidates are selected
7. **Auto-crop**: Each highlight is rendered as a vertical short at the requested `--ratio`, with an optional AI-generated hook at the start unless `--no-hook` is set
# Requirements
- Python 3.10+
- Any LLM API key(OpenAI/Gemini/MuAPI)
- `requirements.txt` file dependencies
# Quick start
1. **Clone the repo:**
```bash
git clone https://github.com/OStudi/short-video-generator-AI.git
cd short-video-generator-AI
```
2. **Create and activate a virtual environment:**
**Windows:**
```bash
python -m venv venv
venv\Scripts\activate
```
**Linux/MacOS:**
```bash
python -m venv venv
venv\Scripts\activate
```
3. **Install dependencies**
```bash
pip install -r requirements.txt
```
4. **Set up `.env`**
```env
# Used LLM provider(openai/gemini/MuAPI)
LLM_PROVIDER=openai
# Enter the API key for the chosen provider
OPENAI_API_KEY=your_openai_key_here
OPENAI_MODEL=gpt-4o-mini # optional
GEMINI_API_KEY=your_gemini_key_here
GEMINI_MODEL=gemini-2.5-flash # optional
MUAPI_API_KEY=your_muapi_key_here
# Whisper settings
LOCAL_WHISPER_MODEL=base # tiny / base / small / medium / large-v3
LOCAL_WHISPER_DEVICE=auto # auto / cpu / cuda
```
If you uncertain about the provider:
| Provider | Free tier? | Get key |
|---|---|---|
| **Gemini** | ✅ Yes, but daily limit | https://aistudio.google.com |
| **OpenAI** | ❌ Paid | https://platform.openai.com |
| **MuAPI** | ❌ Paid, but pay-per-use, no subscription | https://muapi.ai |
# Usage
Basic usage:
Excerpt of 5,503 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:772f192b59c195b8, topic:video-editing