Visit ComfyUI Online for ready-to-use ComfyUI environment
Specialized node combining two PixelKSampleHook instances for enhanced image processing workflows.
PixelKSampleHookCombine is a specialized node designed to combine the functionalities of two separate PixelKSampleHook instances. This node allows you to leverage the capabilities of two hooks simultaneously, enabling more complex and nuanced image processing workflows. By combining two hooks, you can apply a sequence of operations that might not be possible with a single hook, thus enhancing the flexibility and power of your image processing pipeline. This node is particularly useful in scenarios where you need to apply multiple transformations or adjustments to your images, ensuring that each step is executed in a coordinated manner.
This parameter represents the first PixelKSampleHook instance to be combined. It is essential for defining the initial set of operations that will be applied to the image. The hook1 parameter allows you to specify the primary hook whose methods will be executed first in the sequence. This parameter is required and must be of type PK_HOOK
.
This parameter represents the second PixelKSampleHook instance to be combined. It defines the subsequent set of operations that will be applied after the first hook's methods have been executed. The hook2 parameter ensures that the image undergoes additional processing as defined by the second hook. This parameter is required and must be of type PK_HOOK
.
The output of this node is a combined PixelKSampleHook instance. This combined hook encapsulates the functionalities of both input hooks, allowing you to apply a sequence of operations defined by hook1 and hook2. The output is of type PK_HOOK
, which can be used in subsequent nodes to continue the image processing workflow.
TypeError: Expected PK_HOOK type for hook1 and hook2
PK_HOOK
.AttributeError: 'NoneType' object has no attribute 'pre_ksample'
© Copyright 2024 RunComfy. All Rights Reserved.