Files
myshell-ai-ComfyUI-ShellAge…/comfy-nodes
Arxchibobo 0b6fe8a052 feat: add Input Image Array node for array-structured image inputs
Adds ShellAgentPluginInputImageArray node that accepts a ShellAgent-
compliant array of images and unpacks it into a batch tensor, an
image list, and an auto-detected count.

Schema (matches the pattern used by output_image and input_audio):
  {"type": "array", "items": {"type": "string", "url_type": "image"}}

Inputs
  - input_name, default_value (JSON array / object array / {items:[]} /
    {images:[]} / newline-separated)
  - Each item: HTTP(S) URL, base64 data URI, absolute path, or filename
    relative to ComfyUI input dir
  - resize_mode: resize_to_first | pad_to_first | none_keep_list_only
  - min_items / max_items (propagated to ShellAgent schema)

Outputs
  - images_batch (IMAGE, [N,H,W,C])
  - masks_batch  (MASK,  [N,H,W])
  - images_list  (IMAGE, OUTPUT_IS_LIST, preserves original sizes)
  - count        (INT, auto-computed from len(items))

Covered by 12 E2E tests (JSON/object/wrapped/newline/base64/local-file
inputs, empty fallback, schema validation, all three resize modes).
2026-04-20 05:03:22 +00:00
..
2024-11-03 22:38:56 +08:00