GET
/
models
curl --request GET \
  --url https://api.siliconflow.cn/v1/models \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "id": "stabilityai/stable-diffusion-xl-base-1.0",
      "object": "model",
      "created": 0,
      "owned_by": ""
    }
  ]
}

Authorizations

Authorization
string
header
required

Use the following format for authentication: Bearer <your api key>

Query Parameters

type
enum<string>

The type of models

Available options:
text,
image,
audio,
video
sub_type
enum<string>

The sub type of models. You can use it to filter models individually without setting type.

Available options:
chat,
embedding,
reranker,
text-to-image,
image-to-image,
speech-to-text,
text-to-video

Response

200
application/json
Successful response
object
string
data
object[]