# GREMLOS WORLD AUTOMATION - API KEYS TEMPLATE
# Copy this file to .env and fill in your actual API keys
# Or use Replit Secrets tab (RECOMMENDED for security)
# ================================
# CORE AI SERVICES
# ================================
# OpenAI API - For DALL-E 3, GPT-4, Vision analysis
OPENAI_API_KEY=sk-proj-your-openai-key-here
# Affogato (RenderNet) API - For FaceLock character consistency & video generation
AFFOGATO_API_KEY=your_affogato_api_key_here
# ElevenLabs API - For voice generation and narrated videos
ELEVENLABS_API_KEY=sk_your-elevenlabs-key-here
# ================================
# DATABASE & STORAGE
# ================================
# PostgreSQL Database - For AI coordination and character data
DATABASE_URL=postgresql://username:password@host:port/database
# Characters Master Database - For character blueprint storage
CHARACTERS_MASTER_DB=your_characters_database_id
# Image Assets Database - For storing generated images
IMAGE_ASSETS_DB=your_image_assets_database_id
# ================================
# GREMLOS WORLD CONFIGURATION
# ================================
# Weekly automation settings
GREMLOS_CONTENT_VOLUME=7
GREMLOS_DEFAULT_PLATFORMS=tiktok,instagram,youtube_shorts
GREMLOS_CHARACTER_ARCHETYPES=The Critic,The Gossip,The Mentor,The Chaos Agent,The Interviewer
# Trending topics sources
TRENDS_SOURCE=google_trends
ENABLE_TWITTER_TRENDS=false
ENABLE_TIKTOK_TRENDS=false
# ================================
# MCP SERVER CONFIGURATION
# ================================
# Server settings (Legacy - for Ollama/LM Studio)
PORT=3000
OLLAMA_BASE_URL=http://localhost:11434
LMSTUDIO_BASE_URL=http://localhost:1234
ALLOWED_URLS=http://localhost:*,https://api.openai.com/*,https://api.rendernet.ai/*,https://api.elevenlabs.io/*
ALLOWED_EXECUTABLES=node,python,npm
# MCP WebSocket settings
MCP_PORT=3000
MCP_HOST=0.0.0.0
# Dashboard settings
DASHBOARD_PORT=5000
DASHBOARD_HOST=0.0.0.0
# ================================
# PRODUCTION SETTINGS
# ================================
# Environment
NODE_ENV=development
# Security
SESSION_SECRET=your-secure-session-secret-here
# ================================
# REPLIT INTEGRATION
# ================================
# These are automatically provided by Replit
# REPL_ID=your-repl-id
# REPL_SLUG=your-repl-slug
# REPL_OWNER=your-username