Flip an image.
POST/image/flip
Flip an image.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
urlstring
The image URL
bufferstring
The image as a Base64-encoded buffer. Can be specified instead of url
.
axisstringrequired
The axis the image will be flipped about.
Possible values: [X
, x
, Y
, y
]
getAsUrlboolean
Whether the result image should be returned as a URL. Default is false
.
fileNamestring
The file name of the result image. Default is a random ID.
Responses
- 200
- 400
Success
- application/json
- application/octet-stream
- Schema
- Example (auto)
Schema
urlstringrequired
The result image URL.
{
"url": "string"
}
- Schema
Schema
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}