mirror of
https://github.com/open-webui/docs.git
synced 2026-01-04 10:46:26 +07:00
- Move all image-generation content into docs/image-generation-and-editing/ - Add ComfyUI image-editing instructions (Image Size, Steps, Image Prompt Generation) - Explain how to set node IDs in Open WebUI - Add example setups for Qwen and FLUX.1 models - Fix broken links and tidy formatting
40 lines
1.7 KiB
Markdown
40 lines
1.7 KiB
Markdown
---
|
|
sidebar_position: 1
|
|
title: "🎛️ AUTOMATIC1111"
|
|
---
|
|
|
|
:::warning
|
|
This tutorial is a community contribution and is not supported by the Open WebUI team. It serves only as a demonstration on how to customize Open WebUI for your specific use case. Want to contribute? Check out the contributing tutorial.
|
|
:::
|
|
|
|
Open WebUI supports image generation through the **AUTOMATIC1111** [API](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/API). Here are the steps to get started:
|
|
|
|
### Initial Setup
|
|
|
|
1. Ensure that you have [AUTOMATIC1111](https://github.com/AUTOMATIC1111/stable-diffusion-webui) installed.
|
|
2. Launch AUTOMATIC1111 with additional flags to enable API access:
|
|
|
|
```python
|
|
/webui.sh --api --listen
|
|
```
|
|
|
|
3. For Docker installation of WebUI with the environment variables preset, use the following command:
|
|
|
|
```docker
|
|
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -e AUTOMATIC1111_BASE_URL=http://host.docker.internal:7860/ -e ENABLE_IMAGE_GENERATION=True -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main
|
|
```
|
|
|
|
### Setting Up Open WebUI with AUTOMATIC1111
|
|
|
|
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:
|
|
|
|

|
|
|
|
```txt
|
|
http://<your_automatic1111_address>:7860/
|
|
```
|
|
|
|
If you're running a Docker installation of Open WebUI and AUTOMATIC1111 on the same host, use `http://host.docker.internal:7860/` as your address.
|