AsyncAPI channel · Together AI
· Together AI Streaming Inference API
/audio/speech
Text-to-speech (TTS). When `"stream": true` the server responds with
`text/event-stream` emitting `audio.tts.chunk` events containing
base64-encoded raw PCM audio. When streaming, the only supported
`response_format` is `raw`. The stream terminates with `[DONE]`.
Provider:Together AIAsyncAPI: v2.6.0Spec: Together AI Streaming Inference APIOperations: 2Messages: 3
Channel address
/audio/speech
Operations
publish
createStreamingAudioSpeech
Open a streaming text-to-speech request.
subscribe
streamAudioSpeech
Receive streaming text-to-speech audio chunks.
Messages
AudioSpeechRequest
JSON body posted by the client to open a streaming TTS session.
Content-Type: application/json
AudioSpeechChunk
A single `data:` event carrying a base64-encoded audio segment.
Content-Type: application/json
StreamDone
Final SSE event signalling the end of the stream. The literal payload
is `[DONE]` (not JSON).
Content-Type: text/plain
About AsyncAPI
The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.