Fundamentals
Multicloud / Geofence
API Examples
API Specification
SDKs / Codegen
Batch Processing
Best Practice
Error Codes
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
image-url | yes | string | The URL or Base64 encoded Data URL for the source image. You can also upload an image file directly using multipart/form-data | |
watermark-url | yes | string | The URL or Base64 encoded Data URL for the watermark image. You can also upload an image file directly using multipart/form-data | |
opacity | no | integer | 50 | The opacity of the watermark (0 to 100) |
format | no | string | png | The output image format, can be either png or jpg |
position | no | string | center | The position of the watermark image, possible values are: center, top-left, top-center, top-right, bottom-left, bottom-center, bottom-right |
width | no | integer | If set resize the resulting image to this width (in px) | |
height | no | integer | If set resize the resulting image to this height (in px) | |
resize-mode | no | string | scale | The resize mode to use, we support 3 main resizing modes:
|
bg-color | no | string | transparent | The image background color in hexadecimal notation (e.g. #0000ff). For PNG output the special value of 'transparent' can also be used. For JPG output the default is black (#000000) |
Characteristic | Value | Description |
---|---|---|
Avg Latency | 80ms | Average RTT for requests within the same data center/region |
Max Rate | 6/second | Maximum inbound request rate. Exceeding this will result in request throttling |
Max Concurrency | 50 | Maximum concurrent/simultaneous requests. Exceeding this will result in error code 06 [TOO MANY CONNECTIONS] |