Automate the creation of short videos for instagram, youtube, tiktok , simply by providing a video topic to talk about.
🎥 Watch the video on YouTube.
AI Video Creator
requires Python 3.11 to run effectively. If you don't have Python installed, you can download it from here.
After you finished installing Python, you can install AI Video Creator
by following the steps below:
git clone https://github.com/proxyvector/ai-video-creator
cd ai-video-creator
# Install requirements
pip install -r requirements.txt
# Copy config-example.json and fill out values
cp config-example.json config.json
# Run the main script
python main.py
See config-example.json
for the required environment variables.
- Copy the
config-example.json
file toconfig.json
and fill in the required values - Run the main script using the command
python main.py
- Enter a topic to generate a video about and hit enter
- Wait for the video to be generated
- The output video's location is printed on the console.It is of the format
temp/<project-id>/output.mp4
You can add music to your videos by putting all your mp3 files in the songs folder.
You can also download royalty free music from youtube. Use the scripts/download_music.py
file to download the music of any youtube video to the songs folder.
The main script selects a song at random from all the mp3 files in the songs folder and adds it to the video
To change the font of the subtitles simply specify the font name in the config file. If you want to try a font not on your system, you need to install the font in the system first.Then you can specify the font in the config file.
If you face any issues while installing or using this tool, you can raise an issue using github issues
See LICENSE
file for more information.
If you liked my work, pls star it! This helps me know if I should build more stuff like this :) You can connect with me on twitter