Gradium · AsyncAPI Specification
Gradium Speech Streaming API
Version 1.0.0
AsyncAPI capture of Gradium's real-time speech WebSocket surface (TTS, STT, and Speech-to-Speech). Generated by API Evangelist from the documented WebSocket lifecycle and message shapes — Gradium does not publish an AsyncAPI document. Message payloads and close codes are grounded in the Gradium docs; refine against the live protocol before production use.
View Spec
View on GitHub
CompanyAi MlVoice AIText-to-SpeechSpeech-to-TextSpeech-to-SpeechVoice CloningAudioReal-Time StreamingWebSocketDeveloper APIVoice AgentsAsyncAPIWebhooksEvents
Channels
tts
Text-to-Speech streaming — send text, receive audio chunks.
asr
Speech-to-Text streaming — send audio, receive transcribed text with semantic VAD.
s2s
Speech-to-Speech streaming — transcribe, optionally translate, and re-synthesize in real time.
Messages
Setup
Session setup
TextInput
TextInput
TextOutput
TextOutput
AudioInput
AudioInput
AudioOutput
AudioOutput
Ready
Ready
Step
Step
Flush
Flush
EndOfStream
EndOfStream
ErrorMessage
ErrorMessage
Servers
wss
production
Gradium real-time WebSocket API. Auth via x-api-key (server) or ?token= (browser short-lived token).