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
templateId
is set, keeps the size of the templateif
templateId
isn't set, behaves likeoriginalImage
{width}x{height}
sets a custom size (example:1920x1080
)originalImage
keeps the dimensions of the input imagecroppedSubject
uses the dimensions of the cutout subject
PreviousHow to edit the result of an API call in the Photoroom Web AppNextKeep existing transparency
Last updated
Was this helpful?