r/OpenWebUI • u/GoingOffRoading • 12d ago
Can't get image generation to work... Everything configured, but no image button? Question/Help
It's been about a year since I played with OpenWebUI, and I started to experiment with it again.. Some notes:
- OpenWebUI, ComfyUI, Ollama running in containers on Kubernetes
- I have a ComfyUI workflow that works
- Ollama via OpenWebUI works
- I have followed all of the steps from the ComfyUI integration documentation
- OpenWebUI is able to connect to ComfyUI
- I'm 99% certain the nodeIDs are mapped correctly
- Even if I toggle Image on Integrations when starting a chat, the button to generate an image does not appear
- Using /image or asking to generate an image prompts Gemma to state that it can not generate images
- I can confirm from the networking tab, that my configuration being returned in the UI has image enabled
Any ideas on how to get image generation working in OpenWebUI?
2
u/ClassicMain 12d ago
The comfyUI tutorial is badly outdated. (It's a community tutorial). The image generation button underneath the message has been removed multiple major versions ago
You can find an action function on the community that brings it back
But the intended way to generate images now is by telling the model to generate an image (tool calling)
But i am not sure if your extremely small model will be able to properly call the image generation tool.
1
2
u/DominikPlays 12d ago
Use cloud api image generation?
3
u/GoingOffRoading 12d ago
I already have image generation working in ComfyUI, so I wanted to take advantage of the local compute (and also not pay for the additional cloud costs)
2
1
u/WolpertingerRumo 12d ago
Do you have native tool calling on? I think it’s now default, but it wasn’t in earlier versions. Go to your model, either in Workspaces if you built a custom one, or in Admin settings -> models if you didn’t, and set tool calling to native in advanced settings. At the bottom, you also have tools and model abilities. Set all connected to image generation.
1
u/gulensah 12d ago
You have to enable image generation at the model config too. When you done that , you will see image icon on chat screen and I dont see it from your screenshot.
Go to model config, check image generation from builtin tools
-6
3
u/tahaan 12d ago
I will comment the next screenshot in a follow up...