Transcribe audio
POSThttp://127.0.0.1:{port}/transcribe
Send Authorization: Bearer <token>, with the token from the discovery file. See the Local API overview for the port, the token and the response envelope.
Accepts either an absolute file path OR an audio_base64 + mime_type pair. The engine + model can come from a saved mode_id, from explicit engine/model/language fields, or a mix (mode supplies defaults and per-call fields override).
Request body
application/json, TranscribeRequest, required
filestringAbsolute filesystem path. Mutually exclusive with audio_base64. Where a platform applies the 48 MiB audio limit to a file path, a larger file is refused with INVALID_REQUEST — see Request limits in the Local API overview for what each platform enforces.
audio_base64stringbase64-encoded audio bytes. Pair with mime_type.
mime_typestringe.g. audio/wav, audio/m4a, audio/mpeg, audio/flac
mode_idstring (uuid)Saved Mode used as the baseline. May be combined with engine/model/language to override per-call. When
mode_idandenginename DIFFERENT cloud providers, the Mode's saved model is not carried across to the new provider: the request runs the engine's own default model. An inherited model is kept only when it really belongs to the engine you named — including under its legacy spelling, so an AssemblyAI Mode onuniversalre-run withengine: "assemblyai"still runsuniversaland is not upgraded to a different-priced model. Send an explicitmodelto pin one; for a BYOK provider that wins outright. HyperWhisper Cloud is different, because it selects by the Mode's accuracy tier rather than by a model id:engine: "cloud"keeps the Mode's model only when that model belongs to the tier, and otherwise runs the tier's default — an explicitmodelincluded. The default a dropped model falls back to is the same on every platform: every head reads it fromcloud-stt-catalog.json, andshared-conformance/default-model-vectors.jsonpins the answer for all of them, soengine: "openai"with nomodelresolves togpt-transcribeeverywhere. The legacy engine namesgooglespeechandmicrosoftazurespeechnow fold onto the same HyperWhisper Cloud accuracy tiers on every platform too, so neither of the two gaps this paragraph used to list is still open.enginestringwhisperLocal | parakeet | nemotron | qwen3Asr | appleSpeech | <CloudProvider rawValue>. nemotron and appleSpeech are macOS only. Windows and Linux reject them with ENGINE_UNAVAILABLE. The value is trimmed and matched without regard to case on every platform, and every platform accepts the same alias spellings: whisper, whisperLocal, libwhisper; parakeet; nemotron, nemotronLocal, nemotron-local, nemotron-asr; qwen3Asr, qwen3, qwen3-asr, qwen3_asr, qwen; appleSpeech, apple, apple-speech, apple-speech-analyzer, speech-analyzer. So the engine a response reports can always be fed back into the next request, on any platform. TWO CLOUD VALUES ARE LEGACY NAMES AND ARE FOLDED, on every platform.
googlespeechandmicrosoftazurespeech(either casing) name providers that HyperWhisper Cloud now serves as accuracy tiers, so the request runs on HyperWhisper Cloud — spending credits — with the tiergeminiTranscribeorazureMaiTranscribe, and the response reportsengine: "hyperwhisper". Send an explicitmodelto pin a model INSIDE that tier (mai-transcribe-1.5rather than the defaultmai-transcribe-2); with nomodel, the Mode's own sub-model is kept when the tier serves it and the tier default runs otherwise. The fold replaces the Mode's provider and tier for this one call and supersedes whatevermode_idheld, so the model rules undermode_idabove are the HyperWhisper Cloud ones.cloudandhyperwhisperare NOT legacy names: they select HyperWhisper Cloud without changing the Mode's accuracy tier.modelstringThe model to run. Optional. It is echoed back unvalidated, and it wins over everything the Mode holds. Omit it to let the
enginechoose, and readmode_idabove for what happens when the Mode and theenginedisagree about the model.whisperLocal(and its aliases) is the exception: sent withengineand nomode_id, it needs amodel(for examplebase.en), and a missing or blank one is refused withINVALID_REQUESTon all three platforms (macOS and Windows answer HTTP 200 with the message "A Whisper model is required."; Linux answers HTTP 400).nemotronwith nomodeltriesnemotron-asr-3.5-multilingual; on macOS, sent withengineand nomode_id, theMODEL_NOT_INSTALLEDmessage names that model when it is not installed.languagestringtimestamp_granularitiesstring[]macOS only. Opt-in caption timestamps — ['segment'], ['word'], or both. Populates segments/words on the response.
Responses
200 Transcript or business error envelope
application/json, TranscribeResponse
okbooleantextstringThe transcript. /transcribe never runs AI post-processing — /post-process is the endpoint for that. The deterministic text passes DO run, on all three platforms: vocabulary replacements, dictated "new line" / "new paragraph" break commands, and filler-word removal when Remove filler words is on. Filler-word removal is English-only everywhere, but each platform decides "English" the way its own dictation does: Windows and Linux read the request's / Mode's language, so the default "auto" does not remove fillers and you should send "language": "en"; macOS prefers the language the engine reported and falls back to the request's, so "auto" against an engine that reports English does remove them there.
enginestringmodelstringThe model that actually transcribed the audio, on all three platforms. When the request names an explicit
model, that value is echoed back unvalidated. When the request sendsengine(or onlymode_id) and nomodel, the response reports the model the engine resolved to rather than an empty string, so a caller driving the API byenginecan still record which model produced the text; for HyperWhisper Cloud that is the model behind the mode's accuracy tier (for examplescribe_v2), because the tier is what the service dispatches on. It is still empty for the handful of providers that take no model parameter at all — read an empty value as "this engine has no model id", not as "unreported".languagestringnullable
timingsobjectload_msintegerdecode_msinteger
latency_msintegerraw_textstringmacOS only. Set when timestamp_granularities was requested.
nullable
segmentsTranscribeSegment[]macOS only. Present when timestamp_granularities included 'segment'.
nullable
idintegertextstringstartnumberendnumber
wordsTranscribeWord[]macOS only. Present when timestamp_granularities included 'word'.
nullable
wordstringstartnumberendnumber
The whole spec is openapi.yaml.