Skip to main content
GET
/
v1beta
/
models
Generate Gemini Content
curl --request GET \
  --url https://api.ldx.dev/v1beta/models \
  --header 'Authorization: Bearer <token>'
{
  "models": [
    {
      "name": "models/gemini-pro",
      "version": "<string>",
      "displayName": "<string>",
      "description": "<string>",
      "inputTokenLimit": 123,
      "outputTokenLimit": 123,
      "supportedGenerationMethods": [
        "<string>"
      ]
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.liandanxia.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successfully retrieved model list

models
object[]