Getting Started with slng.ai
This guide will walk you through your first voice API call using slng.ai
. Whether you're building a voicebot, adding accessibility features, or running audio workflows at scale, we make it simple to get started.
🧾 1. Get Your API Key
Sign up at slng.ai and retrieve your API key from the dashboard.
🔐 Keep your API key secret. It authenticates your account and usage.
🧪 2. Make Your First API Call
You can test the API right away using curl
, Postman, or any HTTP client.
Here's a simple example using the VUI model for text-to-speech:
Code(bash)
This will return an audio file (.mp3
or .wav
) as a binary stream or base64, depending on your configuration.
🧠 3. Or Let slng.ai Pick the Best Model
Instead of choosing a model yourself, just call the base endpoint:
Code(bash)
We'll smart-route the request to the most suitable model based on:
- Your language and region
- Quality preferences
- Pricing limits
- Voice cloning options
- Account preferences
🎚️ 4. Adjust Request Parameters
You can customize output via optional parameters:
Code(json)
⚙️ 5. Try Speech-to-Text (STT)
To convert audio into text, send a request like this:
Code(bash)
Or use the smart-routed /stt
endpoint with optional parameters.
🔁 6. What’s Next?
- Which Model Should I Use?
- Smart Routing
- Regional Routing
- Setting Preferences
- Account Usage & Billing
📞 Help & Support
Need help? We're here:
- Email:
[email protected]
- Discord:
#slng-ai-dev
- Slack (invite only)
Let your app speak, transcribe, and listen — with just a few lines of code.
Last updated: June 2025