InvokeAI/invokeai/app/invocations
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 all vestiges of ldm.invoke removed 2023-03-03 01:02:00 -05:00
baseinvocation.py feat(nodes): add lora field, update lora loader 2023-07-05 12:47:34 +10:00
collections.py feat(nodes): add ImageCollection node in prep for batch processing 2023-07-04 00:18:27 +10:00
compel.py Merge branch 'main' into release/invokeai-3-0-alpha 2023-07-07 14:18:12 -04:00
controlnet_image_processors.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00
cv.py feat(nodes): remove image_origin from most places 2023-06-14 23:08:27 +10:00
generate.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00
image.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00
infill.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00
latent.py feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00
math.py Added nodes for float params: ParamFloatInvocation and FloatCollectionOutput. Also added FloatOutput. 2023-05-26 21:44:00 -04:00
metadata.py feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00
model.py Move clip skip to separate node 2023-07-06 17:39:49 +03:00
noise.py Mac MPS FP16 fixes 2023-07-04 18:10:53 -04:00
param_easing.py fix(nodes): use context for logger in param_easing 2023-06-27 23:30:10 -04:00
params.py Added nodes for float params: ParamFloatInvocation and FloatCollectionOutput. Also added FloatOutput. 2023-05-26 21:44:00 -04:00
prompt.py fix(nodes): fix revert conflict 2023-06-15 01:05:16 +10:00
reconstruct.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00
upscale.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00