-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
37 lines (35 loc) · 1.41 KB
/
Copy path.env.example
File metadata and controls
37 lines (35 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ============================================================
# StudyLens — API Key Configuration
# ============================================================
#
# Copy this file to .env:
# cp .env.example .env
#
# Then uncomment and fill in AT LEAST ONE key below.
#
# ---- What these keys are for ----
# Transcription is 100% local (Whisper) — no key needed for that.
# These keys are only used for AI-generated content: summaries,
# quizzes, Q&A, topic breakdowns, chat, etc.
#
# ---- Which key should I use? ----
# Pick whichever provider you prefer. You only need ONE.
# - OpenAI (gpt-4o-mini) — most popular, cheap, fast
# - Google Gemini (2.5 flash) — free tier available
# - Anthropic Claude (sonnet) — great quality
#
# ---- What if I add more than one key? ----
# The first key found (in order: OpenAI > Gemini > Anthropic)
# is used as the server default. All generation and chat will
# use that provider. Users can override this by adding their
# own key in the Settings page inside the app.
#
# ---- Where to get keys ----
# OpenAI: https://platform.openai.com/api-keys
# Gemini: https://aistudio.google.com/apikey
# Anthropic: https://console.anthropic.com/settings/keys
# ============================================================
# Uncomment the one you want to use:
# OPENAI_API_KEY=sk-your-openai-key-here
# GEMINI_API_KEY=your-gemini-key-here
# ANTHROPIC_API_KEY=your-anthropic-key-here