Open WebUI native integration
This guide shows how to combine ImageRouter with a Large-Language-Model in Open WebUI so the same chat can both write and generate images.

Supported functions:
✅ Text to Image
❌ Image to Image - please use the Official Plugin as a workaround.
❌ Video generation (ImageRouter chat for videos)
-
Open Open WebUI and click your profile picture (bottom left).
-
Navigate to the Admin Panel, open Settings, and click Images on the left sidebar.
-
Change the OpenAI Engine endpoint to
https://api.imagerouter.io/v1/openaiand enter your API key. Get an API key here if you need. -
Toggle Image Generation (Experimental) ON. Disable Image Prompt Generation if you wish (recommended).
-
Set a default model. Any model from this list.
-
Click Save. (We can ignore steps as they have no effect on images)

- Open a New chat and toggle Image generation before sending the prompt. You can also ask the LLM to generate a prompt, then click the little image icon under the AI response. Enjoy!