docs

API reference

Every endpoint at a glance.

Every endpoint at a glance. Full request parameters live on the capability pages; the live OpenAPI spec is at https://platform.kenpathlabs.com/openapi.json.

Speech

POST/v1/audio/speech

Primary TTS: text in, audio out. Handles streaming and voice cloning via stream / mode. See Text to speech.

POST/v1/audio/encode

Encode a reference clip to reusable codec codes for cloning. See Voice cloning.

POST/v1/text-to-speech/{voice_id}
POST/v1/text-to-speech/{voice_id}/stream
POST/v1/text-to-speech/{voice_id}/with-timestamps

ElevenLabs-compatible synthesis, incl. streaming and character timestamps. output_format like mp3_44100_128, pcm_24000. See SDKs.

WebSocket

WS/v1/audio/speech/stream-input

Native input streaming with mode=eager. Send text fragments, receive PCM. See Input streaming.

WS/v1/text-to-speech/{voice_id}/stream-input

ElevenLabs-compatible realtime WebSocket (BOS/text/flush/EOS protocol).

Voices

GET/v1/voices
GET/v2/voices
GET/v1/voices/{voice_id}
GET/v1/voices/{voice_id}/preview

Roster, search/paging, single voice, and bundled preview clip.

POST/v1/voices/add
POST/v1/voices/{voice_id}/edit
GET/v1/voices/{voice_id}/settings

Instant voice cloning (persisted), edit, and settings stubs. See Voice cloning.

Utility

GET/health

Capability negotiation: engine, stream_formats, default_voice. No auth.

GET/v1/languages
GET/v1/models

Supported languages and models. No auth.