List available models
curl --request GET \
--url https://apistable.ai/api/v1/modelsconst options = {method: 'GET'};
fetch('https://apistable.ai/api/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apistable.ai/api/v1/models"
response = requests.get(url)
print(response.text){
"code": 200,
"msg": "success",
"data": {
"models": [
{
"id": "<string>",
"modality": "image",
"status": "preview",
"live_available": true,
"input_schema_version": "<string>"
}
],
"next_cursor": "<string>"
}
}{
"code": 123,
"msg": "<string>",
"data": null
}模型市场
模型列表
列出已可真实调用的模型。
GET
/
api
/
v1
/
models
List available models
curl --request GET \
--url https://apistable.ai/api/v1/modelsconst options = {method: 'GET'};
fetch('https://apistable.ai/api/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apistable.ai/api/v1/models"
response = requests.get(url)
print(response.text){
"code": 200,
"msg": "success",
"data": {
"models": [
{
"id": "<string>",
"modality": "image",
"status": "preview",
"live_available": true,
"input_schema_version": "<string>"
}
],
"next_cursor": "<string>"
}
}{
"code": 123,
"msg": "<string>",
"data": null
}能力按服务端配置逐项启用。未启用操作返回 503 且不创建任务;音乐积分扣除当前未启用。