Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.slng.ai/llms.txt

Use this file to discover all available pages before exploring further.

The SLNG API is REST and WebSocket-native, so any HTTP client works. We also ship a CLI, two SDKs, and an agent-skills pack so you don’t have to write that client yourself.

CLI

voiceai runs text-to-speech and speech-to-text from a terminal. Install with curl, Homebrew, or npm.
https://mintcdn.com/slng/2xZHLyyFGVnnnXpA/images/sdks/javascript.svg?fit=max&auto=format&n=2xZHLyyFGVnnnXpA&q=85&s=a0999a9caef3fe771138f3c08805a264

JavaScript SDK

voiceai-sdk on npm. Typed client for Node, Bun, and Deno.
https://mintcdn.com/slng/2xZHLyyFGVnnnXpA/images/sdks/python.svg?fit=max&auto=format&n=2xZHLyyFGVnnnXpA&q=85&s=c1e3917b35ac7019c6eceef08a3a2b18

Python SDK

voiceai-sdk on PyPI. Sync and async clients for Python 3.9+.
https://mintcdn.com/slng/2xZHLyyFGVnnnXpA/images/sdks/claude.svg?fit=max&auto=format&n=2xZHLyyFGVnnnXpA&q=85&s=3952b103294f073e198c949c2532daae

Agent skills

slng-ai/skills teaches coding agents how to call the API.

Which one should I use?

If you want to…Use
Try the API from a terminal, script CI jobs, or pipe audio between toolsCLI
Build a Node, Bun, or Deno serviceJavaScript SDK
Build a Python service, backend, or notebookPython SDK
Let an AI coding agent (Claude Code and similar) call the API for youAgent skills
All four wrap the same API, so you can mix them. Generate sample audio with the CLI, then call the Python SDK from a notebook to transcribe it.

API key

Every tool reads its key from an environment variable. Grab one from app.slng.ai and export it before running the examples on the next pages:
export VOICEAI_API_KEY="zpka_..."
The CLI reads VOICEAI_API_KEY. The JS and Python SDKs default to SLNG_API_KEY but accept an explicit apiKey option. Set both to the same value if you plan to use multiple tools side by side.