From cf199709bdb78fe42c5ddac1cc2241f0040daf7f Mon Sep 17 00:00:00 2001 From: silentoplayz <50341825+silentoplayz@users.noreply.github.com> Date: Sun, 23 Jun 2024 02:14:32 +0000 Subject: [PATCH] Update images.md Fixes --- docs/tutorial/images.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/tutorial/images.md b/docs/tutorial/images.md index 889efec..60bbc1d 100644 --- a/docs/tutorial/images.md +++ b/docs/tutorial/images.md @@ -5,7 +5,7 @@ title: "Image Generation" # Image Generation -Open WebUI now supports image generation through two backends: **AUTOMATIC1111** and **OpenAI DALL·E**. This guide will help you set up and use both options. +Open WebUI supports image generation through three backends: **AUTOMATIC1111**, **ComfyUI**, and **OpenAI DALL·E**. This guide will help you set up and use either of these options. ## AUTOMATIC1111 @@ -25,8 +25,9 @@ Open WebUI supports image generation through the **AUTOMATIC1111** [API](https:/ ### 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: +1. In Open WebUI, navigate to the **Admin Panel** > **Settings** > **Images** menu. +2. Set the `Image Generation Engine` field to `Default (Automatic1111)`. +3. In the API URL field, enter the address where AUTOMATIC1111's API is accessible: ``` http://:7860/ ``` @@ -54,10 +55,11 @@ ComfyUI provides an alternative interface for managing and interacting with imag ### Configuring Open WebUI -1. In Open WebUI, navigate to **Settings > Images**. -2. In the API URL field, enter the address where ComfyUI's API is accessible: +1. In Open WebUI, navigate to the **Admin Panel** > **Settings** > **Images** menu. +2. Set the `Image Generation Engine` field to `ComfyUI`. +3. In the API URL field, enter the address where ComfyUI's API is accessible: ``` - http://:7860/ + http://:8188/ ``` Set the environment variable `COMFYUI_BASE_URL` to this address to ensure proper integration. @@ -71,8 +73,8 @@ Open WebUI also supports image generation through the **OpenAI DALL·E APIs**. T ### Configuring Open WebUI -1. In Open WebUI, navigate to **Settings > Images**. -2. Select **OpenAI** as your image generation backend. +1. In Open WebUI, navigate to the **Admin Panel** > **Settings** > **Images** menu. +2. Set the `Image Generation Engine` field to `Open AI (Dall-E)`. 3. Enter your OpenAI API key. 4. Choose the DALL·E model you wish to use. Note that image size options will depend on the selected model: - **DALL·E 2**: Supports `256x256`, `512x512`, or `1024x1024` images. @@ -83,4 +85,4 @@ Open WebUI also supports image generation through the **OpenAI DALL·E APIs**. T ![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. \ No newline at end of file +2. After the response has finished, you can click the Picture icon to generate an image.