# About local server

stable-diffusion-for-unity automatically installs a system which forks from AUTOMATIC1111/stable-diffusion-webui and communicates with Unity via API.

This WebUI is lcated in the main drive of the PC, C:\Users\\\[User Name]\Witchpot\\

When StartServer button is pushed on Unity Editor, Command Prompt is automatically launched.

The server can be started from the Witchpot > StartServer button in the menu, or from the StartServer button in \~2Img component(this button only visible when the server is not running)

<div><figure><img src="https://1270527639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtVdP5UEfu2PNFw4I6asq%2Fuploads%2FLImQHiab4blzkP3IyknT%2Fimage.png?alt=media&#x26;token=fcfbbcd0-67e2-43d0-bdec-8f930fa6c930" alt=""><figcaption></figcaption></figure> <figure><img src="https://1270527639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtVdP5UEfu2PNFw4I6asq%2Fuploads%2FbNBCekSDAPdOqWoRATTk%2Fimage.png?alt=media&#x26;token=a4015188-0168-412e-b8d8-681a12678a77" alt=""><figcaption></figcaption></figure></div>

Server availablility can be monitored from the command prompt.

<figure><img src="https://1270527639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtVdP5UEfu2PNFw4I6asq%2Fuploads%2FiGdcvMhiQCFJDg3UCtTg%2Fimage.png?alt=media&#x26;token=2ccf678d-6935-46bf-89ad-12ac19d30d21" alt=""><figcaption></figcaption></figure>

Initial startup may take time.

`Running on local URL:   http://127.0.0.1:7860`

If you see a URL like this, installation and setup have been successfully completed.&#x20;

You will see a progress bar on command promt when generating images on Unity

If the image generation does not work, please also check the notation in the command prompt.
