> For the complete documentation index, see [llms.txt](https://docs.witchpot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.witchpot.com/english/production-tips/about-local-server.md).

# 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="/files/yK8o4hWis9MEASvb2naY" alt=""><figcaption></figcaption></figure> <figure><img src="/files/Tp6353nxCXZ4GsMJ2EEp" alt=""><figcaption></figcaption></figure></div>

Server availablility can be monitored from the command prompt.

<figure><img src="/files/8ojHwrZO3Gxqcozvi8rr" 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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.witchpot.com/english/production-tips/about-local-server.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
