livekit-plugins-slng 1.5.12


pip install livekit-plugins-slng

  Latest version

Released: May 21, 2026


Meta
Author: SLNG
Requires Python: >=3.10.0

Classifiers

Intended Audience
  • Developers

License
  • OSI Approved :: Apache Software License

Programming Language
  • Python :: 3
  • Python :: 3 :: Only
  • Python :: 3.10

Topic
  • Multimedia :: Sound/Audio
  • Scientific/Engineering :: Artificial Intelligence

SLNG plugin for LiveKit Agents

Support for SLNG's voice AI gateway in LiveKit Agents, providing access to multiple STT and TTS providers through a unified API.

See https://docs.slng.ai/ for more information.

Installation

pip install livekit-plugins-slng

Pre-requisites

You'll need an API key from SLNG. It can be set as an environment variable: SLNG_API_KEY

Region override

The plugin supports gateway region routing via the region_override option on both STT and TTS. This maps directly to the gateway's X-Region-Override header. See the available regions at docs.slng.ai/region-override.

You can pass either a single region:

stt = slng.STT(
    api_key="your-slng-api-key",
    model="deepgram/nova:3",
    region_override="eu-west-1",
)

Or multiple preferred regions in priority order:

tts = slng.TTS(
    api_key="your-slng-api-key",
    model="deepgram/aura:2",
    voice="aura-2-thalia-en",
    region_override=["eu-west-1", "us-east-1"],
)
Extras: None
Dependencies:
aiohttp (>=3.10)
livekit-agents (>=1.5.12)