[Kling] Fix: image generation nodes not returning Tuple (#159)

This commit is contained in:
Christian Byrne 2025-05-05 21:58:26 -07:00 committed by GitHub
parent 5b523ce4f4
commit 1dc3880ca4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = {