mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-03 13:05:07 -05:00
Two main changes: - Add `runGraphAndReturnImageOutput` to `CanvasStateApiModule`. This method is a safe and convenient abstraction to execute a graph and retrieve the image output of one of its nodes. It supports cancellation (via an AbortSignal) and timeout. - Update filters to build whole graphs, as opposed to nodes. These changes allow: - Filter execution is resilient, with all error cases handled (afaik) - `CanvasEntityFilterer` class is much simpler - Stuck or long-running filters may be canceled - Filters may be arbitrarily complex - so long as there is one node that outputs an image, the filter will just work