From e449b83fedb0ddc46a1aa860474d2688bbb8627e Mon Sep 17 00:00:00 2001 From: Sirshendu Ganguly Date: Mon, 6 Oct 2025 14:27:09 -0400 Subject: [PATCH] Fix seed default values to use user input instead of auto-generation --- modules/imageInference.py | 2 +- modules/photoMaker.py | 2 +- modules/runwareBFL.py | 2 +- modules/runwareImagen.py | 2 +- modules/videoInference.py | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/imageInference.py b/modules/imageInference.py index bb88a12..2d18f13 100644 --- a/modules/imageInference.py +++ b/modules/imageInference.py @@ -87,7 +87,7 @@ class txt2img: }), "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": rwUtils.genRandSeed(), + "default": 0, "min": 1, "max": 9223372036854776000, }), diff --git a/modules/photoMaker.py b/modules/photoMaker.py index f943b8f..306bb48 100644 --- a/modules/photoMaker.py +++ b/modules/photoMaker.py @@ -86,7 +86,7 @@ class photoMaker: }), "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": rwUtils.genRandSeed(), + "default": 0, "min": 1, "max": 9223372036854776000, }), diff --git a/modules/runwareBFL.py b/modules/runwareBFL.py index 3302b0f..ccb80cf 100644 --- a/modules/runwareBFL.py +++ b/modules/runwareBFL.py @@ -39,7 +39,7 @@ class runwareKontext: }), "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": rwUtils.genRandSeed(), + "default": 0, "min": 1, "max": 9223372036854776000, }), diff --git a/modules/runwareImagen.py b/modules/runwareImagen.py index c10f069..487453b 100644 --- a/modules/runwareImagen.py +++ b/modules/runwareImagen.py @@ -32,7 +32,7 @@ class runwareImagen: }), "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": rwUtils.genRandSeed(), + "default": 0, "min": 1, "max": 9223372036854776000, }), diff --git a/modules/videoInference.py b/modules/videoInference.py index 4b0e13e..f7140e7 100644 --- a/modules/videoInference.py +++ b/modules/videoInference.py @@ -144,9 +144,9 @@ class txt2vid: "tooltip": "Choose the output video format.", }), "seed": ("INT", { - "tooltip": "A value used to randomize the video generation. If you want to make videos reproducible (generate the same video multiple times), you can use the same seed value. Note: Only supported by Wan models.", - "default": rwUtils.genRandSeed(), - "min": 1, + "tooltip": "A value used to randomize the video generation. If you want to make videos reproducible (generate the same video multiple times), you can use the same seed value. Leave empty or 0 to auto-generate. Note: Only supported by Wan models.", + "default": 0, + "min": 0, "max": 9223372036854776000, }), "batchSize": ("INT", {