NaviGator AI

Speech to text

Transcribe audio with NaviGator AI Toolkit

Speech to text converts an uploaded audio recording into a written transcript. NaviGator AI Toolkit provides an OpenAI-compatible transcription endpoint using whisper-large-v3.

Transcribe an audio file

Before running an example, complete Getting Started, configure the documented environment variables, confirm that your key can use whisper-large-v3 and place an authorized lecture.mp3 file in the current directory. The Python and JavaScript examples need the openai package from OpenAI-compatible SDKs.

curl "$NAVIGATOR_API_BASE_URL/audio/transcriptions" \
  --header "Authorization: Bearer $NAVIGATOR_TOOLKIT_API_KEY" \
  --form 'file=@lecture.mp3' \
  --form 'model=whisper-large-v3' \
  --form 'language=en'

Do not set Content-Type yourself when using --form; curl adds the multipart boundary the upload needs.

A successful request returns the transcript text under text. The language parameter is optional. Supplying the correct two-letter ISO 639-1 language code, such as en for English, can improve transcription when the language is known.

Improve transcription quality

  • Use clear audio with limited background noise and overlapping speakers.
  • Preserve the original recording until the transcript is reviewed.
  • Verify names, technical terminology, numbers and quotations.
  • Split very long recordings into shorter files if an upload fails or times out.

Check the model's approved data classifications before uploading recordings. Audio can contain voices and other identifying or regulated information even when the transcript appears harmless.

On this page