OStudi/short-video-generator-AI

Free open-source project designed for turning youtube-viedos into viral short videos. Highlight detection, subtitles, translation, voiceover, all in one for your content.

What it solves

It provides a free, open-source alternative to paid SaaS tools for converting long-form YouTube videos or local files into viral short-form clips (9:16). It automates the tedious process of finding high-impact moments, cropping video, and adding subtitles.

How it works

  1. Transcription: Uses faster-whisper to create a timestamped transcript of the video.
  2. Content Analysis: An LLM (OpenAI, Gemini, or MuAPI) classifies the video type (e.g., podcast, tutorial) to tune the highlight detection.
  3. Virality Ranking: The LLM scans the transcript using a virality framework to identify emotional peaks, hooks, and revelations, ranking them by score.
  4. Selection & Processing: The system deduplicates overlapping clips, selects the top-N candidates, and auto-crops them to the desired aspect ratio.
  5. Enhancement: Optionally adds an AI-generated hook at the start of the clip.

Who it’s for

Content creators who want to automate the creation of short-form social media content from longer videos without paying for subscription-based AI clipping tools.

Highlights

  • Multi-LLM Support: Compatible with OpenAI, Gemini, and MuAPI.
  • Automated Highlight Detection: Uses a virality-based algorithm to find the most engaging moments.
  • ** uma-flexible Input**: Supports both YouTube URLs and local video files.
  • Flexible Interface: Offers both a command-line interface (CLI) and a local web-based UI.
  • Customizable Output: Control over the number of clips, resolution, and aspect ratio.

Related

  • Project
  • Project
  • Project
  • Project
  • Project