# GEMINI_API_KEY: Required when the editor LLM is set to Gemini. GEMINI_API_KEY="MY_GEMINI_API_KEY" # ARK_API_KEY: Required when the editor LLM is set to Doubao. ARK_API_KEY="YOUR_ARK_API_KEY" # VITE_ARK_API_KEY: Required only if the browser uploads videos directly to Ark Files API. # This exposes the key to the frontend and should only be used in trusted environments. # VITE_ARK_API_KEY="YOUR_ARK_API_KEY" # DEFAULT_LLM_PROVIDER: Optional editor default. Supported values: doubao, gemini. # Defaults to doubao. DEFAULT_LLM_PROVIDER="doubao" # DOUBAO_MODEL: Optional override for the Ark model used by Doubao subtitle generation. # Defaults to doubao-seed-2-0-pro-260215. DOUBAO_MODEL="doubao-seed-2-0-pro-260215" # DOUBAO_TIMEOUT_MS: Optional timeout for Doubao subtitle requests in milliseconds. # Defaults to 600000 (10 minutes). # DOUBAO_TIMEOUT_MS="600000" # VITE_API_BASE_PATH: Optional frontend API base path. # Defaults to /api. # Set to /video_translate/api when the app is served under /video_translate. # VITE_API_BASE_PATH="/video_translate/api" # VITE_ALLOWED_HOSTS: Optional comma-separated hostnames allowed by the Vite dev server. # Useful when exposing the dev server through a tunnel such as cpolar. # VITE_ALLOWED_HOSTS="ced4302.r20.vip.cpolar.cn" # MINIMAX_API_KEY: Required for MiniMax TTS API calls. # Use a MiniMax API secret key that has TTS access enabled. MINIMAX_API_KEY="YOUR_MINIMAX_API_KEY" # MINIMAX_API_HOST: Optional override for the MiniMax API host. # Defaults to https://api.minimaxi.com MINIMAX_API_HOST="https://api.minimaxi.com" # FFMPEG_PATH: Optional absolute path to ffmpeg binary. # If omitted, the server resolves ffmpeg from system PATH. # FFMPEG_PATH="/usr/bin/ffmpeg" # FFPROBE_PATH: Optional absolute path to ffprobe binary. # If omitted, the server resolves ffprobe from system PATH. # FFPROBE_PATH="/usr/bin/ffprobe" # APP_URL: The URL where this applet is hosted. # AI Studio automatically injects this at runtime with the Cloud Run service URL. # Used for self-referential links, OAuth callbacks, and API endpoints. APP_URL="MY_APP_URL"