SLNG. API

Open Source @ SLNG

Endpoint:https://api.slng.ai

Whisper-v3

POST
https://api.slng.ai
/v1/stt/slng/whisper-v3

Transcribe audio using Whisper-v3 model.

Whisper-v3Headers

  • 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.

Whisper-v3Request Body

  • audiostring · binary · required
  • languagestring

Whisper-v3Responses

Transcription result

  • textstring
  • languagestring

Kyutai Streaming

POST
https://api.slng.ai
/v1/stt/in/kyutai

High-performance streaming speech recognition optimized for French and English. Provides real-time transcription with low latency. Supports audio streaming for live transcription scenarios. Hosted on India compute infrastructure in Mumbai for optimal regional performance.

Kyutai StreamingHeaders

  • 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.

Kyutai StreamingRequest Body

  • audiostring · binary · required

    Audio file to transcribe (WAV, MP3, FLAC, OGG, M4A)

  • languagestring · enum

    Language code: 'en' for English, 'fr' for French

    Enum values:
    en
    fr
    Default: en
  • streamboolean

    Enable streaming mode for real-time transcription

    Default: false
  • timestampsboolean

    Include word-level timestamps in response

    Default: false
  • punctuationboolean

    Add automatic punctuation to transcript

    Default: true

Kyutai StreamingResponses

Transcription result

  • textstring · required

    The transcribed text

  • languagestring

    Detected or specified language

  • confidencenumber · min: 0 · max: 1

    Overall confidence score (0-1)

  • durationnumber

    Audio duration in seconds

  • segmentsobject[]

    Word-level segments with timestamps (if requested)


Whisper-v3-turbo

POST
https://api.slng.ai
/v1/stt/slng/whisper-v3-turbo

Transcribe audio using Whisper-v3-turbo model.

Whisper-v3-turbo Headers

  • 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.

Whisper-v3-turbo Request Body

  • audiostring · binary · required
  • languagestring

Whisper-v3-turbo Responses

Transcription result

  • textstring
  • languagestring

WhisperX Speaker Diarization

POST
https://api.slng.ai
/v1/dia/slng/whisperx

Separate speakers from a conversation using WhisperX.

WhisperX Speaker DiarizationHeaders

  • 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.

WhisperX Speaker DiarizationRequest Body

  • audiostring · binary · required
  • languagestring

WhisperX Speaker DiarizationResponses

Diarization output

  • speakersobject[]