dotfiles/.local/bin/scripts/diffuse
2023-03-13 15:40:00 +01:00

5 lines
155 B
Bash
Executable file

#!/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