Deploy MoneyPrinterTurbo
AI short videos from a topic: LLM script, stock clips, TTS. Login + Redis.
MoneyPrinterTurbo
Just deployed
/data
Redis
Just deployed
/data
Deploy and Host MoneyPrinterTurbo on Railway
MoneyPrinterTurbo is an open-source (MIT) tool that turns a topic or keyword into a finished short video. An LLM writes the script, stock clips come from Pexels or Pixabay (or your own uploads), and text-to-speech adds a voice-over, subtitles and background music. You use it from a web UI or through a REST API.
About Hosting MoneyPrinterTurbo
Upstream ships one container that holds both the Streamlit web UI and the FastAPI REST API. The web UI has no login, and the settings, generated videos and downloaded models are written inside the container. This template adds a small wrapper and runs the official 1.3.10 image, pinned by digest. Caddy listens on the public port. It puts a username and password in front of the web UI and sends /api/* and /tasks/* to the API, which needs the x-api-key header. config.toml, the videos and uploads sit on a volume at /data. Railway's Redis keeps the task list and the API's job queue across restarts. The password and API key are generated when you deploy.
Common Use Cases
- Make faceless short videos for YouTube Shorts, TikTok or Reels from a topic or your own script
- Generate videos in batches from a script or an automation tool (n8n, Make, cron) through the REST API
- Narrate your own clips with subtitles and a TTS voice in many languages
Dependencies for MoneyPrinterTurbo Hosting
- An LLM API key (OpenAI, DeepSeek, Gemini, Moonshot, Ollama or another provider supported by MoneyPrinterTurbo), or your own written script
- A free Pexels or Pixabay API key for stock footage, or your own uploaded clips
Deployment Dependencies
- MoneyPrinterTurbo upstream: https://github.com/harry0703/MoneyPrinterTurbo
- Template source (Dockerfile, wrapper, changelog): https://github.com/aalfath/moneyprinterturbo-railway-template
- Free stock footage API keys: https://www.pexels.com/api/ and https://pixabay.com/api/docs/
Implementation Details
The stack has two services:
- MoneyPrinterTurbo (public): the web UI, the REST API and Caddy. It is built from the template repo, has its health check at
/healthz, and stores data on a volume at/data. - Redis (private): Railway's Redis, which holds task state and the API's job queue. It has its own volume.
After you deploy:
- Open the MoneyPrinterTurbo service's Variables tab and copy
WEBUI_PASSWORD. Then open the public URL and log in asadmin(or whatever you set inWEBUI_USERNAME). - Under Basic Settings in the web UI, choose your LLM provider and enter its key, plus a Pexels or Pixabay key. These settings are saved to the volume. You can also set
LLM_API_KEY,LLM_MODELandPEXELS_API_KEYSwhen you deploy instead. - To use the API, send
MPT_API_KEYin thex-api-keyheader, for examplecurl -H "x-api-key: YOUR-KEY" https://YOUR-DOMAIN/api/v1/tasks. The API docs are at/docs.
Rendering uses a lot of CPU. A one-minute 1080x1920 video takes a few minutes on a small service. Updates come through the template repo: when a new MoneyPrinterTurbo release is pinned there, Railway shows an "update available" notice on your project, and you choose when to apply it. Read CHANGELOG.md in the repo before you update.
Why Deploy MoneyPrinterTurbo on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying MoneyPrinterTurbo on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
MoneyPrinterTurbo
aalfath/moneyprinterturbo-railway-templateRedis
redis:8.2
