InvokeAI/invokeai/app/services
psychedelicious 50bef87da7 feat(db,nodes,api): refactor metadata
Metadata for the Linear UI is now sneakily provided via a `MetadataAccumulator` node, which the client populates / hooks up while building the graph.

Additionally, we provide the unexpanded graph with the metadata API response.

Both of these are embedded into the PNGs.

- Remove `metadata` from `ImageDTO`
- Split up the `images/` routes to accomodate this; metadata is only retrieved per-image
- `images/{image_name}` now gets the DTO
- `images/{image_name}/metadata` gets the new metadata
- `images/{image_name}/full` gets the full-sized image file
- Remove old metadata service
- Add `MetadataAccumulator` node, `CoreMetadataField`, hook up to `LatentsToImage` node
- Add `get_raw()` method to `ItemStorage`, retrieves the row from DB as a string, no pydantic parsing
- Update `images`related services to handle storing and retrieving the new metadata
- Add `get_metadata_graph_from_raw_session` which extracts the `graph` from `session` without needing to hydrate the session in pydantic, in preparation for providing it as metadata; also removes all references to the `MetadataAccumulator` node
2023-07-13 15:40:05 +10:00
..
models feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00
__init__.py all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
board_image_record_storage.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00
board_images.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00
board_record_storage.py feat(db): add get_all() method for boards 2023-06-22 16:25:49 +10:00
boards.py feat(db): add get_all() method for boards 2023-06-22 16:25:49 +10:00
config.py fix conflicts 2023-07-11 15:55:10 -04:00
default_graphs.py feat(nodes): default to CPU noise 2023-06-27 13:57:31 +10:00
events.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00
graph.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00
image_file_storage.py feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00
image_record_storage.py feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00
images.py feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00
invocation_queue.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00
invocation_services.py tests(nodes): fix nodes tests 2023-06-29 23:11:48 +10:00
invoker.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00
item_storage.py feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00
latent_storage.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00
model_manager_service.py if models.yaml doesn't exist, rebuild it 2023-07-08 15:13:51 -04:00
processor.py report processing stack traces to the console 2023-07-08 19:48:32 -04:00
resource_name.py feat(nodes): add nameservice 2023-05-28 20:19:56 -04:00
restoration_services.py Fixes, first runable version 2023-06-11 16:42:40 +03:00
sqlite.py feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00
urls.py feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00