Skip to content

Automating top 10 and short YouTube video maker with ChatGPT without API

Notifications You must be signed in to change notification settings

amirreza1307/GPTube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎬YouTube video maker

⚡Automating top 10 and short YouTube video maker with ChatGPT without API⚡

Sample Top 10 video

Top 10 "survival video games"
survival.video.game.mp4

Sample short video

"Cooking secrets"
short.mp4

🚀Run on Google Colab (Recommended)

If you prefer not to install the prerequisites on your local system, you can use the Google Colab notebook. This option is free and requires no installation setup.

  1. Click on the link to the Google Colab notebook: https://colab.research.google.com/drive/1Z0Scppdihf2csuUJF20UiuRrHCoCNqIr?usp=sharing

  2. First, run "Run Frist" cell to install prerequisites

  3. Now set "Short Video" or "Long Video" cell settings and run it

Important : For make short video or intro with video in long video,you need set pexels API (get pexels API from pexels.com for free)

🎥Run on local system

Prerequisites

Before you begin, ensure that you have the following prerequisites installed on your system:

  • Python 3.x
  • Pip (Python package installer)

Installation Steps

Step 1: Clone Repository

git clone https://github.com/amirreza1307/GPTube.git

Step 2: install Requirements

cd YouTube-video-maker
pip install -r requirements.txt

Step 3: Run

  1. You can run rungui.py set config and run to make video.

    python rungui.py
    
  2. If you don't want run with gui, you can use this commands

    For Long Video

    python video.py -topic "$topic" -general_topic "$general_topic" -time "$time" -intro_video "$intro_video" -pexels_api "$pexels_api" -language "$language" -multi_speaker "$multi_speaker"
    

    For Short Video

    python short.py -topic "$topic" -time "$time" -language "$language" -multi_speaker "$multi_speaker" -pexels_api "$pexels_api"
    

    Replace variables with desired settings

🎞️Custom background music and outro pic

for use your custom background music and outro pic in video put this download link on download_list\background_music.txt and download_list\outro_pic.txt

Required APIs

  • Openai: There is no need now

  • pexels API: get from pexels.com for free