Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
72 lines (58 loc) · 2.36 KB
/
Copy path.env.example
File metadata and controls
72 lines (58 loc) · 2.36 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# =========================================================================
# VideoForge Studio - Environment Configuration (copy to .env and adjust)
# =========================================================================
# --- Core ---
VIDEOFORGE_ENV=development
VIDEOFORGE_DEBUG=true
VIDEOFORGE_SECRET_KEY=change-me-to-a-long-random-string
VIDEOFORGE_ACCESS_TOKEN_EXPIRE_MINUTES=1440
# --- Database ---
# Defaults to SQLite for local dev; switch to PostgreSQL in production
VIDEOFORGE_DB_URL=sqlite:///./data/videoforge.db
# VIDEOFORGE_DB_URL=postgresql+psycopg2://videoforge:videoforge@postgres:5432/videoforge
# --- Redis / Celery ---
VIDEOFORGE_REDIS_URL=redis://localhost:6379/0
VIDEOFORGE_CELERY_BROKER_URL=redis://localhost:6379/0
VIDEOFORGE_CELERY_RESULT_BACKEND=redis://localhost:6379/0
# --- Storage ---
VIDEOFORGE_OUTPUT_DIR=./data/outputs
VIDEOFORGE_UPLOAD_DIR=./data/uploads
VIDEOFORGE_MAX_UPLOAD_MB=512
# --- First admin account (created on startup if missing) ---
VIDEOFORGE_ADMIN_EMAIL=admin@videoforge.example.com
VIDEOFORGE_ADMIN_PASSWORD=admin12345
# --- Video generation engines ---
# Engine selection priority: configured engines are tried in order, mock is
# the always-available fallback so the platform runs end-to-end with zero
# external dependencies.
VIDEOFORGE_ENGINES=mock,minimax_h3,wan,cogvideo,hunyuan,openai_compatible
# MiniMax H3 (official API; https://platform.minimaxi.com)
MINIMAX_API_KEY=
MINIMAX_API_BASE=https://api.minimaxi.com
MINIMAX_H3_MODEL=minimax-video-01
# Alibaba Wan / Wan2.2 (local or API)
WAN_API_KEY=
WAN_API_BASE=https://dashscope.aliyuncs.com
WAN_MODEL=wan2.2-t2v
# Zhipu CogVideoX (local or API)
COGVIDEO_API_KEY=
COGVIDEO_API_BASE=https://open.bigmodel.cn
COGVIDEO_MODEL=cogvideox-flash
# Tencent HunyuanVideo (local or API)
HUNYUAN_API_KEY=
HUNYUAN_API_BASE=https://api.hunyuan.cloud.tencent.com
HUNYUAN_MODEL=hunyuan-video
# OpenAI-compatible endpoint (any v1/videos endpoint)
OPENAI_COMPATIBLE_API_KEY=
OPENAI_COMPATIBLE_API_BASE=
OPENAI_COMPATIBLE_MODEL=
# --- LLM for prompt engineering / script writing ---
# When empty, falls back to template-based generation (works offline).
VIDEOFORGE_LLM_API_KEY=
VIDEOFORGE_LLM_BASE_URL=
VIDEOFORGE_LLM_MODEL=
# --- Evaluation ---
VIDEOFORGE_EVAL_THRESHOLD_STRUCTURE=0.7
VIDEOFORGE_EVAL_THRESHOLD_MOTION=0.6
# --- CORS ---
VIDEOFORGE_CORS_ORIGINS=http://localhost:5173,http://localhost:8080