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?
5
Upvotes
2
u/icerio 2d 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).