How punitdixit/moneyprinterturbo works
MoneyPrinterTurbo is an AI short-video creation application exposed through a WebUI and HTTP API. A user submits a topic or keywords; the application generates a script, finds or generates visual material, creates narration and subtitles, adds music, and assembles a finished video. The graph preserves those documented capabilities and the task/state and provider layers. Some service implementations were not sampled, so their workflow links rely on the README or SOURCE INDEX rather than inspection of their internals.
Main entry points: task.py Video task · video.py Video API · router.py HTTP router · llm.py Script and copy
Components 20
User interfaces
- WebUI
webui/Main.py - Video API
app/controllers/v1/video.py - LLM API
app/controllers/v1/llm.py - HTTP router
app/router.py
Task orchestration
- Task manager
app/controllers/manager/base_manager.py - Redis queue
app/controllers/manager/redis_manager.py - Video task
app/services/task.py - Task state
app/services/state.py
Content generation
- Script and copy
app/services/llm.py - Visual materials
app/services/material.py - Video providers
app/services/ofox.py - Voice generation
app/services/voice.py - Subtitle generation
app/services/subtitle.py - Background music
app/services/bgm.py
Media assembly
- Video assembly
app/services/video.py - Task artifacts
app/services/task_artifacts.py
Runtime services
- Configuration
app/config/config.py - Request and task models
app/models/schema.py - Media utilities
app/utils/utils.py
Other components
- Creator
Connections 23
- Creator → WebUI: submits topic
README.md - Creator → HTTP router: calls API
README.md - WebUI → Video task: starts creation
webui/Main.py - HTTP router → Video API: routes video
app/router.py - HTTP router → LLM API: routes LLM
app/router.py - Video API → Task manager: queues task
app/controllers/v1/video.py - Video API → Video task: dispatches task
app/controllers/v1/video.py - Task manager → Redis queue: uses queue
app/controllers/manager/redis_manager.py - Redis queue → Task state: updates state
app/controllers/manager/redis_manager.py - Video task → Task state: records progress
app/services/task.py - LLM API → Script and copy: requests generation
app/controllers/v1/llm.py - Video task → Script and copy: generates script
app/services/task.py - Video task → Visual materials: finds material
app/services/task.py - Visual materials → Video providers: uses providers
app/services/material.py - Video task → Voice generation: generates narration
app/services/task.py - Video task → Subtitle generation: creates subtitles
app/services/task.py - Video task → Background music: adds music
app/services/task.py - Video task → Video assembly: assembles video
app/services/task.py - Video task → Task artifacts: stores outputs
app/services/task.py - Video assembly → Media utilities: uses media tools
- Video API → Request and task models: validates requests
app/controllers/v1/video.py - Video task → Configuration: reads settings
app/services/task.py - Script and copy → Configuration: reads provider settings
app/services/llm.py