/transcribeSynchronously transcribe an audio file.
Transcribe Audio
Uploads an audio file via multipart/form-data and returns the transcription synchronously. The request body is capped at 25 MiB and the audio at 5 minutes; larger or longer uploads return 413, and the async endpoints take recordings of up to 4 hours. Empty files return 400. Calls are metered against your account and deducted from credits when transcription completes successfully.
Request body
9filebinaryrequiredAudio file uploaded as
multipart/form-data. Accepted formats: WAV, FLAC, Ogg/Opus, WebM/MKA, M4A/AAC/ALAC, MOV, MP3, AMR, 3GP, AIFF, CAF, WMA, AU, raw AAC. Maximum 25 MiB and 5 minutes. Other file types are rejected.languagestringoptionalThe language spoken: by name (
english,french,nigerian_pidgin), or as an ISO 639 code (en,fr), regional tag (fr-CA) or ASR token (fra_Latn), up to 50 characters. Omit it, or sendauto, to let the model detect the language. A hint that is no language (klingon,xx) answers 422.group_idstring (uuid)optionalOptional UUID correlating multiple chunked uploads of one recording. Send the same value with every chunk; dashboards aggregate the chunks into a single transcription entry.
group_totalintegeroptionalExpected number of chunks in the group, 1–10000 (requires
group_id). Lets dashboards flag a group whose chunks did not all arrive as partial.streambooleanoptionalAnswer as server-sent events instead of one JSON body: a
segmentevent for each piece as it is transcribed (pieces vary in length, up to about five minutes), with its index as the eventidand theprogress, thencompletedwith the body this endpoint otherwise returns, orfailed. It is billed once the last piece completes; a stream that fails is not billed.correctbooleanoptionalCorrect the transcript with an LLM:
truefixes words the recogniser misheard, usingpromptandkeywords, and never changes what was said (no answers, names or numbers invented, no words removed). The response'stextis then the correction andtext_rawwhat the recogniser heard;correctedsays whether they differ. Correction's LLM tokens are billed with the transcription. Off by default.promptstringoptionalWith
correct: what the audio is about, such as who is speaking and the subject, up to 2,000 characters.keywordsstring[]optionalWith
correct: names and terms the audio may hold (up to 100, of up to 100 characters each), spelled as they should be written. Send the field once per term.modelstringoptionalOptional: leave it unset and Aethex picks the model for the language. The response's
modelreadsaethex; an async job showsnulluntil it has run.
Errors
8The language names a language your account does not include, by name or code (swahili, sw, swh_Latn): Swahili, Hausa and the other African languages, and Arabic, are part of the Aethex enterprise platform. The body's language names it.
Use english, french or nigerian_pidgin, or move the work to the Aethex enterprise platform.
model names a transcription model your account may not use. The body's kind (stt_model) and value name it.
Leave model out for your account's default, or name a model your account may use.
The uploaded file is empty (zero bytes).
Upload a non-empty audio file.
Missing or invalid API key.
Add X-API-Key: YOUR_KEY to your request headers.
Your API key does not have the transcribe:use scope.
Issue a new key with the transcribe:use scope.
The uploaded file is larger, or its audio longer, than the endpoint accepts.
Compress, trim or split the audio to fit under 25 MiB and 5 minutes before retrying, or send a longer recording to POST /transcribe/async, which takes up to 4 hours.
Missing file field or unsupported audio format.
Attach a file field with a supported audio format (WAV, FLAC, Ogg/Opus, WebM/MKA, M4A/AAC/ALAC, MOV, MP3, AMR, 3GP, AIFF, CAF, WMA, AU, raw AAC).
The ASR service is temporarily unavailable.
Retry after a few seconds; the service should recover automatically.
