Skip to main content

Speech-to-Text (STT)

Transcribe audio files to text with optional speaker diarization.

Available Tools

Transcribe Audio

Convert audio to text via the sixtydb_stt_transcribe tool:

Auto-detect vs explicit language

  • Omit language (or pass "auto") to enable auto-detection across all 39 supported languages. The MCP shim strips "auto" before forwarding so the server’s language identification runs.
  • Pass a single ISO 639-1 code (e.g. "hi", "en", "ar") to skip language identification and run the fast path for that language.
  • Do not pass unsupported codes (ur, ja, ko, zh, th, vi, id, tl, sw, tr, fa, he) or Arabic dialect tags (ar-eg, ar-lv, …) — they return an unsupported_language error. For non-MSA Arabic audio pass "ar" for best-effort MSA transcription.

Parameters

Context string example

context is a plain string on the REST POST /stt tool (this page). The WebSocket /ws/stt endpoint takes a structured {general, text, terms} object instead — see the WebSocket STT reference.

Response shape (JSON)

Empty-speech signal: A successful response with text: "" and warning_codes: ["no_speech_detected"] means the audio contained no speech. This is not an error — do not retry.

Usage in Claude

Supported Audio Formats

  • WAV, MP3, M4A, OGG, FLAC, WebM, MP4 audio track
  • Max file size: 25 MB
  • Max duration: 1 hour
  • Recommended: 16 kHz+ sample rate

Supported Languages

39 languages total — fetch the live catalog from the sixtydb_stt_languages tool (or the REST GET /stt/languages endpoint). Includes 25 European languages, 13 Indic languages with English code-switching, and Arabic MSA. See the Get STT Languages reference for the full list.
  • STT Models — exposed STT model catalog (currently 60db-stt-v01)
  • WebSocket STT — real-time streaming variant (note: the WS form uses languages: null for auto-detect, not "auto")
  • TTS — Text-to-speech