2793c06278
- 所有 workspace 包 @dada/* → @yume/*,根包 dada → yume - 全部导入路径同步更新 - 内部 ID 对齐:dada-ripple → yume-ripple,dada:custom → yume:custom - 首页 / new / play 用户文案整段中文化,保留 smallcaps + 衬线 + 罗马数字排版语汇 - README 标题改为 "# 云梦",部署链接与目录树 slug 改为 yume - 重新生成 pnpm-lock.yaml Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
25 lines
993 B
Bash
25 lines
993 B
Bash
# =============================================================
|
|
# 云梦 — AI 视觉小说
|
|
# Three independently configurable AI providers
|
|
# Any OpenAI-compatible endpoint works (OpenRouter, OpenAI,
|
|
# Anthropic via OpenAI-compat proxy, Gemini, DeepSeek, Ollama).
|
|
#
|
|
# Image generation uses the chat-completions + modalities API
|
|
# (OpenRouter-style), NOT the legacy /images/generations endpoint.
|
|
# =============================================================
|
|
|
|
# ---- 1. Text LLM (story director) -----------------------------
|
|
TEXT_BASE_URL=https://openrouter.ai/api/v1
|
|
TEXT_API_KEY=sk-or-v1-xxx
|
|
TEXT_MODEL=~anthropic/claude-sonnet-latest
|
|
|
|
# ---- 2. Image generator (renders the whole UI screen) ---------
|
|
IMAGE_BASE_URL=https://openrouter.ai/api/v1
|
|
IMAGE_API_KEY=sk-or-v1-xxx
|
|
IMAGE_MODEL=openai/gpt-5.4-image-2
|
|
|
|
# ---- 3. Vision model (interprets where the user clicked) ------
|
|
VISION_BASE_URL=https://openrouter.ai/api/v1
|
|
VISION_API_KEY=sk-or-v1-xxx
|
|
VISION_MODEL=~google/gemini-flash-latest
|