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 StableCascade_StageC_VAEEncode node processes an input image through a VAE encoder to generate latent representations for the Stable Cascade model. It first resizes the image based on a compression factor and the VAE’s downscale ratio, then encodes the resized image. The node outputs two latent tensors: one for stage C (the actual encoded result) and one for stage B (a zero-filled placeholder).

Inputs

ParameterData TypeRequiredRangeDescription
imageIMAGEYes-The input image to be encoded into latent space
vaeVAEYes-The VAE model used for encoding the image
compressionINTNo4-128The compression factor applied to the image before encoding. The image dimensions are divided by this value, then multiplied by the VAE’s downscale ratio. (default: 42)

Outputs

Output NameData TypeDescription
stage_cLATENTThe encoded latent representation for stage C of the Stable Cascade model
stage_bLATENTA placeholder latent representation for stage B. Currently returns a zero-filled tensor with dimensions calculated from the input image size.

Source fingerprint (SHA-256): 6ebdd035349744bc76ab294f16504672d3e79883fccc86d6ea057b4b15faef05