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 | Description |
|---|---|---|
| url | String | The video URL to process. Must be a URI. |
| azure | Object | Azure-specific configuration for the request. |
| azure.region | String | Azure region. |
| azure.account_id | String | Azure account ID. |
| azure.access_token | String | Azure access token. |
| Object | Google-specific configuration for the request. | |
| google.google_language | String | Google language code. |
| google.google_credential_json | Object | Google Cloud service account JSON required for Google video routes; see schema for nested fields. |
| requested_service | ENUM | 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 | Description |
|---|---|---|
| data | Object | Wrapper for the provider-specific result. |
| data.azure | Object | Present when requested_service is azure. |
| data.google | Object | Present when requested_service is google. |



