.env file in the project root.
Setup
1
Copy Example File
2
Edit Configuration
Open
.env in your text editor and fill in the required values.3
Verify Settings
Required Variables
These variables must be set for the system to function:OpenAI Configuration
Required for content generation, DALL-E image creation, and text-to-speech features.
Application Settings
Control the core behavior of the application:Node Environment
Available Values
Available Values
development- Enables verbose logging and debug featuresproduction- Optimized for deploymenttest- For running tests
Server Port
3456
Logging Level
Available Levels
Available Levels
error- Only errorswarn- Warnings and errorsinfo- General information (recommended)debug- Detailed debugging informationverbose- Everything including API calls
Channel Settings
Configure your YouTube channel identity:YouTube Settings
Control YouTube-specific behavior:Region
Common Region Codes
Common Region Codes
US- United StatesGB- United KingdomCA- CanadaAU- AustraliaIN- IndiaDE- GermanyFR- FranceJP- Japan
Default Privacy Status
- public
- unlisted
- private
Videos are visible to everyone and appear in search results and recommendations.
Content Settings
Control how content is processed and formatted:Content Processing
Image Processing
Rate Limiting
Prevent API quota exhaustion:Text-to-Speech Settings
Available Azure Voices
Available Azure Voices
Female Voices:
en-US-JennyNeural- Friendly, professionalen-US-AriaNeural- Clear, expressiveen-US-AmberNeural- Warm, conversational
en-US-GuyNeural- Professional, authoritativeen-US-DavisNeural- Clear, trustworthyen-US-TonyNeural- News-style delivery
Security
Analytics & Monitoring
File Upload Settings
YouTube supports videos up to 256GB, but initial uploads are limited to 15 minutes (or 128GB for verified accounts).
Error Handling
Automation Settings
These are generated by the setup script but can be manually configured:- Content Automation
- Publishing
- Optimization
DAILY_CONTENT_ENABLEDEnable daily content generation pipeline.CONTENT_BUFFER_DAYSNumber of days of content to keep in the buffer (queue).MAX_DAILY_POSTSMaximum number of videos to publish per day.
Notification Settings
Debug Settings
Optional API Keys
These can be set as environment variables instead of incredentials.json:
Example Complete Configuration
Next Steps
AI Providers
Configure OpenAI, Gemini, and other AI services
YouTube Setup
Complete YouTube API configuration and authentication