About this endpoint
What it does
Submits a video URL for brand detection and routes the request to either the Azure or Google service specified in the body. The response returns a JSON object with a data object that contains the service-specific result under azure or google.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | Video URL to analyze. Must be a URI. |
| azure | Object | No | Azure credentials/configuration used when requested_service is azure. |
| azure.region | String | No | Azure region. |
| azure.account_id | String | No | Azure account ID. |
| azure.access_token | String | No | Azure access token. |
| Object | No | Google credentials/configuration used when requested_service is google. | |
| google.google_language | String | No | Google language code. |
| google.google_credential_json | Object | No | Google Cloud service account JSON (required for Google video routes). See schema for nested fields. |
| requested_service | ENUM | Yes | Service to use for brand detection. Allowed values: azure, google. |
Response
Returns a JSON object with a required data object field. Inside data, the schema defines optional azure and google object fields; the service-specific field is present when the corresponding requested_service was used.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | Yes | Response wrapper containing the service-specific result. |
| data.azure | Object | No | Present when requested_service is azure. Additional properties are allowed. |
| data.google | Object | No | Present when requested_service is google. Additional properties are allowed. |