v1

latestOpenAPI 3.1.0Proprietary2026-08-0492426.9 KB
Speech

Synthesize speech from text in a named voice

Render the given text as speech (24 kHz mono WAV) in one of the named voices from GET /v1/voices.

post/v1/tts/{voice_id}

Path parameters

voice_idstring required

A named voice id, as listed by GET /v1/voices.

A named voice id, as listed by GET /v1/voices.

Request body

textstring required

Text to speak.

modelstring nullable

Public model id (see GET /v1/models). Omit/null for the default model.

Example request

{
  "text": "Hey there! How are you doing today?",
  "model": "kalpa-tts-beta-v0.1"
}

Response

Successful Response

request_idstring required

Correlation id; identical to the X-Request-ID response header.

modelstring required

Resolved public model id that served the request.

textstring required

The text that was spoken (echoes the request).

metaobject

Backend-specific diagnostics (latency, frames, …).

Example response

{
  "audio": {
    "sample_rate": 24000
  }
}