This tool automates the process of creating shorts videos by utilizing GPT3 for content creation. A Python script is used to request the OpenAI API with the configured prompt, which returns 12 historical facts about a specific day. The tool then takes this information and blends it into a background video and applies a music file, both of which are templates stored in a separate folder. Finally, all generated videos are saved in a dedicated folder.
Example Youtube channel
Example Tiktok channel
The motivation behind it stems from the desire to save time and effort while still producing high-quality videos that capture the viewer's attention.
To install the necessary packages and dependencies, run the following next steps: - Clone the repository:
git clone https://github.com/dravicenna/youtube-gpt-content-maker
python3.9 -m venv venv
source venv/bin/activate
python -m pip install -r requirements.txt
This tool utilizes Moviepy and ImageMagick to generate the final videos. It is important to have ImageMagick installed on your machine in order to run the Python script. You can download ImageMagick from the official website.
With these steps, you should have successfully set up the repository and environment for the youtube-gpt-content-maker script.
Before using this tool, there are a few requirements and installations that need to be made.
Obtain video and music templates to use as the background and soundtrack for your videos. You can setup video and music folders in config.py
Rename .env-example to .env and paste OpenAI API.
config.pyprompts.txt and paste there some dates line by line. python main.py$ claude mcp add youtube-gpt-content-maker \
-- python -m otcore.mcp_server <graph>