If you only need a single request-response with chunked audio, the Streaming API is simpler to integrate.
For tips on optimizing latency, see the latency best practices guide.
Timestamp Transport Strategy
When using timestamp alignment, you can choose how timestamps are delivered alongside audio usingtimestampTransportStrategy:
SYNC(default): Each chunk contains both audio and timestamps together.ASYNC: Audio chunks arrive first, with timestamps following in separate trailing messages. This reduces time-to-first-audio with TTS 1.5 models.
Code Examples
API Reference
Synthesize Speech WebSocket
View the complete API specification