Speech
Complete the open turn, streaming audio as it is generated
Changed onSame request as /v1/converse; the response is a text/event-stream: one meta event, audio chunk events as audio is generated (pcm_b64 = base64 raw 16-bit LE PCM at sample_rate), then exactly one end (reply text, audio_seconds, usage, meta) or error. First audio arrives after one ~80 ms frame instead of after the whole clip; closing the connection aborts generation.
post/v1/converse/stream
Request
- Base URLhttps://api.kalpalabs.ai
- AuthHTTP bearer
Request body
Example request
{
"model": "kalpa-tts-1"
}Response
Server-sent event stream: meta, audio chunks, then end or error.
Changes
- warning
removed the request property
/
- warning
- info
added the non-success response with the status
- info
added the non-success response with the status
- info