video_translate/.env.example
Song367 9ddcdc9ec6
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m0s
api base url
2026-03-18 15:34:17 +08:00

40 lines
1.5 KiB
Plaintext

# 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"
# 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"
# 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"
# 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"