/v1/audio/speech). Send text, get audio bytes back — billing is per input character.
Available models
hd variants prioritize audio fidelity; turbo variants prioritize latency and cost less. All models share the same request format.Quick example
Parameters
Advanced: provider passthrough
Anything MiniMax’s native T2A API supports can be passed throughmetadata — the object is merged into the upstream request body:
"metadata": {"output_format": "url"} to receive a 302 redirect to a temporary audio URL instead (use curl -L).
API Reference
View the interactive API playground.