Get all models

GET /sdapi/get_all_models

Responses

  • 200 application/json

    Default Response

    Hide response attributes Show response attributes object
  • 400 application/json

    Invalid request error

    Hide response attributes Show response attributes object
  • 401 application/json

    Authorization error

    Hide response attributes Show response attributes object
  • 500 application/json

    Internal server error

    Hide response attributes Show response attributes object
GET /sdapi/get_all_models
curl \
 -X GET https://api.itsrose.rest/sdapi/get_all_models
Response examples (200)
{
  "status": true,
  "message": "success",
  "result": {
    "models": [
      {
        "model_id": "string",
        "load_date": "string"
      }
    ],
    "controlnet_models": [
      {
        "model_id": "string",
        "load_date": "string"
      }
    ],
    "lora_models": [
      {
        "model_id": "string",
        "load_date": "string"
      }
    ],
    "ip_adapter_models": [
      {
        "model_id": "string",
        "load_date": "string"
      }
    ],
    "embeddings_models": [
      {
        "model_id": "string",
        "load_date": "string"
      }
    ],
    "vae_models": [
      {
        "model_id": "string",
        "load_date": "string"
      }
    ]
  }
}
Response examples (400)
{
  "status": false,
  "message": "string",
  "result": {}
}
Response examples (401)
{
  "status": false,
  "message": "string",
  "result": {}
}
Response examples (500)
{
  "status": false,
  "message": "string",
  "result": {}
}