> 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/basic-info/about-webui-install-uninstall.md).

# 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.
