Skip to main content

Enterprise: List Schedulers Endpoint

Overview

This endpoint is used to get a list of all the available schedulers.

Request

--request POST 'https://stablediffusionapi.com/api/v1/enterprise/schedulers_list' \

Send a POST request to https://stablediffusionapi.com/api/v1/enterprise/schedulers_list endpoint to clear the API's cache.

Attributes

ParameterDescription
keyYour enterprise API Key used for request authorization

Example

Body

Body Raw
{
"key": "enterprise_api_key"
}

Request

var myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");

var raw = JSON.stringify({
"key": ""
});

var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};

fetch("https://stablediffusionapi.com/api/v1/enterprise/schedulers_list", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));

Response

{
"schedulers": [
"DDPMScheduler",
"DDIMScheduler",
"PNDMScheduler",
"LMSDiscreteScheduler",
"EulerDiscreteScheduler",
"EulerAncestralDiscreteScheduler",
"DPMSolverMultistepScheduler",
"HeunDiscreteScheduler",
"KDPM2DiscreteScheduler",
"DPMSolverSinglestepScheduler",
"KDPM2AncestralDiscreteScheduler",
"UniPCMultistepScheduler",
"DDIMInverseScheduler",
"DEISMultistepScheduler",
"IPNDMScheduler",
"KarrasVeScheduler",
"ScoreSdeVeScheduler"
]
}