How ashifhusainoo7/moneyprinterturbo works
MoneyPrinterTurbo is an AI short-video creation application exposed through a WebUI and HTTP API. A user submits a topic or keywords and video settings; task processing coordinates script generation, material selection, voice/subtitles/music, and video assembly, then tracks the task and exposes the result. The graph also retains provider configuration and the documented media-generation integrations. The task module is sampled only in excerpts, so some stage links rely on its SOURCE INDEX references and README workflow rather than inspected call sites.
Main entry points: task.py Generation workflow · video.py Video API · Main.py WebUI · llm.py Script generation
Components 23
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 control
- Task manager
app/controllers/manager/base_manager.py - Redis queue
app/controllers/manager/redis_manager.py - Generation workflow
app/services/task.py - Task state
app/services/state.py - Request schemas
app/models/schema.py
Content creation
- Script generation
app/services/llm.py - LLM providers
app/models/llm_provider.py - Stock materials
app/services/material.py - Voice generation
app/services/voice.py - Subtitles
app/services/subtitle.py
Media and providers
- Background music
app/services/bgm.py - Video assembly
app/services/video.py - Video projects
app/services/video_project.py - Seedance integration
app/services/volcengine_seedance.py - Ofox integration
app/services/ofox.py - Loomloom integration
app/services/loomloom.py
Runtime services
- Runtime configuration
app/config/config.py - File paths
app/paths.py
Other components
- Creator
Connections 27
- Creator → WebUI: submits request
- Creator → Video API: submits request
- WebUI → Generation workflow: starts generation
webui/Main.py - WebUI → Script generation: requests LLM
webui/Main.py - Video API → Request schemas: validates input
app/controllers/v1/video.py - Video API → Task manager: queues task
app/controllers/v1/video.py - Video API → Generation workflow: starts generation
app/controllers/v1/video.py - HTTP router → Video API: routes requests
app/router.py - HTTP router → LLM API: routes requests
app/router.py - LLM API → Script generation: invokes generation
app/controllers/v1/llm.py - Task manager → Generation workflow: executes task
app/controllers/manager/base_manager.py - Redis queue → Task manager: implements queue
app/controllers/manager/redis_manager.py - Generation workflow → Task state: updates status
app/services/task.py - Generation workflow → Script generation: generates script
app/services/task.py - Generation workflow → Stock materials: selects footage
app/services/task.py - Generation workflow → Voice generation: generates narration
app/services/task.py - Generation workflow → Subtitles: creates subtitles
app/services/task.py - Generation workflow → Background music: adds music
app/services/task.py - Generation workflow → Video assembly: assembles video
app/services/task.py - Generation workflow → Video projects: uses project pipeline
- Generation workflow → Seedance integration: dispatches generation
app/services/task.py - Generation workflow → Ofox integration: dispatches generation
app/services/task.py - Generation workflow → Loomloom integration: dispatches generation
app/services/task.py - Script generation → LLM providers: resolves provider
app/services/llm.py - WebUI → Runtime configuration: reads settings
webui/Main.py - Generation workflow → Runtime configuration: reads settings
app/services/task.py - Generation workflow → File paths: uses storage paths