{ "type": "stream", "text": "Hello from Cognigy TTS bridge."}
{ "type": "flush"}
{ "type": "stop"}
{ "type": "connect", "data": { "sample_rate": 16000, "base64_encoding": true }}
{ "type": "error", "error": "provider_error", "message": "TTS provider returned an error"}
WebSocket protocol bridge for Cognigy Voice Gateway TTS integration. Accepts Cognigy’s native websocket messages (stream, flush, stop) and translates them to SLNG’s standard TTS websocket protocol.
API key issued by SLNG. Pass as Authorization: Bearer <token> in the WebSocket upgrade request headers.
Authorization: Bearer <token>
GET
Optional. Specify a target region for this model. If not provided, the system will automatically select an appropriate region.
Send text to synthesize into audio for Cognigy TTS.
Flush any buffered audio to the Cognigy client.
Stop synthesis and close the Cognigy TTS session.
Connection established with audio format information.
Error occurred during Cognigy TTS synthesis.
Was this page helpful?