Files
plates-server/.env.glm.example

24 lines
783 B
Plaintext

# GLM-4.5V Configuration Example
# Copy this to your .env file and update with your actual API key
# AI Vision Provider - set to 'glm' to use GLM-4.5V, 'dashscope' for Qwen (default)
AI_VISION_PROVIDER=glm
# GLM-4.5V API Configuration
GLM_API_KEY=your_glm_api_key_here
GLM_BASE_URL=https://open.bigmodel.cn/api/paas/v4
# GLM Model Names
GLM_MODEL=glm-4-flash
GLM_VISION_MODEL=glm-4v-plus
# Alternative: Use GLM-4.5V models (if available)
# GLM_MODEL=glm-4.5
# GLM_VISION_MODEL=glm-4.5v
# DashScope Configuration (fallback/default)
# Keep these for fallback or if you want to switch between providers
DASHSCOPE_API_KEY=your_dashscope_api_key_here
DASHSCOPE_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
DASHSCOPE_MODEL=qwen-flash
DASHSCOPE_VISION_MODEL=qwen-vl-max