About this endpoint
What it does
Uploads an image file and runs common visual object detection against the selected service. The response returns a JSON object with a data object containing service-specific result objects for azure, apyhub, and google.
Request Body
| Parameter | Type | Description |
|---|---|---|
| file | Binary | Binary image file to analyze. |
| azure_key | String | Azure key. |
| google_key | String | Google key. |
| azure_region | String | Azure region. |
| azure_endpoint | String | Azure endpoint URL. |
| azure_account_id | String | Azure account ID. |
| requested_service | ENUM | Service to use for detection. Allowed values: azure, google, apyhub. Default: apyhub. |
| azure_access_token | String | Azure access token. |
Response
Returns a JSON object with a data object field. The data object may include azure, apyhub, and google object fields, each representing the corresponding service's response object.
| Parameter | Type | Description |
|---|---|---|
| data | Object | Container for service-specific detection results. |
| data.azure | Object | Response object from Microsoft Azure Computer Vision. |
| data.apyhub | Object | Response object from ApyHub Vision detector. |
| data.google | Object | Response object from Google Cloud Vision. |



