Skip to content

Automatic youtube or insta shorts generator, Free alternative to openAI api bots

Notifications You must be signed in to change notification settings

Armaansaini20/ShortEZY-YouTube-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shortsy-YouTube Shorts Generator Bot

🤖 Totally free YouTube Shorts Generator automatically using Gemini API by simply running the script

FREE ALTERNATIVE TO OPENAI

🤓How it works

1. Content

Enter the theme of the video and AI will generate the content for the video automatically using Gemini API

2. Text-to-speech

The content generated by AI is then converted to speech using gTTs and it saves the files as "speech.mp3

3. Editing

Video is edited using MoviePy which takes a gameplay video, trims a random part of it and add the speech generated on top of it. Then the video is resized to 9:16 ratio which is the ratio for shorts or reels.

📝How to use

📌Prerequisites

**1. Gemini API key -** Get api key from https://ai.google.dev/gemini-api/docs/api-key.
**2. Gemini API -** pip google.generativeai.
**3. gTTs -** pip install gTTs.
**4. MoviePy -** pip install moviepy.

📹Usage

To use download the repository as zip file or clone the repository directly.
also download some gameplay footage (random minecraft parkour gameplay) from online [will upload the gameplay files myself later] and add them to a folder and name it gameplay.
also create a new folder called generated/

To use run the script yt.py.
Before running the script make sure you get the key from above website then add the said key to constants.py file.

Now you only have to run the script and in some time you will have your generated video short. The generated short will be saved in '/generated' directory.

About

Automatic youtube or insta shorts generator, Free alternative to openAI api bots

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages