Closed JackMyers001 closed 1 year ago
...Nevermind, this seems to not work. Some equivalent test Python code to the API produces an error in the Web UI code: KeyError: 'filter_nsfw'
.
filter_nsfw
can be added directly to payload
(rather than override_settings
), however it doesn't seem to do anything.
Yep same thing I found unfortunately. Not sure why it's not working, even chat gpt couldn't figure it out (lol.)
This should make
overrideSettings
work as expected. According to the Stable Diffusion Web UI API docs, they need to be part of the payload itself.