Added support for bounding boxes in the Invocation API

Adding built-in bounding boxes as a core type would help developers of nodes that include bounding box support.
This commit is contained in:
Jonathan 2024-08-25 10:45:54 -05:00 committed by psychedelicious
parent 231e5ec94a
commit 526e0f30a0

View File

@ -13,6 +13,7 @@ from invokeai.app.invocations.baseinvocation import (
) )
from invokeai.app.invocations.fields import ( from invokeai.app.invocations.fields import (
BoardField, BoardField,
BoundingBoxField,
ColorField, ColorField,
ConditioningField, ConditioningField,
DenoiseMaskField, DenoiseMaskField,
@ -46,6 +47,7 @@ from invokeai.app.invocations.model import (
from invokeai.app.invocations.primitives import ( from invokeai.app.invocations.primitives import (
BooleanCollectionOutput, BooleanCollectionOutput,
BooleanOutput, BooleanOutput,
BoundingBoxOutput,
ColorCollectionOutput, ColorCollectionOutput,
ColorOutput, ColorOutput,
ConditioningCollectionOutput, ConditioningCollectionOutput,
@ -92,6 +94,7 @@ __all__ = [
"InvocationContext", "InvocationContext",
# invokeai.app.invocations.fields # invokeai.app.invocations.fields
"BoardField", "BoardField",
"BoundingBoxField",
"ColorField", "ColorField",
"ConditioningField", "ConditioningField",
"DenoiseMaskField", "DenoiseMaskField",
@ -128,6 +131,7 @@ __all__ = [
# invokeai.app.invocations.primitives # invokeai.app.invocations.primitives
"BooleanCollectionOutput", "BooleanCollectionOutput",
"BooleanOutput", "BooleanOutput",
"BoundingBoxOutput",
"ColorCollectionOutput", "ColorCollectionOutput",
"ColorOutput", "ColorOutput",
"ConditioningCollectionOutput", "ConditioningCollectionOutput",