-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
26 lines (23 loc) · 953 Bytes
/
.env.example
File metadata and controls
26 lines (23 loc) · 953 Bytes
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
# PyMidscene 环境变量配置
# 复制此文件为 .env 并填入你的 API Key
# ========================================
# 豆包模型配置(推荐国内用户)
# ========================================
MIDSCENE_MODEL_NAME=your-endpoint-id
MIDSCENE_MODEL_API_KEY=your-api-key
MIDSCENE_MODEL_BASE_URL=https://ark.cn-beijing.volces.com/api/v3
MIDSCENE_MODEL_FAMILY=doubao-vision
# ========================================
# 千问模型配置
# ========================================
# MIDSCENE_MODEL_NAME=qwen-vl-max
# MIDSCENE_MODEL_API_KEY=your-api-key
# MIDSCENE_MODEL_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
# MIDSCENE_MODEL_FAMILY=qwen2.5-vl
# ========================================
# OpenAI GPT-4V 配置
# ========================================
# MIDSCENE_MODEL_NAME=gpt-4-vision-preview
# MIDSCENE_MODEL_API_KEY=your-api-key
# MIDSCENE_MODEL_BASE_URL=https://api.openai.com/v1
# MIDSCENE_MODEL_FAMILY=openai