API Reference
Realtime / TTS WS
GET
wss://api.tokenbay.com/v1/realtimeRealtime and Volcengine TTS WebSocket proxy entries
Realtime
websocketFailover: not-applicable
Requires API key authentication, but does not use the normal HTTP ResourceOrchestrator. After authentication, it schedules an account and establishes a bidirectional upstream WebSocket proxy.
GET
/v1/realtimeResponse
upstream-definedAfter the connection is established, messages are proxied according to the upstream Realtime protocol.
Errors
| Status | Meaning | Retry |
|---|---|---|
| 400 | Missing model query parameter | no |
TTS WebSocket
websocketFailover: not-applicable
GET
/v1/audio/tts/wsResponse
upstream-definedThis path targets Volcengine TTS WebSocket upstreams. If the scheduled account lacks required credential fields, the gateway returns a credential-related error.
Errors
| Status | Meaning | Retry |
|---|---|---|
| 400 | Missing model query parameter | no |
