List preview models / 获取预览模型
curl --request GET \
--url https://apistable.com/v1/modelsconst options = {method: 'GET'};
fetch('https://apistable.com/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apistable.com/v1/models"
response = requests.get(url)
print(response.text){
"object": "list",
"data": [
{
"id": "<string>",
"object": "model",
"owned_by": "<string>",
"modality": "image",
"status": "preview",
"live_available": false,
"max_output_count": 1,
"native_outputs": 2
}
]
}API reference
List models
Discover exact model IDs, capabilities, and availability.
GET
/
v1
/
models
List preview models / 获取预览模型
curl --request GET \
--url https://apistable.com/v1/modelsconst options = {method: 'GET'};
fetch('https://apistable.com/v1/models', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apistable.com/v1/models"
response = requests.get(url)
print(response.text){
"object": "list",
"data": [
{
"id": "<string>",
"object": "model",
"owned_by": "<string>",
"modality": "image",
"status": "preview",
"live_available": false,
"max_output_count": 1,
"native_outputs": 2
}
]
}API preview: generation providers are not connected. An authenticated request can return 503 without creating a task or charging credits.
Use an exact model ID
A model name is a display label. The model ID identifies a callable version or operation, such as text-to-image, image editing, or music continuation. Do not infer compatibility from a similar display name. Preview entries currently use illustrative model names. Select an enabled model only after its real provider, input schema, and price rules have been verified.Read capabilities before sending
| Field | What to check |
|---|---|
| modality | Image, video, music, or LLM. |
| input schema | Required inputs, defaults, enums, and combinations. |
| availability | Preview and maintenance entries are not live routes. |
| fallback support | Whether an official route supports this exact input. |