AsyncAPI channel · Hailuo AI / MiniMax
· MiniMax Text-to-Speech (T2A) WebSocket API
/ws/v1/t2a_v2
Real-time text-to-speech session. The client drives the session with task_start / task_continue / task_finish events; the server streams connected_success, then audio_chunk events, then task_finished.
Audio and status events pushed from MiniMax to the client.
Messages
task_start
Start a synthesis task
Content-Type:
task_continue
Stream text to synthesize
Content-Type:
task_finish
End the synthesis task
Content-Type:
connected_success
Connection established
Content-Type:
audio_chunk
Streamed audio chunk
Content-Type:
task_finished
Task complete
Content-Type:
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.
Discovery needs no key. Ratings and market analysis are Pro.
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.