timothybrooks / instruct-pix2pix

Other
6.28k stars 530 forks source link

Negative prompts #54

Closed Rizvanov-Rinat closed 1 year ago

Rizvanov-Rinat commented 1 year ago

Hi, is it possible to use negative prompts?

G-force78 commented 1 year ago

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

Rizvanov-Rinat commented 1 year ago

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

G-force78 commented 1 year ago

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