Nodes Browser

ComfyDeploy: How optimal-crop-resolution works in ComfyUI?

What is optimal-crop-resolution?

ComfyUI node to calculate optimal resolution to crop the image to (from a list of aspect ratios)

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for optimal-crop-resolution and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

optimal-crop-resolution

ComfyUI node to calculate optimal resolution to crop the image to (from a list of aspect ratios)