Skip to main content

Endpoints

MethodPathDescription
POST/v2/text-to-speech/speechSynthesize speech
GET/v2/text-to-speech/speech/:audio_idRetrieve async audio
GET/v2/text-to-speech/voicesList available voices
GET/v2/text-to-speech/voices?voice_id=...Get voice details

Pronunciation Dictionaries

MethodPathDescription
GET/v2/speech/pronunciation_dictsList dictionaries
POST/v2/speech/pronunciation_dictsCreate dictionary
GET/v2/speech/pronunciation_dicts/:idGet dictionary
PUT/v2/speech/pronunciation_dicts/:idUpdate dictionary
DELETE/v2/speech/pronunciation_dicts/:idDelete dictionary
Pronunciation dictionaries define custom word → replacement mappings applied before synthesis. Organization-scoped. Paginated list (max 250 per page).

OAS Spec

The TTS OpenAPI spec is maintained in:
  • openapi-ng: apis/text-to-speech/text-to-speech.yml
For WebSocket frame details, see the Messages page (WebSocket is not representable in OpenAPI).