About this endpoint
What it does
Detects shot changes in a video fetched from a URL and returns the result in a JSON object. The request body lets you choose the processing service with requested_service and provide the URL plus any service-specific credentials needed for that route.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | Video URL to process. Must be a URI. |
| azure | Object | No | Azure-specific credentials and settings for the Azure route. |
| 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-specific settings for the Google route. | |
| 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 | Processing service to use. 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; each is present when the corresponding requested_service was used.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | Yes | Response wrapper containing service-specific results. |
| 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. |