This is a simple, lightweight ComfyUI resolution and aspect ratio control node that hardly requires any dependency fuss.
https://github.com/SamLiu1000/ComfyUI_Resolution-and-Ratio
git clone https://github.com/SamLiu1000/ComfyUI_Resolution-and-Ratio
comfy node install ComfyUI_Resolution-and-Ratio