@@ -41,7 +41,6 @@ def create(
4141 extra_query : Query | None = None ,
4242 extra_body : Body | None = None ,
4343 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
44- stream : bool | None = None ,
4544 ) -> HttpxBinaryResponseContent :
4645 """
4746 Generates audio from the input text.
@@ -68,9 +67,6 @@ def create(
6867 extra_body: Add additional JSON properties to the request
6968
7069 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
7470 """
7571 return self ._post (
7672 "/audio/speech" ,
@@ -85,11 +81,7 @@ def create(
8581 speech_create_params .SpeechCreateParams ,
8682 ),
8783 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
9385 ),
9486 cast_to = HttpxBinaryResponseContent ,
9587 )
@@ -116,7 +108,6 @@ async def create(
116108 extra_query : Query | None = None ,
117109 extra_body : Body | None = None ,
118110 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
119- stream : bool | None = None ,
120111 ) -> HttpxBinaryResponseContent :
121112 """
122113 Generates audio from the input text.
@@ -143,9 +134,6 @@ async def create(
143134 extra_body: Add additional JSON properties to the request
144135
145136 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
149137 """
150138 return await self ._post (
151139 "/audio/speech" ,
@@ -160,11 +148,7 @@ async def create(
160148 speech_create_params .SpeechCreateParams ,
161149 ),
162150 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
168152 ),
169153 cast_to = HttpxBinaryResponseContent ,
170154 )
0 commit comments