Skip to main content
GET
/
api
/
ai
/
models
/
chat
Chat Model List
curl --request GET \
  --url https://aitoearn.cn/api/ai/models/chat
{
  "code": 0,
  "message": "Request succeeded",
  "data": [
    {
      "name": "string",
      "description": "string",
      "tags": [],
      "channel": "openai",
      "inputModalities": [
        "text"
      ],
      "outputModalities": [
        "text"
      ],
      "pricing": {
        "price": "string",
        "originPrice": "string"
      },
      "summary": "string",
      "logo": "string",
      "mainTag": "string",
      "scenes": [
        "string"
      ],
      "fixedImagePricing": [
        {
          "resolution": "string",
          "price": 1
        }
      ]
    }
  ]
}

Response

200 - application/json

The request has been processed by the service. Business success is determined by whether the response body has code === 0.

code
integer
required

Business status code. 0 means success; non-zero means a business error.

message
string
required

Response message.

data
object[]
requestId
string

Request ID.

timestamp
integer

Error response timestamp in Unix milliseconds.