Text-to-SpeechShared concepts
Speech speed
Control the speaking rate of Soniox Text-to-Speech output with the speed parameter.
Overview
The speed parameter controls how fast the generated speech is spoken.
1.0is the normal speaking rate, and the default whenspeedis omitted.- Values below
1.0slow speech down. - Values above
1.0speed speech up.
The supported range is 0.7 to 1.3. A value outside this range is rejected with an invalid_request error.
Set the speed field in your Text-to-Speech request.
Usage
speed is supported by both the real-time WebSocket API and the REST API.
In the WebSocket configuration message:
In the REST request body: