# Repository Briefing: harry0703/MoneyPrinterTurbo
> Source: https://repoforai.com/repo/harry0703/MoneyPrinterTurbo (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/harry0703/MoneyPrinterTurbo
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: A+ (100/100 · Maintenance 35/35 · Adoption 25/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v1.3.11 (2026-11-23) — https://github.com/harry0703/MoneyPrinterTurbo/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: Docker, Self-Hosted, CLI, API
- **Momentum**: 147,534 ★ total (+121 24h / +1,687 7d) · 23,813 forks
- **Topics**: `ai-video-generator`, `content-creation`, `ffmpeg`, `instagram-reels`, `llm`, `python`, `short-video`, `subtitles`, `text-to-speech`, `tiktok`, `video-automation`, `video-workflow`
- **When to Use**: Best for: Creators and small teams that need repeatable multilingual shorts, batch production, or a CLI/API handoff into an existing content workflow. Skip if: Frame-level editorial control, turnkey offline generation across all stages, or a fully managed service with no provider or rendering setup is a hard requirement.

## Overview
```text
### Architecture & Core Mechanics
MoneyPrinterTurbo is a Python short-video orchestrator, not a single text-to-video model. The workflow takes a topic or a custom script, prepares narration and visuals, adds captions and music, and renders the result. The entry points serve different operators: `webui/Main.py` runs on Streamlit, `main.py` starts the FastAPI/Uvicorn service, and `cli.py` runs without a browser. MoviePy and imageio-ffmpeg provide the media-processing stack; faster-whisper provides an optional local transcription path.

Extensibility is primarily through configurable service providers. Script generation can use providers such as OpenAI, Claude, Gemini, and DeepSeek; asset acquisition can pull stock footage or request generated media. The OpenAI-compatible image interface can target a cloud service, a custom gateway, or the companion local SDXL service. Not all integrations have the same interaction model: MuAPI video jobs, for example, are asynchronous and expose endpoint and polling settings.

### Key Capabilities & Differentiators
The pipeline can generate or rewrite a multilingual script, or start from approved copy and supplied media. It supports local images and video, stock sources such as Pexels and Pixabay, and generated clips through providers including Seedance and MiniMax H3. Clip duration, speed, transitions, crop-to-fill versus fit-with-padding, and sequential versus random asset matching are configurable. Narration can come from TTS or uploaded audio, or be omitted; captions can use TTS timing or local transcription.

Final output sizes are 1080×1920, 1920×1080, and 1080×1080. These delivery presets are distinct from a provider's source-media limits: the MiniMax H3 integration, for instance, generates 4–15-second assets at 768p or 2K. The application exposes progress through the render stages, supports batch production and task history, and can upload finished videos to TikTok, Instagram, and YouTube Shorts with optional LLM-generated publishing metadata.

### Trade-offs & Limitations
Compared with a timeline editor, the project trades fine-grained edit control for repeatability: a batch manifest lets you rerun structured jobs, and local CLI projects let you revise scenes while reusing unchanged renders. Compared with a hand-built FFmpeg workflow, more of the script-to-render integration is already wired up, but provider setup and configuration still need ownership. In particular, CLI flags override saved WebUI subtitle and voice settings, while settings such as background music and output count are not automatically inherited.

Self-hosting gives you control over the application and rendering host, not the cost, availability, or data handling of upstream services. Using your own assets and audio can remove several external calls; even keyless Edge TTS still uses an online service. Budget for provider charges and render capacity separately. MIT licensing covers the application code, not the media, voice rights, or publishing permissions needed for commercial distribution.

### Hardware & Deployment Guide
Use Python 3.11 or newer, with 3.11 recommended. For a quick start, install the official PyPI package with `python -m pip install mpt`, then run `mpt webui`; `mpt cli` is the headless entry point. Source deployments can use `uv sync --frozen`, then run `uv run python main.py` for the API. The Docker path starts by copying `config.example.toml` to `config.toml`, then running `docker compose -f docker-compose.release.yml up` to pull the prebuilt GHCR image. The supplied source-build Compose file binds the WebUI and API to loopback on ports 8501 and 8080.

A GPU is optional. The stated baseline is 4 CPU cores and 4 GB RAM, with 6–8 cores and 8 GB RAM recommended. Local transcription and heavier rendering warrant a representative test before adding parallel jobs. Configure credentials for the services you choose; local assets and faster-whisper reduce external dependencies without making cloud-enabled workflows offline. Release v1.3.9 introduced the official `mpt` package, v1.3.10 added Codex subscription sign-in, and v1.3.11 added Aigei stock sourcing and useapi.net for generated media.
```

## Key Capabilities
```text
- Runtime: Streamlit WebUI, FastAPI/Uvicorn API, and a headless CLI with MoviePy and imageio-ffmpeg for media processing.
- Asset sourcing: Mix local images and clips with stock providers or AI-generated assets; connect an OpenAI-compatible image endpoint, including the companion local SDXL service.
- Caption timing: Use TTS timestamps or transcribe locally with faster-whisper; style captions at sentence or word level.
- Batch behavior: JSON or JSONL manifests are prevalidated in full; runtime failures are isolated to individual entries and included in a JSON summary.
- Revision workflow: Local CLI video projects support scene edits, version comparison, and reuse of unchanged render artifacts.
- Delivery: Export 1080p vertical, landscape, or square video and optionally upload to TikTok, Instagram, or YouTube Shorts.
```

## Quick Start / Clone
```bash
cd MoneyPrinterTurbo
docker compose -f docker-compose.release.yml up
```
