Nodes/AspectRatioAdvanced/🧘 AspectRatio (Dehypnotic)
ComfyUI Node

🧘 AspectRatio (Dehypnotic)

In Presets, you can double-click the 3 smaller preset-buttons to set your own presets. Attach an image to use it as a reference for custom ratio or 'dims' (short for dimensions, of course). You can also VAE encode the image for use in i2i or similar workflows. Switch for it in Processing together with another for image scaling. The snap value is the nearest multiple of the value to which the width and height will be rounded.

By DehypnoticΒ·Created 12 months agoΒ·Updated 22 days agoΒ· 5
🧘 AspectRatio (Dehypnotic)
  • image
  • vae
  • width
  • height
  • latent
  • scaled_image
CategoryDehypnotic/πŸ“ Aspect Ratio

Inputs (2)

NameTypeDefaultDescription
imageoptIMAGEβ€”
vaeoptVAEβ€”

Outputs (4)

NameTypeDescription
widthINTβ€”
heightINTβ€”
latentLATENTβ€”
scaled_imageIMAGEβ€”