latent
batch
Latent Batch

Latent Batch

comfyUI节点-LatentBatch|Latent组合批次

Documentation

  • Class name: LatentBatch
  • Category: latent/batch
  • Output node: False

The LatentBatch node is designed to merge two sets of latent samples into a single batch, potentially resizing one set to match the dimensions of the other before concatenation. This operation facilitates the combination of different latent representations for further processing or generation tasks.

Input types

ParameterComfy dtypeDescription
samples1LATENTThe first set of latent samples to be merged. It plays a crucial role in determining the final shape of the merged batch.
samples2LATENTThe second set of latent samples to be merged. If its dimensions differ from the first set, it is resized to ensure compatibility before merging.

Output types

ParameterComfy dtypeDescription
latentLATENTThe merged set of latent samples, now combined into a single batch for further processing.