API: Intelligent crop

Applies the croppola algorithm to find the most interesting part of an image.

Request
POST /backend/croppola
Account: demo
{
  "height": 800, 
  "input": "eff23c2eccefddd7a782...", 
  "width": 1000
}
input The token of the image to process.
width The desired width of the crop.
height The desired height of the crop.
Response
200 OK
{
  "crop": {"height": 800, "width": 1000, "x": 80, "y": 140}
}
crop The best crop rectangle (x, y, width, height).