Return IMAGE first, RW-Task second; update output names and workflow references
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
+1
-1
@@ -128,7 +128,7 @@ class upscaler:
|
||||
DESCRIPTION = "Enhance the resolution and quality of your images using Runware's advanced upscaling API. Transform low-resolution images into sharp, high-definition visuals."
|
||||
FUNCTION = "upscale"
|
||||
RETURN_TYPES = ("STRING",)
|
||||
RETURN_NAMES = ("Image",)
|
||||
RETURN_NAMES = ("IMAGE",)
|
||||
CATEGORY = "Runware"
|
||||
|
||||
def upscale(self, **kwargs):
|
||||
|
||||
@@ -26,7 +26,7 @@ class vectorize:
|
||||
DESCRIPTION = "Convert images to vector format using Runware's vectorization service."
|
||||
FUNCTION = "vectorizeImage"
|
||||
RETURN_TYPES = ("STRING",)
|
||||
RETURN_NAMES = ("Image",)
|
||||
RETURN_NAMES = ("IMAGE",)
|
||||
CATEGORY = "Runware"
|
||||
|
||||
def vectorizeImage(self, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user