ComfyUI Node
🪐 VACE First/Middle/Last (Experimental)
Builds a VACE control video and mask from optional first, middle, and last frame batches. Known frames are placed at their positions with mask=0; remaining frames are gray placeholders with mask=1 for generation.
🪐 VACE First/Middle/Last (Experimental)
- first
- middle
- last
- control_video
- control_mask
- width
- height
- length
◄width832►
◄height480►
◄length81►
◄middle_position0.50►
CategoryWan VACE Prep/VACE
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| width | INT | 83216–16384 | — |
| height | INT | 48016–16384 | — |
| length | INT | 811–16384 | Total frame count. Must follow the 4n+1 pattern (1, 5, 9, ..., 81, ...). |
| middle_position | FLOAT | 0.500–1 | Where middle frames are centered in the video, as a fraction of total length. |
| firstopt | IMAGE | — | |
| middleopt | IMAGE | — | |
| lastopt | IMAGE | — |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| control_video | IMAGE | — |
| control_mask | MASK | — |
| width | INT | — |
| height | INT | — |
| length | INT | — |