cURL
Text to Speech
Stream text to speech
Stream synthesized audio as it is generated.
POST
cURL
Authorizations
Breeze Developer API key.
Path Parameters
Voice identifier to synthesize. Use GET /v1/voices to discover available IDs.
Query Parameters
Streaming output encoding. Supported values: mp3, pcm. Default: mp3.
Body
application/json
Text to synthesize.
Minimum string length:
1Optional model identifier to use for synthesis.
Required string length:
1 - 120Optional BCP-47 style language hint such as en.
Maximum string length:
16Optional performance instructions for the generation.
Optional per-request voice settings override.
Response
Streaming audio bytes. The history-item-id header identifies the persisted generation.
The response is of type file.

