Possible to add an API endpoint in stable-diffusion-webui?
aliencaocao opened this issue · 6 comments
Useful for automating prompt conversation.
It's good idea!
As I don't have much time, please be patient :)
I can work on it in early dec, if you wish.
Probably will implement it in Python instead for ease of integration into the existing code for APIs
I can't speak too strongly about this code, as I only modified the code that anonymous wrote, but it is quite flawed.
(To be honest, I don't really know how to implement the core part, regarding the string handling...)
For now, the first priority should be to get the algorithm in place and rewrite it in Python.
Have you or anyone else tested it to reproduce results on novelAI and the webui, especially the bracket part? I don't have a paid novelAI subscription so I cannot test myself.
Have you or anyone else tested it to reproduce results on novelAI and the webui, especially the bracket part? I don't have a paid novelAI subscription so I cannot test myself.
I have not signed up, but it has been verified by an anonymous user and we know what the conditions are. If necessary, it can be further validated with a combination of existing NovelAI products and prompts.
You can check webUI's wiki here: https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#attentionemphasis
- their
{word}
= our(word:1.05)
- their
{{word}}
= our(word:1.1025)
- their
[word]
= our(word:0.952)
(0.952 = 1/1.05) - their
[[word]]
= our(word:0.907)
(0.907 = 1/1.05/1.05)
Just dropping this here for future reference when I start working on this:
AUTOMATIC1111/stable-diffusion-webui#3982