A Python application that automates the end-to-end creation of Reddit storytime videos for TikTok.
Handles everything from scraping Reddit posts to synthesizing voiceovers and assembling the final video.
- Scrapes the top daily post from the popular subreddit r/AmItheAsshole (AITA)
- Uses TikTok’s native Text-to-Speech (TTS) API to generate narrations
- Transcribes speech to timestamped subtitles using OpenAI’s Whisper
- Automatically overlays audio, subtitles, and gameplay background footage with MoviePy
- Supports customizable video backgrounds (e.g., Minecraft parkour, Subway Surfers)
All content is generated and compiled autonomously, making it easy to batch-create TikTok-ready videos.
- Reddit Scraping – Utilizes
PRAW
to fetch top posts from r/AITA - Text-to-Speech – Sends post text to TikTok's TTS API, saving audio for narration
- Transcription – Runs OpenAI Whisper locally to generate aligned subtitles
- Video Composition – Combines narration, subtitles, and gameplay footage into one cohesive video using MoviePy
- Python 3.11+: Download here
ffmpeg
must be installed and available in your system PATH
- Clone the repository
git clone https://github.com/Shynee1/TiktokVideoCreator
cd TiktokVideoCreator
- Install Dependencies
pip install -r requirements.txt
- Download required assets
- Background Gameplay Files (Google Drive)
- Extract the folder and place the videos into the
assets/background_videos
directory
- Set up Reddit API credentials
- Create a Reddit Developer Application
- Add your Reddit API credentials to a file named
praw.ini
in the project root:
[DEFAULT]
client_id=YOUR_CLIENT_ID
client_secret=YOUR_CLIENT_SECRET
user_agent=YOUR_APP_NAME
- Output videos are saved to the output/ directory by default
- Whisper will automatically generate .srt subtitle files
- Background clips are randomly selected unless otherwise specified
This project was built for automation, experimentation, and educational purposes. Feel free to fork, modify, or expand on it!