bes-dev / stable_diffusion.openvino

Apache License 2.0
1.53k stars 208 forks source link

Parameter for multiple image generation like --images 100 #51

Open chaos4455 opened 1 year ago

chaos4455 commented 1 year ago

Please, if possible i will ask to you please develop a function that make possible to make multiple images. Thanks.

Zoranvedek commented 1 year ago

Make a text file, put all your prompts in it, you can repeat the same prompt multiple times, make series of different prompts, whatever, copy the whole list and paste into Python and hit enter :


python V:\Stable_diffusion_openvino\stable_diffusion.openvino\demo.py --prompt "here's your prompt" --output "here's your file name_1.png" --num-inference-steps 16

python V:\Stable_diffusion_openvino\stable_diffusion.openvino\demo.py --prompt "here's your prompt again" --output "here's your file name_2.png" --num-inference-steps 16

python V:\Stable_diffusion_openvino\stable_diffusion.openvino\demo.py --prompt "here's your next prompt" --output "here's your file name_3.png" --num-inference-steps 16


It will run through the entire list.

xeruf commented 1 year ago

See also https://github.com/bes-dev/stable_diffusion.openvino/issues/36

chaos4455 commented 1 year ago

Thanks firends :-)