Merge pull request #13 from justinh-rahb/main

Fix images.md
This commit is contained in:
Timothy Jaeryang Baek 2024-02-25 22:35:03 -05:00 committed by GitHub
commit cacebf6a12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 6 deletions

View File

@ -1,17 +1,17 @@
## Image Generation
# Image Generation
Open WebUI now supports image generation through the AUTOMATIC1111 API. To set this up, follow these steps:
Open WebUI now supports image generation through the AUTOMATIC1111 [API](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/API). To set this up, follow these steps:
### Initial Setup
## Initial Setup
1. Ensure that you have AUTOMATIC1111 installed.
1. Ensure that you have [AUTOMATIC1111](https://github.com/AUTOMATIC1111/stable-diffusion-webui) installed.
2. Launch the WebUI with additional flags to enable API access:
```
./webui.sh --api --listen
```
For Docker installations, use the `--listen` flag to allow connections outside of localhost.
### Configuring Open WebUI
## Configuring Open WebUI
1. In Open WebUI, navigate to Settings > Images.
2. In the API URL field, enter the address where AUTOMATIC1111's API is accessible, following this format:
@ -20,4 +20,11 @@ Open WebUI now supports image generation through the AUTOMATIC1111 API. To set t
```
If you're running a Docker installation of Open WebUI and AUTOMATIC1111 on the same host, replace `<your_automatic1111_address>` with `host.docker.internal`.
Please note that, as of now, only the AUTOMATIC1111 API is supported for image generation within Open WebUI.
## Using Image Generation
![Image Generation Tutorial](/img/tutorial_image_generation.png)
1. First, use a text generation model to write a prompt for image generation.
2. After the response has finished, you can click the Picture icon to generate an image.
Please note that, as of now, only AUTOMATIC1111's API is supported for image generation within Open WebUI.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB