Messages
{
"type": "setup",
"voice_id": "<voice_id>"
}{
"type": "text",
"text": "Hello world."
}{
"type": "end_of_stream"
}{
"type": "audio",
"audio": "<audio>"
}{
"type": "end_of_stream"
}{
"type": "error"
}Gradium TTS
Gradium TTS default
Real-time multilingual text-to-speech with streaming WebSocket and one-shot HTTP synthesis
WSS
/
v1
/
tts
/
gradium
/
tts:default
Messages
{
"type": "setup",
"voice_id": "<voice_id>"
}{
"type": "text",
"text": "Hello world."
}{
"type": "end_of_stream"
}{
"type": "audio",
"audio": "<audio>"
}{
"type": "end_of_stream"
}{
"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 synthesis stream. Must be the first message.
Text
type:object
A chunk of text to synthesize.
EndOfStream
type:object
Signal that no more text will be sent.
Audio
type:object
A chunk of base64-encoded synthesized audio.
EndOfStream
type:object
Synthesis for the request is complete.
Error
type:object
Terminal error.
Was this page helpful?
⌘I