Documentation / Quick Start
Quick Start
From nothing to a generated audio file in about two minutes. Every example below works against this app’s local /api/v1 server.
1
Create an API key
Open the API keys page in your studio settings and create a token. Keep it on your server — never embed secret keys in public client code.
Open API Keys →2
Generate your first audio
The response body is the raw MP3/WAV audio file itself, ready to save or stream.
curl http://localhost:3000/api/v1/audio/speech \
-H "Authorization: Bearer saktts_live_demo_9f8a7c6b5e4d3c2b1a0f" \
-H "Content-Type: application/json" \
-d '{
"model": "saktts",
"input": "សួស្តី ពិភពលោក! Hello, world!",
"voice": "Maly",
"response_format": "mp3"
}' \
--output speech.mp3