InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

Generalize preview event

Open StAlKeR7779 opened this issue 1 year ago • 2 comments

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

StAlKeR7779 avatar Aug 24 '24 17:08 StAlKeR7779

I have done something similar in https://github.com/invoke-ai/InvokeAI/pull/6715

I paused on working on it bc focusing on canvas

psychedelicious avatar Aug 24 '24 21:08 psychedelicious

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.

StAlKeR7779 avatar Aug 24 '24 21:08 StAlKeR7779

superseded by #6908

psychedelicious avatar Oct 03 '24 09:10 psychedelicious