API Reference
request and response description
Image edit contract
Below you can see all possible options for the request body. See the Image Operations and Image I/O sections to learn more about image operations.
Request
Request headers:
In order to send a request, you should set Content-Type
header to let our system know that you providing a valid json payload and Authorization
header with a generated API key to identify yourself as a Claid user.
Read a response
Once you have made the request to https://api.claid.ai/v1-beta1/image/edit
you will get a response with information about input and output images.
Image information shown in the response:
Parameter | Type | Description |
---|---|---|
ext | string | File extension. Can have values: |
mps | integer | Megapixel count |
mime | string | MIME type (also known as ‘media type’) |
width | integer | Image width in pixels |
height | integer | Image height in pixels |
format | string | File format. Can have values: |
tmp_url | string | Temporary URL of a processed image.* |
Response body
Response headers:
Rate limit headers will help you to understand what number of requests you are able to send according to the current limits on your account:
Request Id header allows to track your request during image edit processing, so we are able to help you with troubleshooting and profiling your request if needed.
Last updated