Skip to main content
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 images through a VAE encoder to generate latent representations for Stable Cascade models. It takes an input image and compresses it using the specified VAE model, then outputs two latent representations: one for stage C and a placeholder for stage B. The compression parameter controls how much the image is scaled down before encoding.

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 (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 zeros)