模型列表
提供 OpenAI
兼容的模型列表获取接口。
请求方法
GET
请求地址
https://chat.ecnu.edu.cn/open/api/v1/models
请求参数
无
返回参数
参数名 | 参数类型 | 描述 |
---|---|---|
id | string | 模型名称 |
object | string | 对象,固定 model |
created | int | 创建时间 |
owned_by | string | 模型所有者 |
请求示例
http
GET http://59.78.189.137/open/api/v1/models
Content-Type: application/json
Authorization: Bearer sk-bb64********************
- repsonse
json
{
"object": "list",
"data": [
{
"id": "ChatECNU",
"object": "model",
"created": 1731918091,
"owned_by": "ecnu"
},
{
"id": "ecnu-embedding-small",
"object": "model",
"created": 1731920316,
"owned_by": "ecnu"
},
{
"id": "ecnu-max",
"object": "model",
"created": 1731925285,
"owned_by": "ecnu"
},
{
"id": "ecnu-plus",
"object": "model",
"created": 1731925777,
"owned_by": "ecnu"
},
{
"id": "ecnu-image",
"object": "model",
"created": 1732591088,
"owned_by": "ecnu"
},
{
"id": "ecnu-rerank",
"object": "model",
"created": 1732591088,
"owned_by": "ecnu"
}
]
}