Skip to main content
voiceai-sdk is the official Python client for the SLNG API. It targets Python 3.9+ and ships both a synchronous Slng client and an AsyncSlng for asyncio code.

Install

Or with uv:

Initialize the client

Get an SLNG key from app.slng.ai, then construct the client:

Text-to-speech

Speech-to-text

Async client

For asyncio applications, swap Slng for AsyncSlng:

Discover models