.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)
FAL_KEY
secret
Image + video gateway FLUX images, Google Veo video, Kling video, MiniMax video, Recraft images. Get one at https://fal.ai/dashboard/keys
FAL_AI_API_KEY
secret
Alias for FAL_KEY (some SDKs/docs use this name); either one is read.
REPLICATE_API_TOKEN
secret
Replicate Replicate-hosted video gen (seedance_replicate). Needed to make the Replicate-backed Seedance path selectable alongside the…
HIGGSFIELD_API_KEY
secret
Higgsfield Higgsfield Cloud key (higgsfield_video). Pair with the secret below, or use the combined HIGGSFIELD_KEY="<key>:<secret>" form…
HIGGSFIELD_API_SECRET
secret
KLING_API_KEY
secret
Kling official direct API Official Kling API key; enables video, image, TTS, avatar, lip sync.
KLING_API_BASE_URL
Optional endpoint override; leave blank for default https://api-singapore.klingai.com Mainland China accounts can use…
GOOGLE_API_KEY
secret
Google (one key unlocks image gen + TTS + video) Google Imagen images, Google Cloud TTS (700+ voices, 50+ languages), Gemini Omni video…
GOOGLE_APPLICATION_CREDENTIALS
secret
GOOGLE_CLOUD_PROJECT
GCP project id (required for Imagen via Vertex AI).
GOOGLE_CLOUD_LOCATION
Vertex AI region, default us-central1.
ELEVENLABS_API_KEY
secret
Voice TTS narration, music generation, sound effects.
OPENAI_API_KEY
secret
OpenAI TTS fallback and GPT Image 2 image generation.
XAI_API_KEY
secret
Grok image generation/editing and Grok video generation.
DOUBAO_SPEECH_API_KEY
secret
Volcengine Doubao Speech TTS (new console API Key).
DOUBAO_SPEECH_VOICE_TYPE
Default Doubao speaker/voice type, e.g. zh_female_vv_uranus_bigtts.
DASHSCOPE_API_KEY
secret
DashScope (Alibaba Cloud Bailian) Qwen image gen (qwen-image-2.0-pro), TTS (qwen3-tts-flash), ASR with word timestamps…
SUNO_API_KEY
secret
Music Suno AI music generation (full songs, instrumentals, any genre).
HEYGEN_API_KEY
secret
Video Generation HeyGen API (VEO, Sora, Runway, Kling, Seedance via single key).
RUNWAY_API_KEY
secret
Runway Gen-4 (direct API, alternative to fal.ai routing).
brew install flyctl && fly launch --from https://github.com/yazelin/openmontage
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/yazelin/openmontage
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/yazelin/openmontage