InvokeAI/invokeai/app/invocations
psychedelicious 297408d67e feat(nodes): add control adapter processed images to metadata
In the client, a controlnet or t2i adapter has two images:
- The source control image: the image the user selected (required)
- The processed control image: the user's image after we've processed it (optional)

The processed image is optional because a user may provide a pre-processed image.

We only actually use one of these images when building the graph, and until this change, we only stored one of the in image metadata. This created a situation where only a processed image was stored in metadata - say, a canny edge map - and the user-selected image wasn't provided.

By adding the processed image to metadata, we can recall both the control image and optional processed image.

This commit is followed by a UI-facing changes to support the change.
2024-03-14 12:34:03 -07:00
..
custom_nodes fix: removed custom module 2024-03-01 10:42:33 +11:00
__init__.py resolve which paths can be None 2023-11-28 09:30:49 +11:00
baseinvocation.py feat(nodes): JIT graph nodes validation 2024-03-01 10:42:33 +11:00
collections.py fix(nodes): restore type annotations for InvocationContext 2024-03-01 10:42:33 +11:00
compel.py tidy(nodes): use canonical capitalizations 2024-03-07 10:56:59 +11:00
constants.py chore: ruff formatting 2024-03-01 10:42:33 +11:00
controlnet_image_processors.py chore: cleanup DepthAnything code 2024-03-13 20:35:52 +05:30
cv.py feat(nodes): add WithBoard field helper class 2024-03-01 10:42:33 +11:00
facetools.py feat(nodes): add WithBoard field helper class 2024-03-01 10:42:33 +11:00
fields.py fix(mm): add ui_type to model fields 2024-03-08 11:10:44 -05:00
image.py tidy(nodes): rename canvas paste back 2024-03-01 10:42:33 +11:00
infill.py feat(nodes): add WithBoard field helper class 2024-03-01 10:42:33 +11:00
ip_adapter.py fix(nodes): ip adapter uses valid ModelIdentifierField for image encoder model 2024-03-10 17:28:58 -05:00
latent.py Found another instance of expecting a mid_block on the decoder in a vae 2024-03-12 12:11:38 -04:00
math.py fix(nodes): restore type annotations for InvocationContext 2024-03-01 10:42:33 +11:00
metadata.py feat(nodes): add control adapter processed images to metadata 2024-03-14 12:34:03 -07:00
model.py fix(nodes): ip adapter uses valid ModelIdentifierField for image encoder model 2024-03-10 17:28:58 -05:00
noise.py feat(nodes): use LATENT_SCALE_FACTOR in primitives.py, noise.py 2024-03-01 10:42:33 +11:00
param_easing.py fix(nodes): restore type annotations for InvocationContext 2024-03-01 10:42:33 +11:00
primitives.py chore: typing 2024-03-01 10:42:33 +11:00
prompt.py fix(nodes): restore type annotations for InvocationContext 2024-03-01 10:42:33 +11:00
sdxl.py feat(nodes): "ModelField" -> "ModelIdentifierField", add hash/name/base/type 2024-03-10 11:03:38 +11:00
strings.py fix(nodes): restore type annotations for InvocationContext 2024-03-01 10:42:33 +11:00
t2i_adapter.py feat(nodes): "ModelField" -> "ModelIdentifierField", add hash/name/base/type 2024-03-10 11:03:38 +11:00
tiles.py feat(nodes): add WithBoard field helper class 2024-03-01 10:42:33 +11:00
upscale.py feat(nodes): add WithBoard field helper class 2024-03-01 10:42:33 +11:00
util.py fix(nodes): fix constraints/validation for controlnet 2024-01-02 07:28:53 -05:00