ima2api / config.json
li2895's picture
fix: API keys now use env-only when IMA_API_KEYS is set; reject non-ASCII placeholder cookies
69948e4
Raw
History Blame Contribute Delete
885 Bytes
{
"server": {
"port": 8080,
"host": "0.0.0.0"
},
"auth": {
"cookie": "",
"refresh_token": "",
"registration_id": ""
},
"api_keys": [],
"default_model": "glm-5.2",
"models": {
"hy3-preview": {
"type": 0,
"id": "official_0",
"name": "Tencent Hy3 preview"
},
"hy3-preview-think": {
"type": 2,
"id": "official_2",
"name": "Tencent Hy3 preview (Think)"
},
"deepseek-v4-flash": {
"type": 3,
"id": "official_3",
"name": "DeepSeek V4-Flash"
},
"deepseek-v4-flash-think": {
"type": 1,
"id": "official_1",
"name": "DeepSeek V4-Flash (Think)"
},
"glm-5.2": {
"type": 3000,
"id": "official_3000",
"name": "GLM-5.2"
},
"glm-5.2-think": {
"type": 3001,
"id": "official_3001",
"name": "GLM-5.2 (Think)"
}
}
}