Normal return
{
"code": 0,
"data": {
"imageBase64: "iVBORw0KGgo..." //base64 encoded of the image
},
"msg": null,
"time": 1590462453264
}
Error
{
"code": 1001, //
"data": null
"msg": 'Insufficient balance',
"time": 1590462453264
}
API documentation
All endpoints
Frames and borders
Add sticker
Text overlay
Dimensions
Adjusments
Filters
BlendColor filter
HueRotate filter
Polaroid filter
RemoveColor filter
Vibrance filter
Misc
Returning JSON
curl -d "key=<XXX>" -d 'outType=JSON' -d \
...
Returning Download
curl -d "key=<XXX>" -d 'outType=Download' -d \
...
Returning Blob
curl -d "key=<XXX>" -d 'outType=Blob' \
...
Returning Base64
curl -d "key=<XXX>" -d 'outType=Base64' -d \
...
Returning PNG Image
curl -d "key=<XXX>" -d 'outType=Image' -d \
...