stable-generate: fix curl usage
This commit is contained in:
parent
cb63f7b6c5
commit
e533d64f1f
@ -18,7 +18,7 @@ pkgs.writers.writeBashBin "stable-generate" ''
|
||||
filename=$(mktemp)
|
||||
curl -Ssf "$STABLE_URL/sdapi/v1/txt2img" \
|
||||
-X POST \
|
||||
--Header 'Content-Type: application/json' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data "$PAYLOAD" |
|
||||
jq -r '.images[0]' |
|
||||
base64 --decode > "$filename"
|
||||
|
Loading…
Reference in New Issue
Block a user