@@ -55,7 +55,7 @@ def create(
55
55
input : str ,
56
56
model : str ,
57
57
voice : str ,
58
- response_format : Literal ["mp3" , "opus" , "aac" , "flac" , " wav" , "pcm " ] | NotGiven = NOT_GIVEN ,
58
+ response_format : Literal ["wav" ] | NotGiven = NOT_GIVEN ,
59
59
speed : float | NotGiven = NOT_GIVEN ,
60
60
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
61
61
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -74,11 +74,9 @@ def create(
74
74
75
75
voice: The voice to use when generating the audio.
76
76
77
- response_format: The format to audio in. Supported formats are `mp3`, `opus`, `aac`, `flac`,
78
- `wav`, and `pcm`.
77
+ response_format: The format to audio in. Supported formats are `wav`.
79
78
80
- speed: The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is
81
- the default.
79
+ speed: The speed of the generated audio. 1.0 is the only supported value.
82
80
83
81
extra_headers: Send extra headers
84
82
@@ -134,7 +132,7 @@ async def create(
134
132
input : str ,
135
133
model : str ,
136
134
voice : str ,
137
- response_format : Literal ["mp3" , "opus" , "aac" , "flac" , " wav" , "pcm " ] | NotGiven = NOT_GIVEN ,
135
+ response_format : Literal ["wav" ] | NotGiven = NOT_GIVEN ,
138
136
speed : float | NotGiven = NOT_GIVEN ,
139
137
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
140
138
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -153,11 +151,9 @@ async def create(
153
151
154
152
voice: The voice to use when generating the audio.
155
153
156
- response_format: The format to audio in. Supported formats are `mp3`, `opus`, `aac`, `flac`,
157
- `wav`, and `pcm`.
154
+ response_format: The format to audio in. Supported formats are `wav`.
158
155
159
- speed: The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is
160
- the default.
156
+ speed: The speed of the generated audio. 1.0 is the only supported value.
161
157
162
158
extra_headers: Send extra headers
163
159
0 commit comments