sd-dynamic-javascript icon indicating copy to clipboard operation
sd-dynamic-javascript copied to clipboard

Perhaps some way for this to work with Dynamic Prompts and Adetailer?

Open majesticimaging opened this issue 1 year ago • 0 comments

There's a good number of users that have for quite some time been trying to get Dynamic Prompts to work with Adetailer. In short, Dynamic Prompts apparently runs 'separately' in all prompt fields, so instead of reinforcing words (like green in the main prompt and green in the Adetailer prompt) it ouputs almost always two different words (like green in the main prompt and red in the Adetailer prompt) which muddies the image instead of enhancing it. https://github.com/adieyal/sd-dynamic-prompts/issues/561 https://github.com/Bing-su/adetailer/issues/62

Your Dynamic Javascript plugin may be a way to solve this provided that:

  1. Dynamic Javascript could run AFTER Dynamic Prompts
  2. Dynamic Javascript would also execute in Adetailer prompt fields (I just tested it and it currently does not)

For instance, if Dynamic Prompts ran and output a word, that word could be set Dynamic Javascript variable. Then when Dynamic Javascript ran in Adetailer's prompt fields it would simply spit back out that exact word.

Would that be possible?

majesticimaging avatar Sep 06 '24 21:09 majesticimaging