ComfyUI Node
Image Batch to Latent
A ComfyUI node in latent/debug with 4 inputs and 1 output.
Image Batch to Latent
- image_batch
- latent
◄batch_size0►
◄channels0►
◄channel_sourcer►
Categorylatent/debug
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| image_batch | IMAGE | Batch of images representing latent channels. | |
| batch_size | INT | 00–4096 | Original latent batch size (0 to infer from channels). |
| channels | INT | 00–4096 | Channel count per latent sample (0 to infer from batch_size). |
| channel_source | COMBO | r | Which channel to use from RGB inputs (mean averages channels). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| latent | LATENT | — |