Messages
WebSocket Playgrounds
Speech-to-Text
Transcribe audio to text via WebSocket
WSS
Documentation Index
Fetch the complete documentation index at: https://docs.tryhamsa.com/llms.txt
Use this file to discover all available pages before exploring further.
Connect to the WebSocket and send STT requests to transcribe audio into text.
Quick Start
- Enter your API key in the authentication field
- Click Connect to establish the WebSocket connection
- Provide base64-encoded audio data
- Click Send to receive transcription
Request Message
After connecting, send a JSON message with the following structure:Must be
"stt"STT Request
Response Format
Transcription Result
Error Response
Supported Audio Formats
Any audio format supported by the backend (WAV, MP3, etc.), base64-encoded.Messages