-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
22 lines (20 loc) · 1.07 KB
/
Copy path.env.example
File metadata and controls
22 lines (20 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Environment variables for the portfolio's local build + tooling.
# Copy to `.env.local` (which is gitignored) and fill in real values.
# Anything that isn't `VITE_…` is server-side / build-time only — Vite
# does not expose it to the client bundle.
# Replicate API token for the hosted Chatterbox TTS render path. Used
# by `npm run demo:voiceover` (see scripts/tts/render-remote.mjs).
# Local CPU render via ~/CS/content-pipeline/scripts/tts/render.py is
# the offline fallback — no token needed there, but it takes ~1–2 h
# for an ~40 s clip versus <60 s on Replicate.
# Get a token at https://replicate.com/account/api-tokens
REPLICATE_API_TOKEN=
# ElevenLabs API key + cloned voice ID for the second TTS path. Use
# when Chatterbox's zero-shot clone misses the accent / timbre (a
# known failure mode of its training distribution). One-time:
# npm run voice:eleven:create
# then paste the printed voice_id below. Every render afterward:
# npm run demo:voiceover:eleven
# Get an API key at https://elevenlabs.io/app/settings/api-keys.
ELEVENLABS_API_KEY=
ELEVENLABS_VOICE_ID=