API: Soft-expand
Expands an image by warping the sides of the image.
Request
POST /backend/soft-expand
Account: demo
{ "bottom": 100, "input": "eff23c2eccefddd7a782...", "left": 100, "right": 100, "slope": 0.3, "top": 100 }
| input | The input image ID. |
| left, top, right, bottom | The amount of pixels to add. |
| slope | A value between 0.2 and 0.6. Larger values use a larger border and result in a more graceful expansion. |
Response
200 OK
{"token": "a1b002..."}
| token | The resulting image. |