Nodes/ComfyUI-OneForOne/Image Fit Calculator
ComfyUI Node

Image Fit Calculator

A ComfyUI node in OneForOne with 6 inputs and 6 outputs.

By Meettya·Created 2 years ago·Updated 3 months ago· 2
Image Fit Calculator
  • latent
  • image
  • IMAGE_WIDTH
  • IMAGE_HEIGHT
  • PAD_TOP
  • PAD_RIGHT
  • PAD_BOTTOM
  • PAD_LEFT
latent_scaleSD, Qwen (8x)
width_position0.50
height_position0.50
scale1.00
CategoryOneForOne

Inputs (6)

NameTypeDefaultDescription
latentLATENT
imageIMAGE
latent_scaleCOMBOSD, Qwen (8x)2 options: SD, Qwen (8x), Flux2 (16x)
width_positionoptFLOAT0.500–1
height_positionoptFLOAT0.500–1
scaleoptFLOAT1.000.1–1

Outputs (6)

NameTypeDescription
IMAGE_WIDTHINT
IMAGE_HEIGHTINT
PAD_TOPINT
PAD_RIGHTINT
PAD_BOTTOMINT
PAD_LEFTINT