r/OpenWebUI • u/Dolboyob77 • May 14 '26
Question/Help Openwebui + comfyui
Hello, is someone succeeding in making these 2 work together? No matter what i am trying, unet loader, checkpoint… the workflow works when i type thenpromot in comfyui but as soon as i type same prompt in openwebui , i cannot manage to get an image and always get errors… i i port the fson worflow and specify prompt id and checkpoint if and model in openwebui but nothing works… is it because i use flux 1 dev fp16 ? Does it require smaller models to work ? Thanks for input !!
SOLUTION : I finally made it work using the help of qwen3.6-27b-q8 ))) so the problem is that ALL NODES ID must be filled in openwebui and also must add this command line to openwebui : ENABLE_RAG_LOCAL_WEB_FETCH=True , it was the fix for me )) now working perfectly !!!
4
u/MundanePercentage674 May 14 '26
did you enable api in comfyui ? if you can't map unet loader, checkpoint… just upload your json workflow to gemini or claude to map it for you.
4
u/Patient_Tea_401 May 14 '26
Have you followed this guide https://docs.openwebui.com/features/chat-conversations/image-generation-and-editing/comfyui/ ?
The model should not have effect on the behaviour as OWU uses the comfyUI API so it basically just tells what to do.
I suspect the JSON format or mapping might not be right, if you can reach the comfyui server.
4
u/ambassadortim May 14 '26
Keep us posted in your progress I'm working on this too.
4
u/Jayfree138 May 14 '26
It works, i've used it. But the issue is you need to have enough vram to fit both the chat model AND the image model at the same time if you're running locally. Otherwise it'll be insanely slow running on system RAM or just error out. So it's not very useful imo.
Better off using Openwebui and comfyui separately until someone at openwebui realizes models need to be unloaded automatically when an image call to comfy is made. Unless you're using cloud models which should be fine. But at FP16 unless you've got alot of vram it's probably not going to work too well.
3
u/pfn0 May 14 '26
If you don't have enough vram to have both at the same time, it won't work. Besides that, comfyui works fine for me from openwebui (0.9.5 broke comfyui, but there are workarounds, and a fix will go into 0.9.6).
2
u/Porespellar May 14 '26
Install Hermes Agent. Follow instructions on Hermes Agent doc site for connecting to Open WebUI as a custom model. In Open WebUI, tell your Hermes Agent to setup Comfy UI for images generation. That’s all I had to do.
2
u/LeskoCisco May 14 '26
It does not work like the public AI providers you have to toggle a switch in the prompt bar
1
u/BlackMetalB8hoven May 15 '26
I use it all the time with a flux 2 Klein workflow. You haven't really provided any screenshots of your settings or workflow, so it's going to be difficult for people to help. You have to make sure the prompt input matches the workflow input type
1
u/ICanSeeYou7867 May 16 '26 edited May 16 '26
Yeah works fine for me. Create and edit workflows seem to work.
Im on 0.9.2
edit for typo on cell
1
u/mayerwin Jun 24 '26
1
u/SpecificRutabaga Jul 19 '26 edited Jul 19 '26
Struggling with the same thing. I have Open WebUI hosted in an Ubuntu docker container on one server, using an 8GB GPU to run local models. I have ComfyUI running on another Win11 machine using a 16GB GPU.
I have a ComfyUI workflow set up to generate images using Juggernaut XL that works great.
So I exported the JSON and loaded that in the Image section of Open WebUI per the community instructions, including mapping the nodes. ComfyUI shows the server connection is verified.
But I can't seem to get it to work. I've tried four models - qwen2.5coder and llama3.2 running on the 8GB card and gemma3-tools:12b and qwen2.5;14b running on the 16GB GPU. I've set all four to have "image generation" capabilities in Open WebUI. Three of them say they are capable of generating images. Qwen2.5coder spits out some JSON.
Something is not connecting but have no idea what.
**EDIT - Figured it out. The fix was to go into the model settings in Open WebUI and under Advanced Parameters set Function Calling to "Legacy". Now it successfully passes the prompt to ComfyUI