v1
latestOpenAPI 3.1.02026-07-22247.2 KBspeech
create a streaming session
mint a one-shot WebSocket session for real-time streaming synthesis. returns a ws_url and a token. connect to ws_url?token=<token>, send a JSON synthesis frame, then receive raw PCM int16 little-endian @ 24 kHz mono binary frames followed by a terminal {"type":"done"} JSON frame.
post/v1/tts/ws-connect
Request body
Response
a one-shot WebSocket session.
Example response
{
"ws_url": "wss://silk-api.rumik.ai/v1/tts/ws/abc123"
}