Replies: 1 comment 3 replies
-
Actually that should be |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to create a custom node that drives the
image
parameter onLoad Image
nodes after converting it to an input.I'm not able to find an appropriate output type and values that will connect correctly. As I understand it the value should simply be string value of a valid relative file path selected from a list of files here
.../ComfyUI/input/...
The documentation here https://comfyui-wiki.com/en/comfyui-nodes/image/load-image suggests
COMBO[STRING]
as input type for the parameter but a node with aRETURN_TYPES = ("COMBO[STRING]")
output will not connect to the input. I've tried every permutation of this I can think of, e.g."COMBO[STRING]"
,"COMBO"
,"STRING"
,"IMAGE"
,"COMBO[IMAGE]"
and none of them connect.I resorted to using the "any type" overload:
And using it in the return types as such:
RETURN_TYPES = (AnyType("*"),)
This enables connecting the node but ultimately the LoadImage node fails with the following error anyway:
Apparently the value coming from my custom node is never applied to the
image
parameter of the Load Image. Can I achieve this kind of connection or is it not possible currently?Beta Was this translation helpful? Give feedback.
All reactions