6.4 KiB
6.4 KiB
Configuration
All your configurations will be in a file in the root directory, called config.json, which is a copy of config.example.json. You can change the values in config.json to your liking.
Values
verbose:boolean- Iftrue, the application will print out more information.firefox_profile:string- The path to your Firefox profile. This is used to use your Social Media Accounts without having to log in every time you run the application.headless:boolean- Iftrue, the application will run in headless mode. This means that the browser will not be visible.llm_provider:string- Provider for text generation. Default islocal_ollama. Options:local_ollamathird_party_g4f
ollama_base_url:string- Base URL of your local Ollama server (default:http://127.0.0.1:11434).ollama_model:string- Model name to use with Ollama (default:llama3.2:3b).llm: This will decide the Large Language Model MPV2 uses to generate tweets, scripts, image prompts and more. If left empty, the default model (gpt35_turbo) will be used. Here are your choices:gpt4gpt35_turbollama2_7bllama2_13bllama2_70bmixtral_8x7b
image_prompt_llm:string- The Large Language Model that will be used to generate image prompts. If left empty, the default model (gpt35_turbo) will be used. Here are your choices:gpt4gpt35_turbollama2_7bllama2_13bllama2_70bmixtral_8x7b
twitter_language:string- The language that will be used to generate & post tweets.image_provider:string- Provider for image generation. Default islocal_automatic1111. Options:local_automatic1111third_party_g4fthird_party_cloudflarethird_party_nanobanana2
automatic1111_base_url:string- Base URL of local AUTOMATIC1111 API (default:http://127.0.0.1:7860).cloudflare_worker_url:string- Cloudflare worker endpoint used whenimage_provideristhird_party_cloudflare.nanobanana2_api_base_url:string- Nano Banana 2 API base URL (default:https://generativelanguage.googleapis.com/v1beta).nanobanana2_api_key:string- API key for Nano Banana 2 (Gemini image API). If empty, MPV2 falls back to environment variableGEMINI_API_KEY.nanobanana2_model:string- Nano Banana 2 model name (default:gemini-3.1-flash-image-preview).nanobanana2_aspect_ratio:string- Aspect ratio for generated images (default:9:16).image_model:string- What AI Model you want to use to generate images, here are your choices:v1v2v3(DALL-E)lexicaprodiasimurganimefyraavashonin
threads:number- The amount of threads that will be used to execute operations, e.g. writing to a file using MoviePy.is_for_kids:boolean- Iftrue, the application will upload the video to YouTube Shorts as a video for kids.google_maps_scraper:string- The URL to the Google Maps scraper. This will be used to scrape Google Maps for local businesses. It is recommended to use the default value.zip_url:string- The URL to the ZIP file that contains the to be used Songs for the YouTube Shorts Automater.email:object:smtp_server:string- Your SMTP server.smtp_port:number- The port of your SMTP server.username:string- Your email address.password:string- Your email password.
google_maps_scraper_niche:string- The niche you want to scrape Google Maps for.scraper_timeout:number- The timeout for the Google Maps scraper.outreach_message_subject:string- The subject of your outreach message.{{COMPANY_NAME}}will be replaced with the company name.outreach_message_body_file:string- The file that contains the body of your outreach message, should be HTML.{{COMPANY_NAME}}will be replaced with the company name.stt_provider:string- Provider for subtitle transcription. Default islocal_whisper. Options:local_whisperthird_party_assemblyai
whisper_model:string- Whisper model for local transcription (for examplebase,small,medium,large-v3).whisper_device:string- Device for local Whisper (auto,cpu,cuda).whisper_compute_type:string- Compute type for local Whisper (int8,float16, etc.).assembly_ai_api_key:string- Your Assembly AI API key. Get yours from here.font:string- The font that will be used to generate images. This should be a.ttffile in thefonts/directory.imagemagick_path:string- The path to the ImageMagick binary. This is used by MoviePy to manipulate images. Install ImageMagick from here and set the path to themagick.exeon Windows, or on Linux/MacOS the path toconvert(usually /usr/bin/convert).
Example
{
"verbose": true,
"firefox_profile": "",
"headless": false,
"llm_provider": "local_ollama",
"ollama_base_url": "http://127.0.0.1:11434",
"ollama_model": "llama3.2:3b",
"twitter_language": "English",
"llm": "gpt4",
"image_prompt_llm": "gpt35_turbo",
"image_provider": "local_automatic1111",
"automatic1111_base_url": "http://127.0.0.1:7860",
"cloudflare_worker_url": "",
"nanobanana2_api_base_url": "https://generativelanguage.googleapis.com/v1beta",
"nanobanana2_api_key": "",
"nanobanana2_model": "gemini-3.1-flash-image-preview",
"nanobanana2_aspect_ratio": "9:16",
"image_model": "prodia",
"threads": 2,
"zip_url": "",
"is_for_kids": false,
"google_maps_scraper": "https://github.com/gosom/google-maps-scraper/archive/refs/tags/v0.9.7.zip",
"email": {
"smtp_server": "smtp.gmail.com",
"smtp_port": 587,
"username": "",
"password": ""
},
"google_maps_scraper_niche": "",
"scraper_timeout": 300,
"outreach_message_subject": "I have a question...",
"outreach_message_body_file": "outreach_message.html",
"stt_provider": "local_whisper",
"whisper_model": "base",
"whisper_device": "auto",
"whisper_compute_type": "int8",
"assembly_ai_api_key": "",
"font": "bold_font.ttf",
"imagemagick_path": "C:\\Program Files\\ImageMagick-7.1.0-Q16\\magick.exe"
}
Environment Variable Fallbacks
GEMINI_API_KEY: used whennanobanana2_api_keyis empty.
Example:
export GEMINI_API_KEY="your_api_key_here"