获取公共型号列表
开发环境
https://stablediffusionapi.com/v1
开发环境
https://stablediffusionapi.com/v1
POST
https://stablediffusionapi.com/api/v4/dreambooth/model_list
POST
向 https://stablediffusionapi.com/api/v4/dreambooth/model_list 接口发送请求,以获取包含可用公共模型及其 ID 的列表。请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://stablediffusionapi.com/api/v4/dreambooth/model_list' \
--header 'Content-Type: application/json' \
--data-raw '{
"key": ""
}'
响应示例响应示例
[
{
"model_id": "string",
"status": "string",
"created_at": null,
"instance_prompt": "string",
"model_name": "string",
"description": "string",
"screenshots": "string"
}
]
请求参数
Body 参数application/json