SLNG. WebSocket API

STT Open Source

Endpoint:https://api.slng.ai

Whisper WS Stream

GET
https://api.slng.ai
/v1/stt/slng/whisper-websocket-stream

Real-time speech-to-text transcription using Whisper model via WebSocket connection. Supports streaming audio input with VAD (Voice Activity Detection), partial transcripts, and language detection.

Whisper WS StreamHeaders

  • Authorizationstring · required

    The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

  • Upgradestring · enum · required

    Must be 'websocket' for WebSocket upgrade

    Enum values:
    websocket
  • Connectionstring · enum · required

    Must be 'Upgrade' for WebSocket upgrade

    Enum values:
    Upgrade

Whisper WS StreamResponses

Switching Protocols - WebSocket connection established

No data returned