Output Size
The Image Editing API gives you control over the size of the result image.
For this, set the parameter outputSize with one of the following values:
auto(default)if
templateIdis set, keeps the size of the templateif
templateIdisn't set, behaves likeoriginalImage
{width}x{height}sets a custom size (example:1920x1080)originalImagekeeps the dimensions of the input imagecroppedSubjectuses the dimensions of the cutout subject
Last updated
Was this helpful?