mirror of
https://github.com/open-webui/docs
synced 2025-05-20 11:18:42 +00:00
commit
cacebf6a12
@ -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:
|
2. Launch the WebUI with additional flags to enable API access:
|
||||||
```
|
```
|
||||||
./webui.sh --api --listen
|
./webui.sh --api --listen
|
||||||
```
|
```
|
||||||
For Docker installations, use the `--listen` flag to allow connections outside of localhost.
|
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.
|
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:
|
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`.
|
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
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
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.
|
||||||
|
BIN
static/img/tutorial_image_generation.png
Normal file
BIN
static/img/tutorial_image_generation.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 MiB |
Loading…
Reference in New Issue
Block a user