diff --git a/docs/tutorial/images.md b/docs/tutorial/images.md index a5059c3..59761f1 100644 --- a/docs/tutorial/images.md +++ b/docs/tutorial/images.md @@ -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 `` with `host.docker.internal`. -Please note that, as of now, only the AUTOMATIC1111 API is supported for image generation within Open WebUI. \ No newline at end of file +## 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. diff --git a/static/img/tutorial_image_generation.png b/static/img/tutorial_image_generation.png new file mode 100644 index 0000000..1fc541f Binary files /dev/null and b/static/img/tutorial_image_generation.png differ