About this endpoint
What it does
Detects text in a video provided by URL. You send the video URL and choose which OCR service to use, and the response returns a JSON object containing a data object with service-specific results.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | Video URL to analyze. Must be a URI. |
| azure | Object | No | Azure-specific configuration 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 configuration 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 | Service to use. Allowed values: azure, google. |
Response
Returns a JSON object with a 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 | Result wrapper object. May contain azure or google depending on requested_service. |