toolzerhub API Docs

Transcribe a media file

Transcribes one video or audio URL and returns the text, per-segment and per-word timestamps, and the detected language. A creative with no speech returns an empty transcript with has_audio: false rather than an error.

5 credits / requestBilled only on success
POST
/v1/media/transcribe

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

curl -X POST "https://example.com/v1/media/transcribe" \  -H "x-api-key: YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "url": "https://video.example.com/creative.mp4"  }'
{  "data": {    "language": "string",    "language_probability": 0,    "duration": 0,    "has_audio": true,    "text": "string",    "segments": [      {        "id": 0,        "start": 0,        "end": 0,        "text": "string",        "no_speech_prob": 0,        "avg_logprob": 0      }    ],    "words": [      {        "word": "string",        "start": 0,        "end": 0,        "probability": 0      }    ],    "model": "string",    "media": {      "bytes": 0,      "content_type": "string",      "container": "string",      "width": 0,      "height": 0,      "has_audio": true,      "has_video": true    },    "timing": {      "total_seconds": 0,      "compute_seconds": 0    },    "limits": {      "max_duration_s": 0,      "max_bytes": 0    }  }}