From f7294161fada985daae69354403f6a0f8eebf4ed Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Thu, 24 Sep 2026 05:54:58 +0200 Subject: [PATCH] fix: show ComfyUI images saved by the Save Image (Advanced) node (#30420) When a ComfyUI workflow ends in the core "Save Image (Advanced)" node, ComfyUI finishes the job and saves the image, but Open WebUI returns an empty result, so the chat shows nothing. Image editing workflows such as the Qwen Image Edit template use this node by default. Open WebUI only collects images from output nodes of type SaveImage and PreviewImage. This adds SaveImageAdvanced to that list. The node reports its files in the same format as SaveImage, so the rest of the download and storage path works unchanged. Generation and editing share this code, so both are fixed. Fixes #30404 --- backend/open_webui/utils/images/comfyui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/open_webui/utils/images/comfyui.py b/backend/open_webui/utils/images/comfyui.py index 11a0ebb8fe..6447a69f88 100644 --- a/backend/open_webui/utils/images/comfyui.py +++ b/backend/open_webui/utils/images/comfyui.py @@ -91,6 +91,7 @@ async def _ws_get_images(ws, workflow, client_id, base_url, api_key): node_output = history['outputs'][node_id] if node_id in workflow and workflow[node_id].get('class_type') in [ 'SaveImage', + 'SaveImageAdvanced', 'PreviewImage', ]: if 'images' in node_output: