▶YouTube
AI Skills

How to Install AI Shorts Generator and Turn Long Videos Into Shorts

November 12, 2026 · NextGenTip · 15 views

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?

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.git

Then, following the usage guide on the project page, create a virtual environment in the project folder:

python3.10 -m venv venv

Create 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 local

Replace 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.

← Back to all guides

Comments (0)

Leave a comment