Run custom code after every generation? #1489
Replies: 2 comments 2 replies
-
you can do this by your own custom script, you just need to call proc.process_images(p) |
Beta Was this translation helpful? Give feedback.
-
I think chaining of scripts should become a concept, it's already needed and every week that passes makes it a more difficult topic. "prompts from file -> prompt-expansion -> SD upscale" just as an example But that would require a complete rewrite of the scripting interface with a lot more complexity than the current 'overwrite' approach. |
Beta Was this translation helpful? Give feedback.
-
I’m looking at building a tool that integrates with this UI and it needs to detect images as they’re generated.
It’s easy to run a standalone program that watches the output folder, but I was wondering if there is a standard way to do this within the automatic1111 UI?
(My understanding is only one custom script can run per generation, and I want to detect all generated images.)
Thank you for any help or advice!
Beta Was this translation helpful? Give feedback.
All reactions