InvokeAI/invokeai/app/util
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
..
__init__.py feat(nodes): add list_images endpoint 2023-04-09 13:48:44 +10:00
metadata.py feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00
metaenum.py feat(nodes): address feedback 2023-05-24 11:30:47 -04:00
misc.py feat(nodes): add high-level images service 2023-05-24 11:30:47 -04:00
step_callback.py feat(nodes): refactor image types 2023-05-28 20:19:56 -04:00
thumbnails.py Partial migration of UI to nodes API (#3195) 2023-04-22 13:10:20 +10:00