Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.comfy.org/llms.txt

Use this file to discover all available pages before exploring further.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
The EmptyHunyuanImageLatent node creates an empty latent tensor with specific dimensions for use with Hunyuan image generation models. It generates a blank starting point that can be processed through subsequent nodes in the workflow. The node allows you to specify the width, height, and batch size of the latent space.

Inputs

ParameterData TypeRequiredRangeDescription
widthINTYes64 to MAX_RESOLUTIONThe width of the generated latent image in pixels (default: 2048, step: 32)
heightINTYes64 to MAX_RESOLUTIONThe height of the generated latent image in pixels (default: 2048, step: 32)
batch_sizeINTYes1 to 4096The number of latent samples to generate in a batch (default: 1)

Outputs

Output NameData TypeDescription
LATENTLATENTAn empty latent tensor with the specified dimensions for Hunyuan image processing