Skip to main content

Image Router

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 also supports image generation through the Image Router APIs. Image Router is an open source image generation proxy that unifies most popular models into a single API.

Initial Setup​

  1. Obtain an API key from Image Router.

Configuring Open WebUI​

  1. In Open WebUI, go to Settings > Images & Videos (admin section) and add a connection.
  2. Set Connection Type to OpenAI compatible (Image Router uses the same syntax as OpenAI).
  3. Set URL to https://api.imagerouter.io/v1/openai and enter your Image Router API key.
  4. Under Model IDs, add the model you wish to use by typing its name. For more information, see all models.
  5. Click Access, choose who may use the connection, and click Save. Without a grant, only admins can use the connection.
This content is for informational purposes only and does not constitute a warranty, guarantee, or contractual commitment. Open WebUI is provided "as is." See your license for applicable terms.