ComfyUI Node

VAE Encode

A ComfyUI node in nifty/latent with 3 inputs and 2 outputs.

By Stibo·Created 5 months ago·Updated 2 months ago· 7
VAE Encode
  • pixels
  • vae
  • LATENT
  • IMAGE
target_latents0
Categorynifty/latent

Inputs (3)

NameTypeDefaultDescription
pixelsIMAGEImage frames to encode into latent space.
vaeVAEVAE model to use for encoding.
target_latentsINT0-4096–40960 = encode all frames. Positive = encode only the first N latents worth of frames. Negative = encode only the last N latents worth of frames. The temporal compression factor is detected automatically.

Outputs (2)

NameTypeDescription
LATENTLATENT
IMAGEIMAGE