Skip to content

Commit 6b60d2f

Browse files
committed
Add missing voice Ballad to enum
1 parent 097945b commit 6b60d2f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

async-openai/src/types/audio.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ pub enum Voice {
4040
#[default]
4141
Alloy,
4242
Ash,
43+
Ballad,
4344
Coral,
4445
Echo,
4546
Fable,

openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11439,7 +11439,7 @@ components:
1143911439
voice:
1144011440
description: The voice to use when generating the audio. Supported voices are `alloy`, `echo`, `fable`, `onyx`, `nova`, and `shimmer`. Previews of the voices are available in the [Text to speech guide](/docs/guides/text-to-speech/voice-options).
1144111441
type: string
11442-
enum: ["alloy", "echo", "fable", "onyx", "nova", "shimmer"]
11442+
enum: ["alloy", "echo", "fable", "onyx", "nova", "shimmer", "ash", "ballad", "coral", "sage"]
1144311443
response_format:
1144411444
description: "The format to audio in. Supported formats are `mp3`, `opus`, `aac`, `flac`, `wav`, and `pcm`."
1144511445
default: "mp3"

0 commit comments

Comments
 (0)