How nheoshikuyanhemo/moneyprinterturbo works
MoneyPrinterTurbo turns a topic or keywords into one or more short videos through a web UI or API. The generation workflow covers script and material preparation, voice/audio, subtitles, video composition, and optional social publishing; users can also supply custom scripts and local media. The graph combines sampled calls and indexed references with README-documented capabilities. Some service wiring is not shown in the excerpts, so uncertain links are omitted.
Main entry points: task.py Generation workflow · video.py Video API · Main.py Web interface · base_manager.py Task manager
Components 22
User entry points
- Web interface
webui/Main.py
API and task control
- Video API
app/controllers/v1/video.py - LLM API
app/controllers/v1/llm.py - Task manager
app/controllers/manager/base_manager.py - Redis queue
app/controllers/manager/redis_manager.py
Video generation
- Generation workflow
app/services/task.py - Script and metadata
app/services/llm.py - Video materials
app/services/material.py - Speech synthesis
app/services/voice.py - Subtitle processing
app/services/subtitle.py - Video composition
app/services/video.py - Social publishing
app/services/upload_post.py
Configuration and state
- Application settings
app/config/config.py - Request schemas
app/models/schema.py - Task state
app/services/state.py - Path validation
app/utils/file_security.py
External services
- LLM providers
- Media sources
- Speech providers
- Redis
- Social platforms
Other components
- Video creator
Connections 24
- Video creator → Web interface: configures
README.md - Video creator → Video API: submits request
README.md - Web interface → Generation workflow: starts generation
webui/Main.py - Video API → Task manager: dispatches task
app/controllers/v1/video.py - Video API → Request schemas: validates input
app/controllers/v1/video.py - Video API → Task state: queries status
app/controllers/v1/video.py - Task manager → Generation workflow: runs task
app/controllers/manager/redis_manager.py - Task manager → Redis queue: uses queue implementation
app/controllers/manager/redis_manager.py - Redis queue → Redis: stores queued tasks
app/controllers/manager/redis_manager.py - Generation workflow → Script and metadata: generates script
app/services/task.py - Generation workflow → Video materials: finds footage
app/services/task.py - Generation workflow → Speech synthesis: creates audio
app/services/task.py - Generation workflow → Subtitle processing: creates subtitles
app/services/task.py - Generation workflow → Video composition: composes video
app/services/task.py - Generation workflow → Social publishing: publishes result
app/services/task.py - Generation workflow → Task state: updates progress
app/services/task.py - LLM API → Script and metadata: requests generation
app/controllers/v1/llm.py - Script and metadata → LLM providers: calls provider
app/services/llm.py - Video materials → Media sources: searches footage
- Speech synthesis → Speech providers: synthesizes speech
app/services/voice.py - Social publishing → Social platforms: cross-posts video
- Generation workflow → Path validation: validates paths
app/services/task.py - Web interface → Application settings: edits settings
webui/Main.py - Generation workflow → Application settings: reads settings
app/services/task.py