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.
Wikipedia API integration for discovering unusual/interesting topics
Structured script generation with visual cue annotations
Voice synthesis via Edge TTS with scene timing synchronization
Visual composition: stick figures with expressions, images, annotations
ffmpeg video encoding with composited audio + visual tracks
Batch processing queue for rendering multiple videos
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.