Dynamic Input/Output Support
Background
V3 Schema and ComfyUI_frontend supports dynamic inputs and outputs.
In Scope
- Support for 0..n inputs of a particular type.
- Support for changing available inputs based on a dropdown (like VHS Nodes does for video formats).
- Support for ‘templated’ types. (E.g. when you connect a Switch to an IMAGE, all sockets become IMAGE.)
I'm particularly curious about this. I do have an open PR #8581, that has a switch node that is currently just using an anytype for the output, but could possibly be rewritten for the V3 schema, possibly making it more standard with the rest of the ComfyUI ecosystem.
That will be great! @LaVie024 We will be sharing the schema next week. Please test it and let us know what you think!
Hey,
What's the status with this? Seems like DynamicInput and DynamicOutput abstract classes are defined in the latest API, but none of it is exported. (No implementations of the output class exist and the two for the input class are not exported. Is there any plans to make the available in the near future?
Thank you for your hard work on the project!