Transcribe audio

Whisper / Deepgram / Parakeet. Accepts either a multipart file upload OR a JSON body with file_url. Long files (over 5 minutes) auto-route to the async job system; the response includes a job_id instead of inline text.

Authentication

AuthorizationBearer

Pass your EmpirioLabs API key as a bearer token. The Anthropic-style x-api-key header is also accepted on every endpoint.

Request

This endpoint expects a multipart form containing a file.
modelstringRequired
filefileRequired
response_formatenumOptionalDefaults to json
Allowed values:
timestamp_granularitiesstringOptional
languagestringOptional
translatebooleanOptionalDefaults to false

Response

Transcript (or job_id for long files).

object
OR
JobAcceptedobject