dotfiles/.local/bin/scripts/diffuse

6 lines
155 B
Plaintext
Raw Normal View History

2023-03-13 14:36:09 +00:00
#!/bin/sh -e
case "$1" in ([0-9]*) count=$1; shift;; esac
for i in {1..${count:-9}}
do txt2img --prompt "$*" --output "${1}_$(date +%y%m%d)-${i}.png"
done