koi icon indicating copy to clipboard operation
koi copied to clipboard

[Feature Request] Add toggle to randomize the seed after generating

Open aaronsantiago opened this issue 2 years ago • 3 comments

Doing multiple generations with the same prompt is problematic when using the same seed as it tends to "deep fry" the image. It would be significantly smoother if koi had a system for randomizing seeds.

I think the expected behavior for this toggle should be:

  • When you click "dream," if the toggle is on,
    • Read the current seed value and use that for generation
    • Replace the current seed value with a random seed
  • If the toggle is off, and you click it on,
    • Replace the current seed value with a random seed
  • If the toggle is on, and you edit the seed,
    • Turn the toggle off

This allows for manual intervention with seeds when desired, and maintains clarity as to which seed is being used while randomness is on.

aaronsantiago avatar Sep 07 '22 13:09 aaronsantiago

If the toggle is on, and you click it on

You mean that when the toggle is on and the user clicks on the text field for the seed input, it generates a new one ?

This whole behavior might actually not be that difficult to make, I might try to work on this issue ! Gotta get a grip of how Krita handles UI, but with what @nousr already has made, it shouldn't be that hard to implement ;)

tocram1 avatar Sep 07 '22 17:09 tocram1

@tocram1 awesome! I'll assign this one to you--let me know if you get stuck or want me to take you off of it 👍

nousr avatar Sep 07 '22 18:09 nousr

Oops! That was a typo, I meant to write:

  • If the toggle is off, and you click it on,
    • Replace the current seed value with a random seed

aaronsantiago avatar Sep 08 '22 11:09 aaronsantiago