instruct-pix2pix icon indicating copy to clipboard operation
instruct-pix2pix copied to clipboard

Negative prompts

Open Rizvanov-Rinat opened this issue 2 years ago • 3 comments

Hi, is it possible to use negative prompts?

Rizvanov-Rinat avatar Jan 27 '23 16:01 Rizvanov-Rinat

Yes just add --negative-prompt eg: !aimg edit {enter image path here without brackets eg content/images/initimagename} "prompt goes here" --negative-prompt "negative prompt goes here" --prompt-strength 10 --steps 50

I do wonder how we can change the init image strength, there must be a way as its done in auto1111 extension. It is done by giving a value to --init-image

G-force78 avatar Jan 28 '23 09:01 G-force78

Thank you! And maybe you know how to add negative prompt in edit_cli.py?

Rizvanov-Rinat avatar Jan 28 '23 12:01 Rizvanov-Rinat

Thank you! And maybe you know how to add negative prompt in edit_cli.py?

No sorry and that above was for imaginairy they are slightly different

G-force78 avatar Jan 28 '23 13:01 G-force78