About this endpoint
What it does
Detects logos and brands from an image URL. You send the image url and optional provider-specific credentials or provider selection, and the response returns a JSON object containing brand-detection results under data.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | Image URL to analyze. Format: URI. |
| azure | Object | No | Custom credentials for Azure services. Includes optional fields key, region, endpoint, account_id, and access_token. |
| azure.key | String | No | Azure subscription key. |
| azure.region | String | No | Azure service region. |
| azure.endpoint | String | No | Azure endpoint URL. |
| azure.account_id | String | No | Azure account ID. |
| azure.access_token | String | No | OAuth access token for Azure service. |
| Object | No | Custom credentials for Google services. Includes optional google_language and google_credential_json. | |
| google.google_language | String | No | Target language locale. |
| google.google_credential_json | Object | No | Google service account credential JSON. See schema for nested fields. |
| requested_service | ENUM | No | Provider to use. Allowed values: azure, google, apyhub. Default: apyhub. |
Response
Returns a JSON object with a data object field. The data object can contain azure, apyhub, and google objects with provider-specific brand-detection results.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | No | Response container. |
| data.azure | Object | No | Response object from Microsoft Azure Computer Vision. |
| data.apyhub | Object | No | Response object from ApyHub Vision detector. |
| data.google | Object | No | Response object from Google Cloud Vision. |