SCAIL-2 Reference Pack
Multiple characters in one SCAIL-2 pass? This node is the input tray
- subject_1_image
- subject_2_image
- subject_3_image
- subject_4_image
- subject_5_image
- subject_6_image
- reference_1
- reference_2
- reference_3
- reference_4
- reference_5
- scene_image
- subject_1_image_1
- subject_1_image_2
- subject_1_image_3
- subject_1_image_4
- subject_1_image_5
- subject_1_image_6
- subject_2_image_1
- subject_2_image_2
- subject_2_image_3
- subject_2_image_4
- subject_2_image_5
- subject_2_image_6
- subject_3_image_1
- subject_3_image_2
- subject_3_image_3
- subject_3_image_4
- subject_3_image_5
- subject_3_image_6
- subject_4_image_1
- subject_4_image_2
- subject_4_image_3
- subject_4_image_4
- subject_4_image_5
- subject_4_image_6
- subject_5_image_1
- subject_5_image_2
- subject_5_image_3
- subject_5_image_4
- subject_5_image_5
- subject_5_image_6
- subject_6_image_1
- subject_6_image_2
- subject_6_image_3
- subject_6_image_4
- subject_6_image_5
- subject_6_image_6
- reference_pack
SCAIL-2's zero-shot multi-reference is one of the reasons it displaced Wan Animate: no skeleton, no per-character LoRA, just reference images and a driving video, and it can handle several characters in one pass. But "several reference images" turns into a pile of inputs fast, and that's the entire job of SCAIL2ReferencePack. It's the organizer node - it collects your references, arranges them, and hands the model a single tidy package.
You almost never use this node alone. Its one output, reference_pack, plugs straight into SCAIL2SimpleVideo's reference_image socket (that socket accepts either a plain IMAGE or this pack type). The whole thing is optional: single-reference users can skip it and just wire a LoadImage directly. Reach for it when you want more than one subject, or one subject with multiple views.
How it works
The interesting part is what it does with multi-subject packs. It doesn't just bundle images - for multiple subjects it stitches each subject's main image into one primary reference collage, so SCAIL-2 sees all the characters in a single reference frame. That's the "pack" in the name, and it's the bit that would otherwise be fiddly hand-assembly on your end. Extra reference images are passed along separately to provide angles, clothing detail, or story frames, and scene_image optionally guides the background in animation mode.
Internally it builds a versioned reference-pack object (the source calls it version 3) with a subject count, and it only counts subjects that actually have an image connected. Set subject_count higher than the images you wired and it quietly uses what's there.
The inputs that matter
Only two inputs are required, and they're both just counters:
subject_count- 1 to 6. How many characters you're working with.reference_count- 0 to 5. Extra reference images beyond the main ones.
Everything else is optional sockets that appear as you need them: subject_1_image through subject_6_image (one clear, full-body main image per character), reference_1 through reference_5, and scene_image. There's also a set of legacy subject_N_image_M inputs for backward compatibility with the pack's earlier layout - ignore them unless you're opening an old workflow.
Outputs
reference_pack- aSCAIL2_REFERENCE_PACKobject. Wire it intoSCAIL2SimpleVideo.reference_image, or intoSCAIL-2 Reference SAM Builderfirst if you're doing the multi-reference workflow properly.
A tip from the README
Order matters. The author suggests making subject 1, 2, 3 correspond to the order the target people appear in the driving video - correspondence stays more stable that way. And start with few images: clear, complete main images beat a pile of noisy angles. The bundled 2. SCAIL2_multi_ref.json workflow shows the whole chain.
Installing and gotchas
It's part of ComfyUI-SCAIL2-Easy, so install the pack once:
cd ComfyUI/custom_nodes
git clone https://github.com/jieg9341-lab/ComfyUI-SCAIL2-Easy
or find it in ComfyUI Manager, then restart. This node itself needs nothing beyond the pack's own light dependencies - no model download, no extra packs. The gotchas live downstream: multi-subject packs require SAM3_VideoTrack driving track data feeding SCAIL2SimpleVideo, and if that track data doesn't contain enough objects the generation node will error with a message telling you to raise max_objects. That's a SAM3_VideoTrack setting, not this node's fault, but it's where people blame the wrong node first.
Inputs (50)
| Name | Type | Default | Description |
|---|---|---|---|
| subject_count | INT | 11–6 | — |
| reference_count | INT | 00–5 | — |
| subject_1_imageopt | IMAGE | — | |
| subject_2_imageopt | IMAGE | — | |
| subject_3_imageopt | IMAGE | — | |
| subject_4_imageopt | IMAGE | — | |
| subject_5_imageopt | IMAGE | — | |
| subject_6_imageopt | IMAGE | — | |
| reference_1opt | IMAGE | — | |
| reference_2opt | IMAGE | — | |
| reference_3opt | IMAGE | — | |
| reference_4opt | IMAGE | — | |
| reference_5opt | IMAGE | — | |
| scene_imageopt | IMAGE | — | |
| subject_1_image_1opt | IMAGE | — | |
| subject_1_image_2opt | IMAGE | — | |
| subject_1_image_3opt | IMAGE | — | |
| subject_1_image_4opt | IMAGE | — | |
| subject_1_image_5opt | IMAGE | — | |
| subject_1_image_6opt | IMAGE | — | |
| subject_2_image_1opt | IMAGE | — | |
| subject_2_image_2opt | IMAGE | — | |
| subject_2_image_3opt | IMAGE | — | |
| subject_2_image_4opt | IMAGE | — | |
| subject_2_image_5opt | IMAGE | — | |
| subject_2_image_6opt | IMAGE | — | |
| subject_3_image_1opt | IMAGE | — | |
| subject_3_image_2opt | IMAGE | — | |
| subject_3_image_3opt | IMAGE | — | |
| subject_3_image_4opt | IMAGE | — | |
| subject_3_image_5opt | IMAGE | — | |
| subject_3_image_6opt | IMAGE | — | |
| subject_4_image_1opt | IMAGE | — | |
| subject_4_image_2opt | IMAGE | — | |
| subject_4_image_3opt | IMAGE | — | |
| subject_4_image_4opt | IMAGE | — | |
| subject_4_image_5opt | IMAGE | — | |
| subject_4_image_6opt | IMAGE | — | |
| subject_5_image_1opt | IMAGE | — | |
| subject_5_image_2opt | IMAGE | — | |
| subject_5_image_3opt | IMAGE | — | |
| subject_5_image_4opt | IMAGE | — | |
| subject_5_image_5opt | IMAGE | — | |
| subject_5_image_6opt | IMAGE | — | |
| subject_6_image_1opt | IMAGE | — | |
| subject_6_image_2opt | IMAGE | — | |
| subject_6_image_3opt | IMAGE | — | |
| subject_6_image_4opt | IMAGE | — | |
| subject_6_image_5opt | IMAGE | — | |
| subject_6_image_6opt | IMAGE | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| reference_pack | SCAIL2_REFERENCE_PACK | — |