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
uv:
Initialize the client
Get a key from app.slng.ai, then construct the client:Text-to-speech
Speech-to-text
Async client
For asyncio applications, swapSlng for AsyncSlng:
Discover models
Links
- PyPI: pypi.org/project/voiceai-sdk
- Source: github.com/slng-ai/sdks