@@ -41,7 +41,6 @@ def create(
41
41
extra_query : Query | None = None ,
42
42
extra_body : Body | None = None ,
43
43
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
44
- stream : bool | None = None ,
45
44
) -> HttpxBinaryResponseContent :
46
45
"""
47
46
Generates audio from the input text.
@@ -68,9 +67,6 @@ def create(
68
67
extra_body: Add additional JSON properties to the request
69
68
70
69
timeout: Override the client-level default timeout for this request, in seconds
71
-
72
- stream: Whether or not the response content should be streamed (i.e. not read to
73
- completion immediately), default False
74
70
"""
75
71
return self ._post (
76
72
"/audio/speech" ,
@@ -85,11 +81,7 @@ def create(
85
81
speech_create_params .SpeechCreateParams ,
86
82
),
87
83
options = make_request_options (
88
- extra_headers = extra_headers ,
89
- extra_query = extra_query ,
90
- extra_body = extra_body ,
91
- timeout = timeout ,
92
- stream = stream ,
84
+ extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
93
85
),
94
86
cast_to = HttpxBinaryResponseContent ,
95
87
)
@@ -116,7 +108,6 @@ async def create(
116
108
extra_query : Query | None = None ,
117
109
extra_body : Body | None = None ,
118
110
timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
119
- stream : bool | None = None ,
120
111
) -> HttpxBinaryResponseContent :
121
112
"""
122
113
Generates audio from the input text.
@@ -143,9 +134,6 @@ async def create(
143
134
extra_body: Add additional JSON properties to the request
144
135
145
136
timeout: Override the client-level default timeout for this request, in seconds
146
-
147
- stream: Whether or not the response content should be streamed (i.e. not read to
148
- completion immediately), default False
149
137
"""
150
138
return await self ._post (
151
139
"/audio/speech" ,
@@ -160,11 +148,7 @@ async def create(
160
148
speech_create_params .SpeechCreateParams ,
161
149
),
162
150
options = make_request_options (
163
- extra_headers = extra_headers ,
164
- extra_query = extra_query ,
165
- extra_body = extra_body ,
166
- timeout = timeout ,
167
- stream = stream ,
151
+ extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
168
152
),
169
153
cast_to = HttpxBinaryResponseContent ,
170
154
)
0 commit comments