mirror of
https://github.com/open-webui/docs
synced 2025-06-16 11:28:36 +00:00
1.3 KiB
1.3 KiB
Image Generation
Open WebUI now supports image generation through the AUTOMATIC1111 API. To set this up, follow these steps:
Initial Setup
- Ensure that you have AUTOMATIC1111 installed.
- Launch AUTOMATIC1111 with additional flags to enable API access:
For Docker installations of Open WebUI, use the./webui.sh --api --listen
--listen
flag to allow connections outside of localhost.
Configuring Open WebUI
- In Open WebUI, navigate to Settings > Images.
- In the API URL field, enter the address where AUTOMATIC1111's API is accessible, following this format:
If you're running a Docker installation of Open WebUI and AUTOMATIC1111 on the same host, replacehttp://<your_automatic1111_address>:7860
<your_automatic1111_address>
withhost.docker.internal
.
Using Image Generation
- First, use a text generation model to write a prompt for image generation.
- 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.