Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# -----------------------------------------------------------------------------
# Video Note Generator - 环境变量示例
# -----------------------------------------------------------------------------
#
# 请将此文件复制为 .env 并填入必要的值。
#
# -----------------------------------------------------------------------------
# AI 提供者配置
# -----------------------------------------------------------------------------
# 选择您的 AI 提供者。有效值: "google" 或 "openrouter"。
# 如果未设置或值无效,脚本将默认尝试使用 "openrouter"。
AI_PROVIDER=openrouter

# -----------------------------------------------------------------------------
# Google AI Gemini API 配置 (仅当 AI_PROVIDER="google" 时需要)
# -----------------------------------------------------------------------------
# 您的 Google AI Studio API 密钥或 Google Cloud AI Platform API 密钥 (用于 Gemini)。
GOOGLE_API_KEY=YOUR_GOOGLE_API_KEY_HERE

# 可选: 指定自定义的 Google Gemini 模型名称。
# 如果AI_PROVIDER="google"且此项未设置,脚本中默认为 "gemini-pro"。
GOOGLE_GEMINI_MODEL=gemini-pro

# OpenRouter API 配置(必需)
OPENROUTER_API_KEY=your-api-key-here
OPENROUTER_API_URL=https://openrouter.ai/api/v1
Expand All @@ -12,7 +35,7 @@ UNSPLASH_SECRET_KEY=your-unsplash-secret-key-here
OUTPUT_DIR=generated_notes

# Whisper 配置
WHISPER_MODEL=medium # 可选: tiny, base, small, medium, large-v2
WHISPER_MODEL=large-v2 # 可选: tiny, base, small, medium, large-v2
WHISPER_LANGUAGE=zh # 默认语言,可选:zh, en, ja 等

# FFmpeg 配置
Expand Down
Loading