Search Documentation

Search for pages and headings in the documentation

List Models

Retrieve the list of models currently available on Liutong.

Endpoint

GET /v1/models

Example request

curl https://api.liutong.llby.org/v1/models \
  -H "Authorization: Bearer lt_your_api_key"

Response

{
  "object": "list",
  "data": [
    {
      "id": "crimson-falcon-4",
      "object": "model",
      "created": 1700000000,
      "owned_by": "liutong"
    },
    {
      "id": "indigo-owl-4",
      "object": "model",
      "created": 1700000000,
      "owned_by": "liutong"
    },
    {
      "id": "amber-phoenix-4",
      "object": "model",
      "created": 1700000000,
      "owned_by": "liutong"
    },
    {
      "id": "jade-mole-4",
      "object": "model",
      "created": 1700000000,
      "owned_by": "liutong"
    }
  ]
}

Error responses

StatusDescription
401Invalid or missing API key.
500Internal server error.