chore(nodes): export model-related objects from invocation_api

This commit is contained in:
psychedelicious 2024-02-11 09:39:36 +11:00
parent 0f8af643d1
commit 6d31bc5326

View File

@ -28,6 +28,22 @@ from invokeai.app.invocations.fields import (
WithMetadata, WithMetadata,
WithWorkflow, WithWorkflow,
) )
from invokeai.app.invocations.model import (
ClipField,
CLIPOutput,
LoraInfo,
LoraLoaderOutput,
LoRAModelField,
MainModelField,
ModelInfo,
ModelLoaderOutput,
SDXLLoraLoaderOutput,
UNetField,
UNetOutput,
VaeField,
VAEModelField,
VAEOutput,
)
from invokeai.app.invocations.primitives import ( from invokeai.app.invocations.primitives import (
BooleanCollectionOutput, BooleanCollectionOutput,
BooleanOutput, BooleanOutput,
@ -87,6 +103,21 @@ __all__ = [
"UIType", "UIType",
"WithMetadata", "WithMetadata",
"WithWorkflow", "WithWorkflow",
# invokeai.app.invocations.model
"ModelInfo",
"LoraInfo",
"UNetField",
"ClipField",
"VaeField",
"MainModelField",
"LoRAModelField",
"VAEModelField",
"UNetOutput",
"VAEOutput",
"CLIPOutput",
"ModelLoaderOutput",
"LoraLoaderOutput",
"SDXLLoraLoaderOutput",
# invokeai.app.invocations.primitives # invokeai.app.invocations.primitives
"BooleanCollectionOutput", "BooleanCollectionOutput",
"BooleanOutput", "BooleanOutput",