.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)
GROQ_API_KEY
secret
Groq (Required for Script Generation)
GROQ_MODEL
DEAPI_TOKEN
secret
Image Generation (DeAPI.ai)
DEAPI_MODEL
Optional: Model for image generation
DEAPI_IMAGE_WIDTH
Image dimensions
DEAPI_IMAGE_HEIGHT
DEAPI_COOLDOWN
Seconds to wait between image requests to avoid rate limits
IMAGE_NEGATIVE_PROMPT
Global negative prompt to append to all image requests
EDGE_TTS_VOICE
TTS (Edge TTS no API key needed) Default voice for Edge TTS if not specified in channel presets
ELEVENLABS_API_KEY
secret
TTS (ElevenLabs optional alternative)
ELEVENLABS_VOICE_ID
ELEVENLABS_MODEL_ID
ELEVEN_STABILITY
ELEVEN_SIMILARITY
YT_CLIENT_SECRET
secret
YouTube Upload (OAuth2) LOCAL DEVELOPMENT: Point to your client_secret.json and youtube_token.json files. If these aren't set, it defaults…
YT_TOKEN
secret
YT_CLIENT_ID
CI/CD (GitHub Actions): These are used to reconstruct credentials from environment variables.
YT_CLIENT_SECRET_VALUE
secret
YT_REFRESH_TOKEN
secret
Default refresh token
YT_REFRESH_TOKEN_HI
secret
CHANNEL-SPECIFIC REFRESH TOKENS: Used by specific channel presets (see pipeline/channel_presets.py)
brew install flyctl && fly launch --from https://github.com/aaravmaloo/youtube_bot
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/aaravmaloo/youtube_bot
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/aaravmaloo/youtube_bot