Skip to main content
GET
/
models
Get Model List
curl --request GET \
  --url https://api.siliconflow.com/v1/models \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.siliconflow.com/v1/models"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.siliconflow.com/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "object": "list",
  "data": [
    {
      "id": "stabilityai/stable-diffusion-xl-base-1.0",
      "object": "model",
      "created": 0,
      "owned_by": ""
    }
  ]
}
"<string>"
"<string>"
"<string>"
"<string>"
"<string>"
"<string>"

Authorizations

Authorization
string
header
required

Use the following format for authentication: Bearer

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

Successful response

object
string
Example:

"list"

data
object[]