This endpoint indentifies the subject of the input file and automatically crops the image to keep the subject in the center. To check the status of this process, utilize the Get Status
endpoint.
Authorization required | string Bearer: ${Authorization Token} |
x-api-key required | string API key/client id |
Content-Type required | string application/json |
x-gw-ims-org-id | string IMS organization ID. This needs to be sent only if it is desirable to receive the job status through Adobe I/O Events. |
required | Array of objects (input_objects_max_1) <= 1 items An object describing an input file. Currently supported filetypes include: |
required | object |
required | Array of objects (output_objects) [ 1 .. 25 ] items An array of hashes describing the output files. Output file format can be any of |
Successful operation
Bad Request
Trial Limit Exceeded
Unauthorized
Not Found
File Overwrite Error
Asset Link Invalid
Internal Server Error
{- "inputs": [
- {
- "storage": "external",
- "href": "presignedURL"
}
], - "options": {
- "unit": "Pixels",
- "width": 0,
- "height": 0
}, - "outputs": [
- {
- "storage": "string",
- "href": "string",
- "type": "string",
- "overwrite": true,
- "compression": "small",
- "quality": 0
}
]
}
{
}