forked from hoquanghai/Auto-Create-Video
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
55 lines (47 loc) · 4.05 KB
/
.env.example
File metadata and controls
55 lines (47 loc) · 4.05 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# ════════════════════════════════════════════════════════════════════════════
# Auto News Video — Environment Configuration
# ════════════════════════════════════════════════════════════════════════════
# Copy this file to .env.local and fill in your real API keys.
# .env.local is gitignored — never commit real keys.
# ── TTS Provider ────────────────────────────────────────────────────────────
# Choose ONE: "lucylab" or "elevenlabs"
# - lucylab : Vietnamese voice cloning (recommended for VN content), free SRT
# - elevenlabs : multilingual, more voice options, higher quality but pricier
TTS_PROVIDER=lucylab
# ════════════════════════════════════════════════════════════════════════════
# OPTION 1: LucyLab.io (https://lucylab.io)
# ════════════════════════════════════════════════════════════════════════════
# Required when TTS_PROVIDER=lucylab
VIETNAMESE_API_KEY=sk_live_xxxxxxxxxxxxxxxxxxxx
VIETNAMESE_VOICEID=22charvoiceiduuidhere
# Optional overrides
LUCYLAB_ENDPOINT=https://api.lucylab.io/json-rpc
LUCYLAB_POLL_INTERVAL_MS=2000
LUCYLAB_POLL_TIMEOUT_MS=120000
# ════════════════════════════════════════════════════════════════════════════
# OPTION 2: ElevenLabs (https://elevenlabs.io)
# ════════════════════════════════════════════════════════════════════════════
# Required when TTS_PROVIDER=elevenlabs
# Get API key at: https://elevenlabs.io/app/settings/api-keys
# Browse voices at: https://elevenlabs.io/app/voice-library
ELEVENLABS_API_KEY=sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ELEVENLABS_VOICE_ID=EXAVITQu4vr4xnSDxMaL
# Optional model override (default: eleven_multilingual_v2 — supports Vietnamese)
# Other options: eleven_turbo_v2_5 (fastest), eleven_multilingual_v2 (best quality)
ELEVENLABS_MODEL_ID=eleven_multilingual_v2
ELEVENLABS_ENDPOINT=https://api.elevenlabs.io/v1
# ════════════════════════════════════════════════════════════════════════════
# TikTok follow card (outro)
# ════════════════════════════════════════════════════════════════════════════
# Customize the TikTok-style profile card that appears at the end of every video.
# All fields optional — defaults work out of the box.
TIKTOK_DISPLAY_NAME=Quẹp Làm IT
TIKTOK_HANDLE=@haiquep
TIKTOK_FOLLOWERS=11.5k followers
# Optional: URL to your real TikTok avatar image (jpg/png, square, ~256x256+).
# If not set, uses the bundled default avatar at assets/avatar.jpg.
# You can also replace assets/avatar.jpg directly with your own image.
# TIKTOK_AVATAR_URL=https://example.com/your-avatar.jpg
# ── Pipeline tuning ─────────────────────────────────────────────────────────
# TTS_CONCURRENCY: 1 for LucyLab (API limit), can increase for ElevenLabs
TTS_CONCURRENCY=1