From 88d7b1bcabd9c23645a79bd31bb14e96b247fa55 Mon Sep 17 00:00:00 2001 From: Yousef Rafat <81116377+yousef-rafat@users.noreply.github.com> Date: Fri, 1 May 2026 14:29:44 +0300 Subject: [PATCH] workflow embedded fix --- comfy_extras/nodes_images.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/comfy_extras/nodes_images.py b/comfy_extras/nodes_images.py index 5c280c4f9..7dc53430b 100644 --- a/comfy_extras/nodes_images.py +++ b/comfy_extras/nodes_images.py @@ -1022,12 +1022,15 @@ class SaveImageAdvanced(IO.ComfyNode): ) @classmethod - def execute(cls, images, filename_prefix: str, format: dict, embed_workflow: bool, prompt=None, extra_pnginfo=None) -> IO.NodeOutput: + def execute(cls, images, filename_prefix: str, format: dict, embed_workflow: bool) -> IO.NodeOutput: output_dir = folder_paths.get_output_directory() full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.\ get_save_image_path(filename_prefix, output_dir, images[0].shape[1], images[0].shape[0]) results = list() + prompt = cls.hidden.prompt + extra_pnginfo = cls.hidden.extra_pnginfo + for batch_number, image in enumerate(images): # get widget values from dynamic combo file_format = format["format"]