About this endpoint
What it does
Uploads a video file and runs label detection using the requested provider. The response returns a JSON object with a data object that may contain an azure result object or a google result object, depending on requested_service.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | Video file to analyze. |
| azure_region | String | No | Azure region to use. Example: trial. |
| azure_account_id | String | No | Azure account identifier. |
| requested_service | ENUM | Yes | Provider to use: azure or google. |
| azure_access_token | String | No | Azure access token. |
| google_credential_file | String | No | Service account JSON for Google routes. Binary file upload. |
Response
Returns a JSON object with a required data object field. Inside data, the response may include an azure object when requested_service is azure, or a google object when requested_service is google; both are free-form objects with additional properties.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | Yes | Response wrapper object. |
| data.azure | Object | No | Present when requested_service is azure. Free-form object with additional properties. |
| data.google | Object | No | Present when requested_service is google. Free-form object with additional properties. |