voice-ai

AI-Youtube-Shorts-Generator: Convert Videos

Get viral YouTube shorts from long-form videos.
4,350 stars769 forksPythonGuide quality 8/10Updated 7/21/2026100% free · open source
What it does

Turn long-form YouTube videos into viral 9:16 shorts using LLM highlight detection, Whisper transcription, and auto vertical cropping

When to use it
  • You have a long YouTube video and want to create shorter, engaging clips for social media
  • You need to automatically generate highlights from a long video without manual editing
  • You want to create vertical videos for platforms like TikTok, Instagram Reels, or YouTube Shorts
Ready-to-paste prompt
python main.py --input_video 'path/to/your/video.mp4' --output_path 'path/to/output/folder'
Heads up: You need to have the YouTube API key and the Whisper model installed, and also ensure you have the necessary permissions to access the YouTube API
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🔑 Needs an API key

Works after you add credentials — the setup agent will ask you for them.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/ai-youtube-shorts-generator && curl -fsSL https://workflowstacks.com/api/skills/ai-youtube-shorts-generator/claude-skill -o ~/.claude/skills/ai-youtube-shorts-generator/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How AI-Youtube-Shorts-Generator: Convert Videos works
Codeflow
Free to inspect

AI-Youtube-Shorts-Generator: Convert Videos is a small Python project (~1.3k lines across 14 code files). Setup is light: install Python, add API keys, run one command. Last commit this month, no license file, no tests found.

Size
Small codebase
~1.3k lines · 14 code files · 11 min skim
Setup
Light setup
Install Python, add API keys, run one command.
Runs on
Python
Needs API keys (.env)
Python 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    main.py
    Where the program starts running
  3. 3
    requirements.txt
    Dependencies and the commands it exposes
  4. 4
    .env.example
    The API keys and settings you must provide
What's in each folder
shorts_generator/Folder13 files
.claude/Editor / agent settings1 files
assets/Images & static assets1 files
READMENo tests foundDocumentedNo CINo licenseUpdated this month
Quick Actions
Details
Creator
SamurAIGPT
Language
Python
Category
voice-ai
Published
6/28/2024

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.