@@ -53,7 +53,9 @@ def create(
5353 * ,
5454 input : str ,
5555 model : Union [str , SpeechModel ],
56- voice : Literal ["alloy" , "ash" , "coral" , "echo" , "fable" , "onyx" , "nova" , "sage" , "shimmer" ],
56+ voice : Union [
57+ str , Literal ["alloy" , "ash" , "ballad" , "coral" , "echo" , "fable" , "onyx" , "nova" , "sage" , "shimmer" , "verse" ]
58+ ],
5759 instructions : str | NotGiven = NOT_GIVEN ,
5860 response_format : Literal ["mp3" , "opus" , "aac" , "flac" , "wav" , "pcm" ] | NotGiven = NOT_GIVEN ,
5961 speed : float | NotGiven = NOT_GIVEN ,
@@ -75,8 +77,8 @@ def create(
7577 `tts-1`, `tts-1-hd` or `gpt-4o-mini-tts`.
7678
7779 voice: The voice to use when generating the audio. Supported voices are `alloy`, `ash`,
78- `coral`, `echo`, `fable`, `onyx`, `nova`, `sage` and `shimmer`. Previews of the
79- voices are available in the
80+ `ballad`, ` coral`, `echo`, `fable`, `onyx`, `nova`, `sage`, `shimmer`, and
81+ `verse`. Previews of the voices are available in the
8082 [Text to speech guide](https://platform.openai.com/docs/guides/text-to-speech#voice-options).
8183
8284 instructions: Control the voice of your generated audio with additional instructions. Does not
@@ -142,7 +144,9 @@ async def create(
142144 * ,
143145 input : str ,
144146 model : Union [str , SpeechModel ],
145- voice : Literal ["alloy" , "ash" , "coral" , "echo" , "fable" , "onyx" , "nova" , "sage" , "shimmer" ],
147+ voice : Union [
148+ str , Literal ["alloy" , "ash" , "ballad" , "coral" , "echo" , "fable" , "onyx" , "nova" , "sage" , "shimmer" , "verse" ]
149+ ],
146150 instructions : str | NotGiven = NOT_GIVEN ,
147151 response_format : Literal ["mp3" , "opus" , "aac" , "flac" , "wav" , "pcm" ] | NotGiven = NOT_GIVEN ,
148152 speed : float | NotGiven = NOT_GIVEN ,
@@ -164,8 +168,8 @@ async def create(
164168 `tts-1`, `tts-1-hd` or `gpt-4o-mini-tts`.
165169
166170 voice: The voice to use when generating the audio. Supported voices are `alloy`, `ash`,
167- `coral`, `echo`, `fable`, `onyx`, `nova`, `sage` and `shimmer`. Previews of the
168- voices are available in the
171+ `ballad`, ` coral`, `echo`, `fable`, `onyx`, `nova`, `sage`, `shimmer`, and
172+ `verse`. Previews of the voices are available in the
169173 [Text to speech guide](https://platform.openai.com/docs/guides/text-to-speech#voice-options).
170174
171175 instructions: Control the voice of your generated audio with additional instructions. Does not
0 commit comments