Added Output Format Selector And Adjusted Color Contrast

This commit is contained in:
Jack
2025-01-13 18:58:46 +02:00
parent ed40a7efd8
commit 54d6e8b4a8
7 changed files with 31 additions and 7 deletions
+4 -2
View File
@@ -122,6 +122,7 @@ class txt2img:
"VAE": ("RUNWAREVAE", {
"tooltip": "Connect a Runware VAE Node to help the model generate images that align with the desired structure.",
}),
**rwUtils.RUNWARE_OUTPUT_FOMRATS,
}
}
@@ -163,7 +164,8 @@ class txt2img:
cfgScale = kwargs.get("cfgScale", 6.5)
seed = kwargs.get("seed")
batchSize = kwargs.get("batchSize", 1)
outputFormat = kwargs.get("outputFormat", "WEBP")
if (maskImage is not None and seedImage is None):
raise Exception("Mask Image Requires Seed Image To Be Provided!")
@@ -180,7 +182,7 @@ class txt2img:
"scheduler": scheduler,
"clipSkip": clipSkip,
"seed": seed,
"outputFormat": "WEBP",
"outputFormat": outputFormat,
"outputType": "base64Data",
"numberResults": batchSize,
}