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>"Platform
List models
Retrieve models information.
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
Query Parameters
The type of models
Available options:
text, image, audio, video 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