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/speech

Generate MP3 or WAV audio from Khmer, English, or mixed text. Returns binary audio bytes.

Transcription

POST/api/v1/audio/transcriptions

Upload audio (MP3, WAV, M4A, WEBM) and receive timestamped speaker-diarized segments.

Voices & Clones

GET/api/v1/voices

List all built-in Khmer/English voices and your custom cloned/designed voices.

POST/api/voice-clones

Create an instant voice clone from a reference clip or design a new voice from a text prompt.