R
RunPod6mo ago
KirkRock

Getting Available Values for Stable Diffusion API Parameters.

I am trying to figure out where to get the official Keys:Values for the API Parameters for the FASTAPI Stable Diffusion setup. For instance, For the Sampling Method, there is a drop down with values that you can clearly see and use in the Automatic 1111 WebUI, but how do I know what the official parameter is and the exact values available so that when I send a request via the API it sends the right value? In the swagger example it provides some of this, but clearly not all. And certainly does not provide the entire available values. Specifically, I am looking for the official parameter for selecting the Stable Diffusion Checkpoint, How to get the specific values available for the Sampling Method and Schedule type. In the Automatic 1111 webui screenshot - Are these the official Checkpoint model names to use? Including the string in the brackets after the name? By selecting the "/openapi.json" (screenshot) (small link at the very top of the API documentation page) It gives a HUGE JSON file which you can search through and get clues to what the parameter values are. Is this a good practice to find this information this way? I hope someone understands my question here. Thank you for your attention and help.
No description
No description
1 Reply
nerdylive
nerdylive6mo ago
Right, so search Google swagger API editor online Then upload the json file There should be some kind of MD editor so left side is json text, right side is the result page ( some kind of formatted docs of the API ) Then you can find some kind of API to get available models there
Want results from more Discord servers?
Add your server