Skip to main content
POST
create a streaming session

Authorizations

Authorization
string
header
required

your rumik API key, e.g. rk_live_.... create one in the rumik dashboard.

Body

application/json
text
string
required

text to synthesize. sent again in the WebSocket synthesis frame.

Maximum string length: 2000
model
enum<string>
default:muga

which model to use.

Available options:
muga,
mulberry

Response

a one-shot WebSocket session.

ws_url
string<uri>

WebSocket URL to connect to.

Example:

"wss://silk-api.rumik.ai/v1/tts/ws/abc123"

token
string

one-shot token. pass as ?token=<token> when connecting.