mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
Added an additional "raw_processed_image" output port to controlnets, mainly so could route ImageField to a ShowImage node
This commit is contained in:
@@ -47,7 +47,7 @@ class ControlOutput(BaseInvocationOutput):
|
||||
# fmt: off
|
||||
type: Literal["control_output"] = "control_output"
|
||||
control: Optional[ControlField] = Field(default=None, description="The control info dict")
|
||||
# image: ImageField = Field(default=None, description="outputs just them image info (which is also included in control output)")
|
||||
raw_processed_image: ImageField = Field(default=None, description="outputs just them image info (which is also included in control output)")
|
||||
# fmt: on
|
||||
|
||||
|
||||
@@ -101,7 +101,8 @@ class PreprocessedControlInvocation(BaseInvocation, PILInvocationConfig):
|
||||
image=image_field,
|
||||
control_model=self.control_model,
|
||||
control_weight=self.control_weight,
|
||||
)
|
||||
),
|
||||
raw_processed_image=image_field,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user