---
title: "Deploy MoneyPrinterTurbo"
description: "AI short videos from a topic: LLM script, stock clips, TTS. Login + Redis."
category: "AI/ML"
url: https://railway.com/deploy/moneyprinterturbo-1
---

# Deploy MoneyPrinterTurbo

AI short videos from a topic: LLM script, stock clips, TTS. Login + Redis.

**[Deploy MoneyPrinterTurbo on Railway](https://railway.com/template/moneyprinterturbo-1)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/moneyprinterturbo-1/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** AI/ML

## Template content

### MoneyPrinterTurbo https://raw.githubusercontent.com/aalfath/moneyprinterturbo-railway-template/main/icon.png

- **Source:** https://github.com/aalfath/moneyprinterturbo-railway-template
- **Health check:** /healthz
- **Public domain:** Yes

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

## Documentation

# 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:

1. Open the MoneyPrinterTurbo service's **Variables** tab and copy `WEBUI_PASSWORD`. Then open the public URL and log in as `admin` (or whatever you set in `WEBUI_USERNAME`).
2. 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_MODEL` and `PEXELS_API_KEYS` when you deploy instead.
3. To use the API, send `MPT_API_KEY` in the `x-api-key` header, for example `curl -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.



## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

Open this page in a browser: https://railway.com/deploy/moneyprinterturbo-1
