InvokeAI/invokeai/app/services
psychedelicious d2c8a53c55 feat(nodes): change intermediates handling
- `ImageType` is now restricted to `results` and `uploads`.
- Add a reserved `meta` field to nodes to hold the `is_intermediate` boolean. We can extend it in the future to support other node `meta`.
- Add a `is_intermediate` column to the `images` table to hold this. (When `latents`, `conditioning` etc are added to the DB, they will also have this column.)
- All nodes default to `*not* intermediate`. Nodes must explicitly be marked `intermediate` for their outputs to be `intermediate`.
- When building a graph, you can set `node.meta.is_intermediate=True` and it will be handled as an intermediate.
- Add a new `update()` method to the `ImageService`, and a route to call it. Updates have a strict model, currently only `session_id` and `image_category` may be updated.
- Add a new `update()` method to the `ImageRecordStorageService` to update the image record using the model.
2023-05-25 22:17:14 -04:00
..
models feat(nodes): change intermediates handling 2023-05-25 22:17:14 -04:00
__init__.py all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
config.py fix(tests): add --use_memory_db flag; use it in tests 2023-05-25 12:12:31 +10:00
default_graphs.py fix(nodes): temporarily disable librarygraphs 2023-05-12 22:33:49 +10:00
events.py feat(nodes): revert invocation_complete url hack 2023-05-24 11:30:47 -04:00
graph.py feat(nodes): add metadata handling 2023-05-24 11:30:47 -04:00
image_file_storage.py fix(nodes): fix bugs with serving images 2023-05-24 11:30:47 -04:00
image_record_storage.py feat(nodes): change intermediates handling 2023-05-25 22:17:14 -04:00
images.py feat(nodes): change intermediates handling 2023-05-25 22:17:14 -04:00
invocation_queue.py nodes: invocation queue item - make more pydantic 2023-04-16 09:39:33 -04:00
invocation_services.py fix(nodes): use forward declarations for InvocationServices 2023-05-25 12:12:31 +10:00
invoker.py fix(nodes): fix duplicate Invoker start/stop events 2023-05-01 18:24:37 -04:00
item_storage.py revert and disable auto-formatting of invocations 2023-03-03 14:59:17 -05:00
latent_storage.py feat(nodes): wip image storage implementation 2023-05-24 11:30:47 -04:00
metadata.py feat(nodes): improve metadata service comments 2023-05-24 11:30:47 -04:00
model_manager_initializer.py remove globals, args, generate and the legacy CLI 2023-05-03 23:36:51 -04:00
processor.py chore(nodes): remove unused imports 2023-05-25 12:12:31 +10:00
restoration_services.py logger is a interchangeable service 2023-04-29 10:48:50 -04:00
sqlite.py Partial migration of UI to nodes API (#3195) 2023-04-22 13:10:20 +10:00
urls.py fix(nodes): fix bugs with serving images 2023-05-24 11:30:47 -04:00