> 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="https://1270527639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtVdP5UEfu2PNFw4I6asq%2Fuploads%2FG8Ty7dlfAvtupEPWveCl%2Fpreferences_sd4u.png?alt=media&amp;token=975cda64-ad09-4e31-b312-24f3536f2f2a" 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="https://1270527639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtVdP5UEfu2PNFw4I6asq%2Fuploads%2F2tOVuESn9MOEBNRtDZV6%2Fimage.png?alt=media&amp;token=54e30c69-9959-46da-9634-2523585d96df" 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.
