Request body
sourceUrl— HTTPS or signed URL to the video (MP4, MOV, MKV, etc.). Required iffileis not provided.file— Optional uploaded video file viamultipart/form-data.sourceName— Optional label saved with the transcript.options— Optional object. Supported keys:transcriptionModel— Preferred transcription backend (whisper-large-v3, etc.).captureFrames— Boolean; capture representative frames and OCR them (defaultfalse).frameIntervalSeconds— Interval for frame capture whencaptureFramesistrue(default30).segmentLength— Target characters per chunk (default900).language— ISO language hint.
webhookUrl— Optional HTTPS URL Horizon should call when the extraction finishes.
Sample request
Response
Returns202 Accepted with jobId, status, statusUrl, and estimated completion time. Finished jobs include transcript chunks, timestamps, and optional OCR snippets from captured frames.
Notes
- Large videos process asynchronously; monitor
statusUrlor subscribe to job webhooks. - Frame capture increases runtime—enable it when deck overlays or screen text matter.
- Provide language hints for multilingual audio.
- Poll
GET /jobs/{jobId}(same as thestatusUrl) to observe progress or fetch the final transcript bundle later. - To upload the video directly, send
multipart/form-datawith afilefield instead ofsourceUrl.
x402 flow
Video extraction is billed via Coinbase’s x402 protocol. When payment is required, you receive:accepts payload to your facilitator, complete /verify and /settle, and retry the request with the Base64 token in X-PAYMENT. Horizon continues the job and returns settlement details in X-PAYMENT-RESPONSE.Body
application/json
Provide either sourceUrl or file.
Extraction hints such as language, segmentLength, transcriptionModel, or sheet preferences depending on the endpoint.
Webhook to call when the extraction completes.
Upload the raw file instead of providing sourceUrl.
Response
Extraction job accepted
Example:
"job_01hx9q9"
Available options:
queued, processing, completed, failed Canonical link to GET /jobs/{jobId} for this job.
Example:
"extract/pdf"
Present when the job completes synchronously.
Estimated seconds until completion.