doc: add local
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
0xMRTT 2023-05-26 17:39:46 +00:00
parent d90c4d66cb
commit 8bc3c757d7

27
content/help/local.md Normal file
View file

@ -0,0 +1,27 @@
# Local models
## Stable Diffusion
Imaginer can use [Stable Diffusion WebUI API](https://github.com/AUTOMATIC1111/stable-diffusion-webui), follow this guide for getting started
1. Install the dependencies
```
# Debian-based:
sudo apt install wget git python3 python3-venv
# Red Hat-based:
sudo dnf install wget git python3
# Arch-based:
sudo pacman -S wget git python3
```
2. Navigate to the directory you would like the webui to be installed and execute the following command:
```
bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh)
```
3. Run `webui.sh`
4. Go in Imaginer > Preferences > Local Stable Diffusion and paste http://127.0.0.1:7860 as API Url
5. Let's imagine !