Quickstart

Quickstart

1. Get an API key

Create a key in the console (opens in a new tab) under API keys. Keys look like sk_live_… and are shown once — store it securely.

export SVARA_API_KEY="sk_live_..."

2. Generate speech

curl -X POST https://platform.kenpathlabs.com/v1/audio/speech \
  -H "Authorization: Bearer $SVARA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"svara-tts-v1","voice":"tara","input":"Hello from Svara","response_format":"mp3"}' \
  --output speech.mp3

3. Explore voices

List available voices with GET /v1/voices, or try them live in the console Playground.