Documentation / API Reference
API Reference
An OpenAI-compatible REST API for speech, transcription, and voices. Point an existing client at our base URL and it works out of the box.
Base URL & Authentication
Base URL: http://localhost:3000/api/v1 Authorization: Bearer YOUR_API_KEY
Speech
POST
/api/v1/audio/speechGenerate MP3 or WAV audio from Khmer, English, or mixed text. Returns binary audio bytes.
Transcription
POST
/api/v1/audio/transcriptionsUpload audio (MP3, WAV, M4A, WEBM) and receive timestamped speaker-diarized segments.
Voices & Clones
GET
/api/v1/voicesList all built-in Khmer/English voices and your custom cloned/designed voices.
POST
/api/voice-clonesCreate an instant voice clone from a reference clip or design a new voice from a text prompt.