MoneyPrinterTurbo
Overview
MoneyPrinterTurbo is an end-to-end automated pipeline for generating short-form viral videos (YouTube Shorts, TikTok, Instagram Reels) using LLM script generation, text-to-speech synthesis (TTS), automatic subtitle alignment, and background video stitching.
Key Capabilities
- Script Generation: Generates topic-based scripts and hooks using AI models.
- Voice Synthesis: Integrates Edge TTS and local neural voices for natural voiceovers.
- Auto-Subtitling: Generates burned-in styled subtitles synchronized to phonemes and audio waveform.
- Publishing Automation: Includes a scheduled CronJob (
publish_shorts.py) for automated upload to YouTube via OAuth credentials.
Dual-Port Routing Architecture
Gateway API routes incoming HTTP traffic based on path prefixes:
path: /api→ Backend API service on port8080path: /→ Streamlit Web Management UI on port8501
┌───────────────────────────┐
│ moneyprinterturbo:8501 │ (Streamlit WebUI)
└───────────────────────────┘
▲
moneyprinter.babdelka.com ──► Gateway Fabric ──┤ (path: /)
▼ (path: /api)
┌───────────────────────────┐
│ moneyprinterturbo:8080 │ (FastAPI Engine)
└───────────────────────────┘
Operations & CronJob Scheduling
Monitoring the Video Publisher CronJob
# View recent cronjob executions
kubectl get cronjobs,jobs -n moneyprinterturbo
# Check logs of the last upload run
kubectl logs -n moneyprinterturbo -l job-name=<JOB_NAME>
Manual Trigger of Shorts Publisher
kubectl create job --from=cronjob/moneyprinterturbo-publisher manual-publish -n moneyprinterturbo