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
}Market
List models
List models available for live execution.
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
}Operations are enabled individually by server configuration. Disabled operations return 503 without a task. Music credit deduction is currently disabled.