Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@GabrielLaxy GabrielLaxy released this 18 Feb 23:37
· 5 commits to main since this release
09e5acf

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

  1. Download the TikTokAIVideoGenerator-v1.0.0.zip .

  2. Extract the .zip file.

  3. Run the CMD in the folder.

  4. Install dependencies:

    pip install -r requirements.txt
  5. Set up API keys:

    • Rename your config.json file in the project root for my_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"
      }
  6. Install FFmpeg:

    • Download and install FFmpeg from ffmpeg.org.
    • Add FFmpeg to your system PATH.
  7. 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
  8. Double click run.bat


  1. Clone the repository:

    git clone https://github.com/GabrielLaxy/TikTokAIVideoGenerator.git
    cd TikTokAIVideoGenerator
  2. Install dependencies:

    pip install -r requirements.txt
  3. Set up API keys:

    • Rename your config.json file in the project root for my_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"
      }
  4. Install FFmpeg:

    • Download and install FFmpeg from ffmpeg.org.
    • Add FFmpeg to your system PATH.
  5. 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.