跳转到主要内容
POST
/
api
/
channel
/
fetch_models
获取模型列表
curl --request POST \
  --url https://api.ldx.dev/api/channel/fetch_models \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "base_url": "<string>",
  "type": 123,
  "key": "<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.

授权

Authorization
string
header
必填

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

请求体

application/json
base_url
string
type
integer
key
string

响应

200

成功