Provider (requested_service) | Atoms |
---|---|
Azure | 500 |
500 | |
ApyHub | 2000 |
https://api.apyhub.com/ai/image/detect/object/file
Provider (requested_service) | Atoms |
---|---|
Azure | 500 |
500 | |
ApyHub | 2000 |
POST
multipart/form-data
Attribute | Type | Mandatory | Description |
---|---|---|---|
file | file | Yes | the source image file. |
requested_service | String | Yes | the name of service provider. Supported providers are azure , google and apyhub . Defaults to apyhub . |
azure_key | String | Yes (if azure is selected in requested_service) | Input service key provided by azure. |
azure_endpoint | String | Yes (if azure is selected in requested_service) | Enter the endpoint provided by azure. |
google_key | String | Yes (if google is selected in requested_service) | Input service key provided by google. |
requested_service | Support matrix and limitations |
---|---|
Apyhub | * Supported formats are JPEG , PNG , GIF , BMP . * Image files size should not exceed 4 MB. * The dimensions of the image must be between 50 x 50 and 10,000 x 10,000 pixels. |
* Supported formats are JPEG , PNG8 , PNG24 , GIF , Animated GIF (first frame only) , BMP , WEBP , RAW , ICO , PDF , TIFF . * Image files size should not exceed 20MB. | |
Azure | * Supported formats are JPEG , PNG , GIF , BMP . * Image files size should not exceed 4 MB. * The dimensions of the image must be between 50 x 50 and 10,000 x 10,000 pixels. |
Status Code | Description |
---|---|
200 | The request was successful. |
400 | Invalid input - the file is corrupt or the supported inputs are not provided. |
401 | Required authentication information is either missing or not valid for the resource. |
500 | If any unexpected error occurs while processing the request. |
tokens
or basic authentication
mechanisms.
You can generate and view your existing credentials from your workspace settings (on the left side of the navbar) and go to “API Keys".apy-token
as the header parameter to pass the token.Authorization
header to send the basic authentication credentials.