Video Fabrikası
A pipeline that picks a topic from the news, produces a vertical video on its own and then audits what it made
Screenshots & Schematics

Problem & Challenge
Off-the-shelf video generators pair script and footage blindly: whatever comes back first for a search term goes into the montage, and nobody checks the result. Irrelevant or unsuitable shots go straight out because of it.
How It Works
The topic finder scans the Turkish news cycle and scores candidates: Google Trends and Google News RSS, YouTube search suggestions, and the YouTube Data API when a key exists. All free.
The scriptwriter writes the Turkish script to Shorts conventions, along with footage search terms and the platform captions. Gemini on the free tier, or a local Ollama qwen3:8b when there is none.
The auditor reads the script before production and returns UPLOAD / FIX / DO NOT UPLOAD. A FIX sends it back to the writer; at most two full rewrites and three single-sentence corrections.
The footage picker filters Pixabay candidates before the montage: anything tagged unsuitable (religion, nudity, green screen, text, AI-generated, low quality) is dropped without downloading, and the rest are checked against the sentences as one contact sheet in a single vision call.
MoneyPrinterTurbo assembles the video; subtitles are drawn frame by frame on the Python side. The finished video is audited again, and a bad shot gets its clip swapped and the montage redone up to twice.
The packager produces video.mp4, kapak.jpg, YUKLE.md and denetim.json, and writes the run to the history.
Architecture & Technical Decisions
Python modules (topic finder, scriptwriter, auditor, footage picker, production, packager) drive the MoneyPrinterTurbo engine from the outside. The talking mascot is a separate branch: the characters are drawn as SVG layers (body, eyes, nine mouth shapes, brows), the voice is Edge TTS, lip sync is Rhubarb Lip Sync, the clip is rendered at 1080x1920 with Remotion and encoded on the GPU with FFmpeg (h264_nvenc). Rhubarb misses m/b/p and o/u in Turkish, so a correction derived from the script itself is layered on top.