Get API Key

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
}

Transformations API

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 \
...
Back to API