Placeholders
The snippets below use these placeholders. Replace them before running the code.| Placeholder | Replace with |
|---|---|
SLNG_API_KEY | An SLNG key from app.slng.ai/api-keys |
Basic Request
Send text and receive a complete audio file in WAV format:More Examples
With Voice Selection (Deepgram Aura)
Beyond the audio generation, each model supports different parameters. For example, to specify a voice in Deepgram Aura:With a Different Model
Each model has its own endpoint and may use different parameters. For example, Rime Arcana usesspeaker instead of model:
Next Steps
Live TTS demo
Try TTS in your browser, no setup needed
TTS WebSocket examples
Stream audio in real time for voice agents
Text-to-Speech models
Browse all TTS models and endpoints
Pronunciation dictionaries
Reuse pronunciation rules across TTS requests
TTS API reference
Endpoint-specific parameters