In the StableDiffusionImg2ImgPipeline
, you can generate multiple images by adding the parameter num_images_per_prompt. But what is the best way to save all those images to a directory? All the examples I can find show doing: image[0].save(āfilenameā)
Do you have to do one at a time:
image[0].save(āfilenameā)
image[1].save(āfilenameā)
image[2].save(āfilenameā)
And so on?