Return IMAGE first, RW-Task second; update output names and workflow references

This commit is contained in:
Sirshendu Ganguly
2026-01-27 21:09:55 -05:00
parent 3367810325
commit 7dc69a9305
34 changed files with 36 additions and 36 deletions
+3 -3
View File
@@ -197,8 +197,8 @@ class txt2img:
DESCRIPTION = "Generates Images Lightning Fast With Runware Image Inference Sonic Engine."
FUNCTION = "generateImage"
RETURN_TYPES = ("RUNWARETASK", "STRING")
RETURN_NAMES = ("RW-Task", "Image")
RETURN_TYPES = ("STRING", "RUNWARETASK")
RETURN_NAMES = ("IMAGE", "RW-Task")
CATEGORY = "Runware"
@classmethod
@@ -468,7 +468,7 @@ class txt2img:
# Return URLs as comma-separated string (or single URL)
image_url_str = ",".join(image_urls) if image_urls else ""
return (None, image_url_str)
return (image_url_str, None)
# If status is "processing", continue polling