About this endpoint
What it does
Detects text in a video fetched from a URL. You send the video url and choose the OCR provider with requested_service; the response returns a JSON object containing a data object with provider-specific results.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | The video URL to process. Must be a URI. |
| azure | Object | No | Azure-specific configuration for the request. |
| 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 configuration for the request. | |
| 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 | OCR provider to use. Allowed values: azure, google. |
Response
Returns a JSON object with a required data object field. The data object may contain an azure object when requested_service is azure, or a google object when requested_service is google.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | Yes | Wrapper for the provider-specific result. |
| data.azure | Object | No | Present when requested_service is azure. |
| data.google | Object | No | Present when requested_service is google. |