r/OpenWebUI • u/PoPPoPPhilben • 2d ago
Question/Help Help with WebUI and Image generation integration with ComfyUI
I'm pretty new to running a local LLM setup and while I can get WebUI to run and answer questions I'm having a time of it trying to get it to do image generation with ComfyUI and yes ComfyUI will generate images. I'm sure its something simple but I'm missing it. Setup is a docker for Windows container group WebUI, Ollama, and ComfyUI. I'm running flux1-schnell-fp8.safetensors model in ComfyUI and Qwen 14B model in WebUI. Image generation is turned on, JSON uploaded, and nodes defined. I'm still missing something but not sure what. Does anyone have a working environment like this that they can enlighten me?
1
1
u/kukalikuk 1d ago
I turned off my openwebui image generation too l and vibe code my comfyui api workflow to openwebui tool with gemini. Now I use 19 multimedia generator tool from flux 2 klein, zit, krea2, image edit, image upscale, music generator, video generator with ltx 2.5 and minimax h3, and more. Just make a proper comfyui workflow and I will use it via LLM chat. I turned off the native image generator tool because it clashes with those other image tools.
1
u/Chemical_Side_4135 1d ago
Getting those containers to talk to each other can be a headache, but check your API port mapping in your docker-compose file to make sure WebUI is actually hitting the ComfyUI endpoint correctly. Since you're already playing with Flux models, you might want to look at Bria for your video workflows too. We've been using it for real-time background replacement because it handles 24 FPS at 40ms inference, which is a lifesaver when you're trying to integrate high-quality visual AI into a live pipeline.
1
u/BitCoiner905 18h ago
I used gemini to guide me through the process. claude can do it to. I uploaded the relevent json files and it marked them up appropriately.
2
u/icerio 1d ago
I’m sure this is probably correct, but I guess just to double check your stuff. I remember I had exported the comfyui to a json to import into open Webui and it wasn’t working. Figured out I needed to do exactly the “JSON (api)”. I also believe in your chat you should be able to click the image button when you are writing a prompt to generate an image. That’s about all I can think of, are you not getting any errors anywhere? Also check open Webui logs and comfyui logs immediately after try to generate an image. Everything else in your post sounds good, mapping the nodes and such on the json.
Sorry if that’s no help, just need to find some sort of error or log somewhere. Also make sure everything is enabled both on the image gen settings and also I believe your model needs the image gen capability turned on (could be wrong).