Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Variable length node inputs #18

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

RFC: Variable length node inputs #18

wants to merge 2 commits into from

Conversation

huchenlei
Copy link
Member

@huchenlei huchenlei commented Jan 16, 2025

Summary

This RFC proposes adding support for variable-length inputs in ComfyUI nodes, allowing a single node to accept a dynamic number of inputs. The feature introduces a new var_length input type configuration that enables nodes to handle multiple inputs through either socket connections or widget inputs, with configurable minimum and maximum input counts. This eliminates the need for multiple fixed-input node variants or chained node connections, resulting in cleaner workflows and more maintainable code.

Links


Important: Do NOT comment on this PR. Please use the discussion thread linked above to provide feedback, as it provides branched discussions that are easier to follow. This also makes the edit history of the PR clearer.

@github-actions github-actions bot added pending When the RFC is still in comments phase rfc labels Jan 16, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pending When the RFC is still in comments phase rfc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant