Aspect Ratio for 2step Latent Sample

AspectRatio2StepLatent

Calculate width and height for 2-step latent sampling based on aspect ratio and base resolution. All outputs are divisible by 16.

Pack: AAA Metadata System

custom_nodes.AAA_Metadata_System

Inputs (3)

NameTypeRequired
base_resolutionCOMBOrequired
aspect_ratioCOMBOrequired
imageIMAGEoptional

Outputs (4)

NameType
widthINT
heightINT
ratio_stringSTRING
ratio_floatFLOAT