ComfyUI Node
Latent Packed Slot Transform
A ComfyUI node in latent/channel with 8 inputs and 1 output.
Latent Packed Slot Transform
- latent
- mask
- latent
◄operation▾►
◄patch_size2►
◄base_channels0►
◄seed0►
◄mix1.00►
◄match_statsfalse►
Categorylatent/channel
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| latent | LATENT | Packed latent to transform per space-to-depth slot. | |
| operation | COMBO | Slot-space operation to apply. | |
| patch_size | INT | 21–8 | Patch size used in the packed latent (P for PxP). |
| base_channels | INT | 00–4096 | Base channels before packing. 0 infers from the latent. |
| seed | INT | 00–18446744073709550000 | Seed for deterministic slot shuffles. |
| mix | FLOAT | 1.000–1 | Blend factor for the transformed slots (0=off, 1=full). |
| match_stats | BOOLEAN | false | Match per-channel mean/std after the transform (stabilizes latent stats). |
| maskopt | MASK | Optional mask to limit the transform to masked areas. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| latent | LATENT | — |