# About WebUI install/uninstall

## Install WebUI

<figure><img src="/files/a47tTUbtbqDY2peG7Dgn" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="121">Type</th><th>About</th></tr></thead><tbody><tr><td>Internal</td><td>Default WebUI. Use this if you are not familiar with StableDiffusion.</td></tr><tr><td>External</td><td>If you want to use StableDiffusion WebUI installed and cutomized by yourself.<br><br>Please specify the path to the WebUI's webui-user.bat file in API mode.</td></tr></tbody></table>

### Settings for internal webui

For Internal, the first time StartServer automatically installs Witchpot's custom StableDiffusion WebUI in the C drive user folder

### Settings for external webui

If you have a WebUI (based on AUTOMATIC1111) installed and configured in your environment, you can use that WebUI.&#x20;

Edit the webui-user.bat of the WebUI you wish to use as follows and set it to API mode

```
set COMMANDLINE_ARGS=--api
```

In Unity, specify the path of webui-user.bat as External Bat Path in the Preferences settings.

## Uninstall WebUI

If you need to uninstall the webui for any reason, please follow the instructions below.

* Unity menu > Utility > Uninstall Dependencies

  <div align="left"><figure><img src="/files/kjW7fFvgzcASjW4fxZl4" alt=""><figcaption></figcaption></figure></div>

  Note: If you delete WebUI directly in the C: drive without using this operation, WebUI will not be installed automatically at the next and unitypackage installation

## Manually install WebUI

If WebUI is not installed automatically&#x20;

Please install it manually from the Unity menu Witchpot > Utility > (Re)Install Dependencies to manually install the WebUI.


---

# Agent Instructions: 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:

```
GET https://docs.witchpot.com/english/basic-info/about-webui-install-uninstall.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
