Skip to main content
AI / Python

Automated Wikipedia-to-TikTok video pipeline

End-to-end content automation that discovers unusual Wikipedia topics, writes structured video scripts with visual cues, synthesizes voiceover with Edge TTS, composites visual elements (stick figures, images, diagrams), and renders final MP4s. Fully automated from research to rendered video.

Links Coming Soon
Tech Stack
PythonEdge TTSffmpegPillowBeautifulSoupWikipedia APIsvglib
Key Features

01

Wikipedia API integration for discovering unusual/interesting topics

02

Structured script generation with visual cue annotations

03

Voice synthesis via Edge TTS with scene timing synchronization

04

Visual composition: stick figures with expressions, images, annotations

05

ffmpeg video encoding with composited audio + visual tracks

06

Batch processing queue for rendering multiple videos

Architecture

Pipeline: discover.py queries Wikipedia API for unusual articles -> scriptwriter.py generates structured scripts with visual cues -> Edge TTS synthesizes voiceover and returns timing data -> renderer composites visual elements per scene using Pillow (stick figures, downloaded images, text annotations) -> ffmpeg encodes final MP4 with synchronized audio. Batch mode processes queue of topics end-to-end.

Screenshot / Demo Coming Soon