CSAI StableDiffusion

Learn how to connect StableDiffusion to Cornerstone with CSAI.

  1. Enabling the REST Server
  2. Adding The API Key to Cornerstone

StableDiffusion WebUI by Automatic1111 is a web app to host your own Image Generation AI. This is run right on your own computer (does require a fairly good GPU).

Due to the nature of this running on your computer and not a server, the support we can provide is limited. This is an advanced feature.

Enabling the REST Server

When starting webui.sh pass in the argument api.

./webui.sh ---api

Once StableDiffusion is running, you can confirm by going to the /docs path of the webui. Keep a note of the port that was specified by default it should be 7860.

Adding The API Key to Cornerstone

You are going to use this REST port for the Cornerstone Settings. If you are running Cornerstone on your computer, we are going to use http://localhost as the endpoint along with the API port you have specified.

SDLocal CSAI Settings

See something inaccurate? Let us know