Stability-AI / stability-sdk

SDK for interacting with stability.ai APIs (e.g. stable diffusion inference)
https://platform.stability.ai/
MIT License
2.41k stars 339 forks source link

Unable to generate multiple images in single API call with distinct seeds #256

Open dubtor opened 11 months ago

dubtor commented 11 months ago

I wanted to create multiple images in a single API request. For example. image 1 with seed = 100 image 2 with seed = 200 image 3 with seed = 200

I went to use the samples=3 and seed=[int arrray].

It seemed like the multiple seeds didnt work, but even when i used seed=0 (all random), I get 3 identical images.

How can I get 3 random images from the same request, ideally with specific seeds?

Thank you in advance!