Generalize preview event
Summary
Changes preview event the way, that it accepts image instead of latents. This allow to use custom latents preview logic, for example - flux or use taesd for sd preview.
Related Issues / Discussions
#6739
QA Instructions
-
Merge Plan
-
Checklist
- [x] The PR has a short but descriptive title, suitable for a changelog
- [ ] Tests added / updated (if applicable)
- [ ] Documentation added / updated (if applicable)
@brandonrising @RyanJDick
I have done something similar in https://github.com/invoke-ai/InvokeAI/pull/6715
I paused on working on it bc focusing on canvas
I have done something similar in #6715
I paused on working on it bc focusing on canvas
Yeah, but here idea for now - unhardcode backend, without logical/data changes, so that my code still use old event, just it's construction logic moved to be able provide different latents->image part.
superseded by #6908