Skip to content

模型列表

提供 OpenAI 兼容的模型列表获取接口。

请求方法

GET

请求地址

https://chat.ecnu.edu.cn/open/api/v1/models

请求参数

返回参数

参数名参数类型描述
idstring模型名称
objectstring对象,固定 model
createdint创建时间
owned_bystring模型所有者

请求示例

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"
    }
  ]
}