How harry0703/moneyprinterturbo works
MoneyPrinterTurbo is an AI short-video creation application with WebUI and HTTP API entry points. Users provide a topic or keywords and receive generated scripts, matched media, subtitles, background music, and a composed video. The graph shows the documented creation stages and the task-management layer; several service connections are documented only at product level because their implementation excerpts were not provided.
Main entry points: task.py Task Orchestrator · video.py Video Endpoints · llm.py Script and LLM · router.py HTTP API
Components 18
API and Tasks
- Video Endpoints
app/controllers/v1/video.py - LLM Endpoints
app/controllers/v1/llm.py - Task Manager
app/controllers/manager/base_manager.py - Redis Queue
app/controllers/manager/redis_manager.py - Task Orchestrator
app/services/task.py
Creation Services
- Script and LLM
app/services/llm.py - Media Matching
app/services/material.py - Voice Generation
app/services/voice.py - Subtitle Processing
app/services/subtitle.py - Background Music
app/services/bgm.py - Video Composition
app/services/video.py
Configuration and State
- Runtime Configuration
app/config/config.py - Task State
app/services/state.py
Other components
- Creator
- AI Model Providers
- Media Sources
Connections 21
- Creator → WebUI: creates with
README.md - Creator → HTTP API: submits requests
README.md - WebUI → Task Orchestrator: starts creation
webui/Main.py - HTTP API → Video Endpoints: routes requests
app/router.py - HTTP API → LLM Endpoints: routes requests
app/router.py - Video Endpoints → Task Manager: queues work
app/controllers/v1/video.py - Video Endpoints → Task Orchestrator: starts task
app/controllers/v1/video.py - LLM Endpoints → Script and LLM: requests text
app/controllers/v1/llm.py - Task Manager → Task Orchestrator: executes work
app/controllers/manager/base_manager.py - Redis Queue → Task Manager: implements queue
app/controllers/manager/redis_manager.py - Task Orchestrator → Script and LLM: generates script
app/services/task.py - Task Orchestrator → Media Matching: matches media
app/services/task.py - Task Orchestrator → Voice Generation: generates narration
app/services/task.py - Task Orchestrator → Subtitle Processing: creates subtitles
app/services/task.py - Task Orchestrator → Background Music: adds music
app/services/task.py - Task Orchestrator → Video Composition: composes video
app/services/task.py - Script and LLM → AI Model Providers: calls model
app/services/llm.py - Media Matching → Media Sources: fetches media
- Task Orchestrator → Task State: records progress
app/services/task.py - Script and LLM → Runtime Configuration: reads settings
app/services/llm.py - Video Endpoints → Task State: updates task state
app/controllers/v1/video.py