From 1dc3880ca467445530c2fb658acac57e5b47b2c4 Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Mon, 5 May 2025 21:58:26 -0700 Subject: [PATCH] [Kling] Fix: image generation nodes not returning Tuple (#159) --- comfy_api_nodes/nodes_kling.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comfy_api_nodes/nodes_kling.py b/comfy_api_nodes/nodes_kling.py index ae4adc82f..e60c57b0e 100644 --- a/comfy_api_nodes/nodes_kling.py +++ b/comfy_api_nodes/nodes_kling.py @@ -1388,7 +1388,7 @@ class KlingVirtualTryOnNode(KlingImageGenerationBase): validate_image_result_response(final_response) images = get_images_from_response(final_response) - return image_result_to_node_output(images) + return (image_result_to_node_output(images),) class KlingImageGenerationNode(KlingImageGenerationBase): @@ -1517,7 +1517,7 @@ class KlingImageGenerationNode(KlingImageGenerationBase): validate_image_result_response(final_response) images = get_images_from_response(final_response) - return image_result_to_node_output(images) + return (image_result_to_node_output(images),) NODE_CLASS_MAPPINGS = {