Version 1.0.0 - Initial Release
This is the first official release of the TikTok AI Video Generator , a Python-based tool designed to automate the creation of vertical videos optimized for platforms like TikTok, Instagram Reels, and YouTube Shorts. This release introduces a fully functional pipeline that leverages AI models for script generation, image creation, audio synthesis, and captioning.
Key Features
- Script Generation: Automatically generate engaging video scripts using Llama3 via the Groq Cloud API.
- Image Generation: Create high-quality images tailored to your script using Together AI's FLUX-1 model.
- Audio Synthesis: Convert scripts into natural-sounding audio with Kokoro TTS (with fallback to Edge TTS).
- Caption Generation: Generate accurate captions from audio using OpenAI's Whisper model.
- Video Composition: Combine images, audio, and captions into a polished final video using MoviePy.
- User Choice: Choose between generating a full video (script + images + audio + captions) or just the script, images, and audio.
How to Install
-
Download the
TikTokAIVideoGenerator-v1.0.0.zip
. -
Extract the
.zip
file. -
Run the
CMD
in the folder. -
Install dependencies:
pip install -r requirements.txt
-
Set up API keys:
- Rename your
config.json
file in the project root formy_config.json
, make sure the archive is with the following structure:{ "groq_api_key": "your-groq-api-key", "together_api_key": "your-together-api-key" }
- Rename your
-
Install FFmpeg:
- Download and install FFmpeg from ffmpeg.org.
- Add FFmpeg to your system PATH.
-
Install ImageMagick:
- Download and install ImageMagick from ImageMagick.
- Make sure ImageMagick's folder is on this path.
C:\Program Files\ImageMagick-7.1.1-Q16-HDRI
-
Double click
run.bat
-
Clone the repository:
git clone https://github.com/GabrielLaxy/TikTokAIVideoGenerator.git cd TikTokAIVideoGenerator
-
Install dependencies:
pip install -r requirements.txt
-
Set up API keys:
- Rename your
config.json
file in the project root formy_config.json
, make sure the archive is with the following structure:{ "groq_api_key": "your-groq-api-key", "together_api_key": "your-together-api-key" }
- Rename your
-
Install FFmpeg:
- Download and install FFmpeg from ffmpeg.org.
- Add FFmpeg to your system PATH.
-
Install ImageMagick:
- Download and install ImageMagick from ImageMagick.
- Make sure ImageMagick's folder is on this path.
C:\Program Files\ImageMagick-7.1.1-Q16-HDRI
Known Issues
- Kokoro TTS Fails: If Kokoro TTS encounters an issue, the program automatically falls back to Edge TTS.
- FFmpeg Not Found: Ensure FFmpeg is installed and added to your system PATH.
- API Errors: Verify that your API keys are correct and have sufficient credits.