Overview
MoneyPrinter V2 uses aconfig.json file in the root directory for all configuration settings. Copy config.example.json to config.json and customize the values to match your setup.
Configuration Parameters
General Settings
Enable verbose logging output. When
true, the application prints detailed information about operations.Run browser automation in headless mode. When
true, the browser window will not be visible during automation tasks.Number of threads to use for parallel operations, such as video rendering with MoviePy.
Browser Profile
Path to your Firefox profile directory. This allows the application to use your logged-in social media accounts without requiring re-authentication each time.Example (Windows):
C:\\Users\\YourName\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\xyz.defaultExample (Linux/macOS): /home/username/.mozilla/firefox/xyz.defaultLanguage Models
Base URL of your local Ollama server for text generation.
Ollama model to use for text generation (e.g.,
llama3.2:3b, mistral, phi3).If left empty, the application will query Ollama at startup and prompt you to select from available models interactively.Image Generation (Nano Banana 2 / Gemini)
API base URL for Nano Banana 2 (Gemini image generation API).
API key for Nano Banana 2 (Gemini image API).If empty, MPV2 falls back to the
GEMINI_API_KEY environment variable. See Environment Variables below.Model name for Nano Banana 2 image generation.
Aspect ratio for generated images. Common values:
9:16 (vertical), 16:9 (horizontal), 1:1 (square).Social Media
Language to use for generating and posting tweets.
YouTube Settings
Mark uploaded YouTube videos as “made for kids”. When
true, videos comply with COPPA regulations.URL to a ZIP file containing background music for YouTube Shorts. The application will download and extract songs for use in automated videos.
Text-to-Speech
Voice for KittenTTS text-to-speech generation.Available voices:
Bella, Jasper, Luna, Bruno, Rosie, Hugo, Kiki, LeoSpeech-to-Text (Subtitles)
Provider for subtitle transcription.Options:
local_whisper- Use local Whisper model (free, runs on your machine)third_party_assemblyai- Use AssemblyAI API (requires API key)
Whisper model for local transcription.Available models:
base, small, medium, large-v3Larger models provide better accuracy but require more resources.Device for local Whisper inference.Options:
auto- Automatically select best available devicecpu- Force CPU usagecuda- Use NVIDIA GPU (requires CUDA)
Compute type for local Whisper inference.Options:
int8, float16, float32Lower precision (int8) is faster but may reduce accuracy slightly.Your AssemblyAI API key (required if using
third_party_assemblyai provider).Get your API key from AssemblyAI.Video Generation
Number of sentences in the generated video script. Controls the length of automatically generated video content.
Font file to use for generating text overlays on images. The font file should be a
.ttf file located in the fonts/ directory.Path to the ImageMagick binary. MoviePy uses ImageMagick for image manipulation.Windows: Path to
magick.exe (e.g., C:\\Program Files\\ImageMagick\\magick.exe)Linux/macOS: Path to convert binary (usually /usr/bin/convert)Install ImageMagick from imagemagick.org.Google Maps Scraper
URL to the Google Maps scraper tool. Used to scrape Google Maps for local business information.It is recommended to use the default value unless you have a specific version requirement.
The business niche to scrape from Google Maps (e.g., “restaurants”, “plumbers”, “dentists”).
Timeout in seconds for the Google Maps scraper. Increase if scraping large areas or many results.
Email Outreach
SMTP configuration for sending outreach emails to scraped businesses.
Subject line for outreach emails. Use
{{COMPANY_NAME}} as a placeholder that will be replaced with the actual company name.HTML file containing the email body template. Use
{{COMPANY_NAME}} as a placeholder for dynamic company name insertion.Environment Variables
Some configuration values can be set via environment variables as fallbacks:Used when
nanobanana2_api_key is empty in config.json.Example Configuration
Next Steps
Account Setup
Configure YouTube and Twitter accounts
Scheduling
Set up CRON jobs for automation