Adjust the pace
The pace parameter sets how fast the speech is delivered. Values below 1.0 slow it down and values above 1.0 speed it up.
Example
WebSocket example
pace is set in the configure message and applies to every convert call that follows. The Python SDK names the language argument target_language_code; it is sent as language_code.
What changes in the output
The same sentence takes longer at lower values and finishes sooner at higher values.
Suggested values
Start at 1.0 and change it in steps of 0.1. Listen to the result before going above 1.5.
Common errors
Out-of-range values are rejected with HTTP 400 on REST. On WebSocket, the error arrives as a JSON message with code 422 or 400 instead.
On WebSocket, send a new configure message to change pace mid-session. Text still in the buffer is flushed first, then the new settings apply.