Quickstart
This guide walks you through the fastest path to generating your first AI-powered video with MoneyPrinter.Prerequisites
Ensure you have the following installed:- Python 3.11+
- uv package manager (installation guide)
- FFmpeg
- ImageMagick
- Ollama
For detailed installation instructions, see the Installation Guide.
Setup Steps
Run the interactive setup script (recommended)
The setup script checks dependencies, creates Or use manual setup:Windows PowerShell:
.env, installs packages, and optionally pulls an Ollama model:Configure required environment variables
Edit
.env and set:How to get TikTok session ID
How to get TikTok session ID
- Log into TikTok in your browser
- Open Developer Tools (F12)
- Go to Application → Cookies
- Copy the value of the
sessionidcookie
How to get Pexels API key
How to get Pexels API key
- Create a free account at pexels.com/api
- Generate an API key from your dashboard
Start Ollama and pull a model
In a new terminal:Pull a model (if not already installed):Verify the model is available:
If Ollama runs on another machine or port, set
OLLAMA_BASE_URL in .env.Start the worker (new terminal)
The worker claims jobs from the queue and runs the generation pipeline:
Generate your first video
In the web interface:
- Enter a video subject (e.g., “Top 3 AI business ideas”)
- Expand Advanced Options
- Select an Ollama model from the dropdown
- Choose a voice (default:
en_us_001) - Click Generate
output.mp4 in the project root.Verify Installation
Test the API endpoints:Optional: Run Tests
Install dev dependencies and run the test suite:What’s Next?
Configuration
Learn about all environment variables and options
Docker Deployment
Run the full stack with Docker Compose
Architecture
Understand the queue-based system design
Troubleshooting
Common issues and solutions
Troubleshooting
No Ollama models in dropdown
No Ollama models in dropdown
- Ensure Ollama is running:
ollama serve - Check models are installed:
ollama list - Verify
OLLAMA_BASE_URLin.env
ImageMagick not detected
ImageMagick not detected
Set the explicit path in Windows:Note the double backslashes (
.env:Linux/macOS:\\) for Windows paths.Worker not processing jobs
Worker not processing jobs
- Ensure the backend API is running first
- Check
DATABASE_URLis correctly set (defaults to SQLite) - Look for errors in the worker terminal output