Messages
{
"type": "setup"
}{
"type": "audio",
"audio": "<audio>"
}{
"type": "flush"
}{
"type": "end_of_stream"
}{
"type": "text",
"text": "Hello world."
}{
"type": "end_text"
}{
"type": "error"
}Gradium STT
Gradium STT default
Real-time multilingual speech-to-text via streaming WebSocket
WSS
/
v1
/
stt
/
gradium
/
stt:default
Messages
{
"type": "setup"
}{
"type": "audio",
"audio": "<audio>"
}{
"type": "flush"
}{
"type": "end_of_stream"
}{
"type": "text",
"text": "Hello world."
}{
"type": "end_text"
}{
"type": "error"
}bearer
type:http
method
type:string
GET
headers
type:object
X-World-Part-Override
type:string
Override target world part. Auto-selected if not provided.
Setup
type:object
Initialize the transcription stream. Must be the first message.
Audio
type:object
A chunk of base64-encoded audio bytes.
Flush
type:object
Force-finalize buffered audio without closing the stream.
EndOfStream
type:object
Signal end of the audio stream.
Text
type:object
A finalized transcribed text segment.
EndText
type:object
Marks the end of a transcribed text segment.
Error
type:object
Terminal error.
Was this page helpful?
⌘I