You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**format:**`typing.Optional[str]` — Format of the generated audio file. Valid values: MP3, WAV, FLAC, ALAW, ULAW
157
+
**format:**`typing.Optional[str]` — Format of the generated audio file. Valid values: MP3, WAV, FLAC, ALAW, ULAW, PCM, OGG
158
158
159
159
</dd>
160
160
</dl>
@@ -235,6 +235,14 @@ An object used to define custom pronunciations.
235
235
<dl>
236
236
<dd>
237
237
238
+
**word_durations_as_original_text:**`typing.Optional[bool]` — If set to true, the word durations in response will return words as the original input text. (English only)
**voice_id:**`str` — Use the GET /v1/speech/voices API to find supported voiceIds. You can use either the voiceId (e.g. en-US-natalie) or just the voice actor's name (e.g. natalie).
601
+
602
+
</dd>
603
+
</dl>
604
+
605
+
<dl>
606
+
<dd>
607
+
576
608
**audio_duration:**`typing.Optional[float]` — This parameter allows specifying the duration (in seconds) for the generated audio. If the value is 0, this parameter will be ignored. Only available for Gen2 model.
**voice_id:**`typing.Optional[str]` — Use the GET /v1/speech/voices API to find supported voiceIds. You can use either the voiceId (e.g. en-US-natalie) or just the voice actor's name (e.g. natalie).
0 commit comments