mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-07-23 06:13:14 +08:00
- api-providers/{web-search,image-understanding}/*.json + _index.json
- 新增 schemas/api-provider.schema.json,validate.mjs 纳入校验(CI 自检)
- 不改 compute/ 与 manifest,presetDataVersion 不变:老客户端忽略新目录,线上不受影响
Co-authored-by: yi-ge <jackyoncode@gmail.com>
19 lines
481 B
JSON
19 lines
481 B
JSON
{
|
|
"id": "minimax",
|
|
"name": "MiniMax 图像理解(内测网关)",
|
|
"capability": "image_understanding",
|
|
"enabled": false,
|
|
"builtin": true,
|
|
"priority": 30,
|
|
"endpoint": "${baseUrl}/understand_image",
|
|
"method": "POST",
|
|
"baseUrlRef": "internal-testing",
|
|
"auth": { "type": "bearer" },
|
|
"request": {
|
|
"imageMode": "url",
|
|
"bodyTemplate": { "prompt": "${prompt}", "image_url": "${imageUrl}" }
|
|
},
|
|
"response": { "textPath": "text" },
|
|
"timeoutMs": 30000
|
|
}
|