How to Install AI Shorts Generator and Turn Long Videos Into Shorts
AI Shorts Generator is an open-source tool that cuts long YouTube videos into vertical short clips with AI. This guide covers the install and first steps.
What is AI Shorts Generator?
AI Shorts Generator is an open-source tool that cuts long YouTube videos into vertical short clips with AI. It picks the best moments, transcribes the speech and reframes the shot for a 9:16 screen, so a long video becomes a set of clips ready for TikTok or Reels. The project lives on GitHub, where you can read the source code and the README.
What can you do with it?
- Cut a long video into vertical 9:16 shorts automatically
- Let the AI pick the best moments and transcribe the speech
- Reframe shots for TikTok and Reels without manual editing
- Run in API mode, or in local mode for most of the work
It suits creators who already have long videos and want short clips from them without re-editing every one by hand.
How to install AI Shorts Generator
Start by cloning the repository. Open a terminal and run:
git clone https://github.com/SamurAIGPT/AI-Youtube-Shorts-Generator.gitThen, following the usage guide on the project page, create a virtual environment in the project folder:
python3.10 -m venv venvCreate a .env file in the project root for your API keys, then run a single video in API mode, which is the default:
python main.py "https://www.youtube.com/watch?v=VIDEO_ID"There is also a local mode, which runs offline except for the language model call:
python main.py "https://www.youtube.com/watch?v=VIDEO_ID" --mode localReplace VIDEO_ID with the ID of the video you want to cut.
First steps after installing
Try one short video first and watch the clips it produces. Check whether the chosen moments make sense and whether the vertical framing keeps the speaker in shot. If the cuts feel wrong, try a video with clearer speech and fewer scene changes. Keep the first runs short while you learn what the tool does well.
Frequently asked questions
Is AI Shorts Generator free? The software is open source and free to install. API mode needs API keys, which are billed by use; local mode runs offline except for the language model call.
Is it hard to install? The clone is one command, then a virtual environment and an .env file. The usage guide walks through each step.
How do I uninstall it? The project README does not list uninstall steps, so check the README on the project's GitHub page for the exact removal instructions.
Comments (0)