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.
speed rescales the whole output, so it can flatten the natural rhythm of a
voice. Start by picking a voice whose default pacing
and energy already fit your use case, then shape individual moments with
audio tags and punctuation such as
[slowly], [rushed], or .... Use speed only when the delivery is still
globally too fast or too slow, and keep the adjustment small.
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: