From 5651e864e3801a982828d880a52a49a5cd61eb5a Mon Sep 17 00:00:00 2001 From: Sirshendu Ganguly Date: Thu, 9 Oct 2025 14:40:35 -0400 Subject: [PATCH] Update image inference parameters - Updated width and height step values from 64 to 1 for more flexibility - Fixed height max value to 6048 to support 4K presets - Updated seed parameter with API documentation notes - Maintained seed min value at 1 as required --- modules/imageInference.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/imageInference.py b/modules/imageInference.py index 6671e4d..f76614f 100644 --- a/modules/imageInference.py +++ b/modules/imageInference.py @@ -50,14 +50,14 @@ class txt2img: "default": 512, "min": 128, "max": 6048, - "step": 64, + "step": 1, }), "height": ("INT", { "tooltip": "The Height of the image in pixels.", "default": 512, "min": 128, - "max": 5120, - "step": 64, + "max": 6048, + "step": 1, }), "useSteps": ("BOOLEAN", { "tooltip": "Enable to include steps parameter in API request. Disable if your model doesn't support steps (like nano banana).", @@ -93,8 +93,8 @@ class txt2img: "default": True, }), "seed": ("INT", { - "tooltip": "A value used to randomize the image generation. If you want to make images reproducible (generate the same image multiple times), you can use the same seed value.", - "default": 0, + "tooltip": "A value used to randomize the image generation. If you want to make images reproducible (generate the same image multiple times), you can use the same seed value. Random seeds are generated as 32-bit values for platform compatibility.", + "default": 1, "min": 1, "max": 9223372036854776000, }),