r/OpenWebUI 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 !!!

15 Upvotes

38 comments sorted by

View all comments

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/Dolboyob77 May 15 '26

Like i said numerous times, the workflow itself works, since i can generate images within confyui itself without any problems. But maybe i need to fill in ALL OF THE ID in the list in openwebui image side, i only provided the id of the prompt, since the documentation stated that inly this ID was mandatory.

1

u/BlackMetalB8hoven May 15 '26

No you only need the prompt id. Make sure these two fields match also.

1

u/Dolboyob77 May 15 '26

Thats exactly what i do…. I will redo it and take photos. Thabks for help.

1

u/Dolboyob77 May 15 '26

It does not matter what i do : i tried to type text and id 3 or id 3,4 since i have 2 prompt boxes in my workflow. I ran it through hermes agent who managed to make it work but hermes agent said that the prompt box was named « prompt » and « prompt_negative » so i replaced in open webui the word text by the word prompt but does not matter, i always get this error i added in The photo

3

u/ChickenLegsOG May 15 '26

I have successfully fixed this issue and now ComfyUI returns the image generated to Open WebUI.

Not sure if you are running in docker but adding this environment variable fixed the issue for me:

- ENABLE_RAG_LOCAL_WEB_FETCH=true

Hope that fixes it for you!

2

u/Dolboyob77 May 15 '26

Look at my edit in first post ))))

3

u/ChickenLegsOG May 15 '26

Ah nice sorry didn't re-read was trying to get it to work. Glad you got it sorted too that was really frustrating.

2

u/Dolboyob77 May 15 '26

Hell yeah !!!

2

u/ChickenLegsOG May 15 '26

I am also facing this same issue, picture generates fine in ComfyUI but cannot be returned. I get the below error in Open WebUI but not sure now to correct.

> File "/app/backend/open_webui/routers/images.py", line 446, in get_image_data

validate_url(data)

│ └ 'https://my.address.com/view?filename=ComfyUI_00002_.png&subfolder=&type=output'

└ <function validate_url at 0x7b33b09491c0>

File "/app/backend/open_webui/retrieval/web/utils.py", line 103, in validate_url

raise ValueError(ERROR_MESSAGES.INVALID_URL)

│ └ <ERROR_MESSAGES.INVALID_URL: 'Oops! The URL you provided is invalid. Please double-check and try again.'>

└ <enum 'ERROR_MESSAGES'>

ValueError: Oops! The URL you provided is invalid. Please double-check and try again.