-
Notifications
You must be signed in to change notification settings - Fork 230
Expand file tree
/
Copy path.env.example
More file actions
113 lines (105 loc) · 4.82 KB
/
Copy path.env.example
File metadata and controls
113 lines (105 loc) · 4.82 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# ============================================================
# WorldX 环境配置 / Environment Configuration
# ============================================================
# 除绘图模型可使用 Google 原生图片接口外,其余模型使用 OpenAI 兼容协议(chat/completions)。
# 你可以使用 OpenRouter、Google AI Studio、或任何兼容平台;绘图模型见 IMAGE_GEN_PROVIDER。
#
# All models use OpenAI-compatible chat/completions, except Image Generation can use Google's native image API.
# You can use OpenRouter, Google AI Studio, or any compatible platform; see IMAGE_GEN_PROVIDER for image generation.
# ============================================================
# --- 编排引擎 / Orchestrator ---
# 用于世界设计(角色、场景、规则等),建议使用推理模型。
# Used for world design (characters, scenes, rules). Recommend a reasoning model.
ORCHESTRATOR_BASE_URL=
ORCHESTRATOR_API_KEY=
ORCHESTRATOR_MODEL=
# --- 绘图模型 / Image Generation ---
# 用于生成地图和角色立绘,建议使用gemini-3.1-flash-image-preview或更强文生图模型。
# Used for map and character art. Recommend gemini-3.1-flash-image-preview or a stronger text-to-image model.
# 可选:openai-compatible(默认)或 google-native。Google AI Studio 图片生成请使用 google-native。
# Optional: openai-compatible (default) or google-native. Use google-native for Google AI Studio image generation.
IMAGE_GEN_PROVIDER=
IMAGE_GEN_BASE_URL=
IMAGE_GEN_API_KEY=
IMAGE_GEN_MODEL=
# --- 绘图审查 / Vision Review ---
# 用于审查生成的地图质量,建议使用gemini-3.1-pro-preview或更强多模态模型。
# Used for reviewing map quality. Recommend gemini-3.1-pro-preview or a stronger multimodal model.
VISION_BASE_URL=
VISION_API_KEY=
VISION_MODEL=
# --- 世界驱动 / Simulation Engine ---
# 用于驱动运行时角色行为(决策、对话、记忆),可使用任意模型。
# Powers runtime character behavior (decisions, dialogue, memory). Any model works.
SIMULATION_BASE_URL=
SIMULATION_API_KEY=
SIMULATION_MODEL=
# --- 生成调参 / Generation Tuning (可选 / Optional) ---
# MAP_IMAGE_SIZE_K=1
# STEP1_MAX_RETRIES=3
# STEP3_1_MAX_RETRIES=3
# STEP3_2_MAX_RETRIES=3
# STEP4_MAX_RETRIES=3
# ============================================================
# 示例:全部使用 Atlas Cloud(LLM + 图像生成,单 key)
# Example: All Atlas Cloud (LLM + image gen, one key)
# 获取 API Key / Get a key: https://www.atlascloud.ai/console/coding-plan
# ============================================================
# ORCHESTRATOR_BASE_URL=https://api.atlascloud.ai/v1
# ORCHESTRATOR_API_KEY=<your-atlascloud-key>
# ORCHESTRATOR_MODEL=deepseek-ai/deepseek-v4-pro
#
# IMAGE_GEN_BASE_URL=https://api.atlascloud.ai/v1
# IMAGE_GEN_PROVIDER=openai-compatible
# IMAGE_GEN_API_KEY=<your-atlascloud-key>
# IMAGE_GEN_MODEL=black-forest-labs/FLUX.1-dev
#
# VISION_BASE_URL=https://api.atlascloud.ai/v1
# VISION_API_KEY=<your-atlascloud-key>
# VISION_MODEL=qwen/qwen2.5-vl-72b-instruct
#
# SIMULATION_BASE_URL=https://api.atlascloud.ai/v1
# SIMULATION_API_KEY=<your-atlascloud-key>
# SIMULATION_MODEL=deepseek-ai/deepseek-v3-turbo
# ============================================================
# 示例:全部使用 OpenRouter
# Example: All OpenRouter
# 注册获取 API Key: https://openrouter.ai
# ============================================================
# ORCHESTRATOR_BASE_URL=https://openrouter.ai/api/v1
# ORCHESTRATOR_API_KEY=sk-or-v1-xxxx
# ORCHESTRATOR_MODEL=google/gemini-2.5-pro-preview
#
# IMAGE_GEN_BASE_URL=https://openrouter.ai/api/v1
# IMAGE_GEN_PROVIDER=openai-compatible
# IMAGE_GEN_API_KEY=sk-or-v1-xxxx
# IMAGE_GEN_MODEL=google/gemini-3.1-flash-image-preview
#
# VISION_BASE_URL=https://openrouter.ai/api/v1
# VISION_API_KEY=sk-or-v1-xxxx
# VISION_MODEL=google/gemini-3.1-pro-preview
#
# SIMULATION_BASE_URL=https://openrouter.ai/api/v1
# SIMULATION_API_KEY=sk-or-v1-xxxx
# SIMULATION_MODEL=google/gemini-2.5-flash-preview
# ============================================================
# 示例:全部使用 Google AI Studio
# Example: All Google AI Studio
# 获取 API Key: https://aistudio.google.com/apikey
# ============================================================
# ORCHESTRATOR_BASE_URL=https://generativelanguage.googleapis.com/v1beta/openai
# ORCHESTRATOR_API_KEY=AIzaSy...
# ORCHESTRATOR_MODEL=gemini-2.5-pro-preview
#
# IMAGE_GEN_PROVIDER=google-native
# IMAGE_GEN_BASE_URL=https://generativelanguage.googleapis.com/v1beta/openai
# IMAGE_GEN_API_KEY=AIzaSy...
# IMAGE_GEN_MODEL=gemini-3.1-flash-image-preview
#
# VISION_BASE_URL=https://generativelanguage.googleapis.com/v1beta/openai
# VISION_API_KEY=AIzaSy...
# VISION_MODEL=gemini-3.1-pro-preview
#
# SIMULATION_BASE_URL=https://generativelanguage.googleapis.com/v1beta/openai
# SIMULATION_API_KEY=AIzaSy...
# SIMULATION_MODEL=gemini-2.5-flash-preview