Tool to control how an image fits target dimensions after resizing. Use when specifying width, height, and fit behavior.
hOutput height in pixels (1-8192) or ratio (0.0-1.0) of source height
wRequiredOutput width in pixels (1-8192) or ratio (0.0-1.0) of source width
fitRequiredstringSpecifies how to fit the image within the target dimensions. One of: clamp, clip, crop, facearea, fill, fillmax, max, min, scale.
facepadnumberPadding around detected faces as fraction of face bounding box when fit='facearea'
faceindexintegerSelect which detected face to prioritize when fit='facearea'
image_pathRequiredstringPath to the image within the source, e.g., 'images/photo.jpg' (omit leading slash)
source_domainRequiredstringImgix source domain (hostname), e.g., 'example-source.imgix.net' (exclude protocol)
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.