@@ -163,6 +163,7 @@ def generate(
163163 * ,
164164 text : str ,
165165 voice : str ,
166+ debug : bool | NotGiven = NOT_GIVEN ,
166167 format : Literal ["aac" , "mp3" , "ulaw" , "wav" , "webm" , "pcm_s16le" , "pcm_f32le" ] | NotGiven = NOT_GIVEN ,
167168 language : Literal [
168169 "auto" ,
@@ -215,6 +216,9 @@ def generate(
215216 voice: The voice id of the voice to use; voice ids can be retrieved by calls to
216217 `List voices` or `Voice info`.
217218
219+ debug: When set to true, the generated speech will also be saved to your
220+ [clip library](https://app.lmnt.com/clips) in the LMNT playground.
221+
218222 format: The desired output format of the audio. If you are using a streaming endpoint,
219223 you'll generate audio faster by selecting a streamable format since chunks are
220224 encoded and returned as they're generated. For non-streamable formats, the
@@ -268,6 +272,7 @@ def generate(
268272 {
269273 "text" : text ,
270274 "voice" : voice ,
275+ "debug" : debug ,
271276 "format" : format ,
272277 "language" : language ,
273278 "model" : model ,
@@ -289,6 +294,7 @@ def generate_detailed(
289294 * ,
290295 text : str ,
291296 voice : str ,
297+ debug : bool | NotGiven = NOT_GIVEN ,
292298 format : Literal ["aac" , "mp3" , "ulaw" , "wav" , "webm" , "pcm_s16le" , "pcm_f32le" ] | NotGiven = NOT_GIVEN ,
293299 language : Literal [
294300 "auto" ,
@@ -340,6 +346,9 @@ def generate_detailed(
340346 voice: The voice id of the voice to use; voice ids can be retrieved by calls to
341347 `List voices` or `Voice info`.
342348
349+ debug: When set to true, the generated speech will also be saved to your
350+ [clip library](https://app.lmnt.com/clips) in the LMNT playground.
351+
343352 format: The desired output format of the audio. If you are using a streaming endpoint,
344353 you'll generate audio faster by selecting a streamable format since chunks are
345354 encoded and returned as they're generated. For non-streamable formats, the
@@ -394,6 +403,7 @@ def generate_detailed(
394403 {
395404 "text" : text ,
396405 "voice" : voice ,
406+ "debug" : debug ,
397407 "format" : format ,
398408 "language" : language ,
399409 "model" : model ,
@@ -546,6 +556,7 @@ async def generate(
546556 * ,
547557 text : str ,
548558 voice : str ,
559+ debug : bool | NotGiven = NOT_GIVEN ,
549560 format : Literal ["aac" , "mp3" , "ulaw" , "wav" , "webm" , "pcm_s16le" , "pcm_f32le" ] | NotGiven = NOT_GIVEN ,
550561 language : Literal [
551562 "auto" ,
@@ -598,6 +609,9 @@ async def generate(
598609 voice: The voice id of the voice to use; voice ids can be retrieved by calls to
599610 `List voices` or `Voice info`.
600611
612+ debug: When set to true, the generated speech will also be saved to your
613+ [clip library](https://app.lmnt.com/clips) in the LMNT playground.
614+
601615 format: The desired output format of the audio. If you are using a streaming endpoint,
602616 you'll generate audio faster by selecting a streamable format since chunks are
603617 encoded and returned as they're generated. For non-streamable formats, the
@@ -651,6 +665,7 @@ async def generate(
651665 {
652666 "text" : text ,
653667 "voice" : voice ,
668+ "debug" : debug ,
654669 "format" : format ,
655670 "language" : language ,
656671 "model" : model ,
@@ -672,6 +687,7 @@ async def generate_detailed(
672687 * ,
673688 text : str ,
674689 voice : str ,
690+ debug : bool | NotGiven = NOT_GIVEN ,
675691 format : Literal ["aac" , "mp3" , "ulaw" , "wav" , "webm" , "pcm_s16le" , "pcm_f32le" ] | NotGiven = NOT_GIVEN ,
676692 language : Literal [
677693 "auto" ,
@@ -723,6 +739,9 @@ async def generate_detailed(
723739 voice: The voice id of the voice to use; voice ids can be retrieved by calls to
724740 `List voices` or `Voice info`.
725741
742+ debug: When set to true, the generated speech will also be saved to your
743+ [clip library](https://app.lmnt.com/clips) in the LMNT playground.
744+
726745 format: The desired output format of the audio. If you are using a streaming endpoint,
727746 you'll generate audio faster by selecting a streamable format since chunks are
728747 encoded and returned as they're generated. For non-streamable formats, the
@@ -777,6 +796,7 @@ async def generate_detailed(
777796 {
778797 "text" : text ,
779798 "voice" : voice ,
799+ "debug" : debug ,
780800 "format" : format ,
781801 "language" : language ,
782802 "model" : model ,
0 commit comments