Skip to main content
The SLNG API is REST and WebSocket-native, so any HTTP client works. We also ship a CLI, two SDKs, an agent-skills pack, and an n8n node 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.
https://mintcdn.com/slng/l5MAQJSaqdsQLSjj/images/sdks/n8n.svg?fit=max&auto=format&n=l5MAQJSaqdsQLSjj&q=85&s=81477fbdd2920d75c7ce46ba39cf5b82

n8n node

n8n-nodes-slng adds SLNG actions and a voice-agent trigger to n8n workflows.

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
Build voice automations visually in n8nn8n node
They all 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.

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