Skip to content

Commit 6b64280

Browse files
authored
Merge pull request #203 from rattrayalex/patch-13
Add wav and pcm to supported audio response_format
2 parents 867fecc + 44306c2 commit 6b64280

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

openapi.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6930,10 +6930,14 @@ components:
69306930
type: string
69316931
enum: ["alloy", "echo", "fable", "onyx", "nova", "shimmer"]
69326932
response_format:
6933-
description: "The format to audio in. Supported formats are `mp3`, `opus`, `aac`, and `flac`."
6933+
description: |-
6934+
The format to return audio in.
6935+
Supported formats are `mp3`, `opus`, `aac`, `flac`, `pcm`, and `wav`.
6936+
6937+
The `pcm` audio format, similar to `wav` but without a header, utilizes a 24kHz sample rate, mono channel, and 16-bit depth in signed little-endian format.
69346938
default: "mp3"
69356939
type: string
6936-
enum: ["mp3", "opus", "aac", "flac"]
6940+
enum: ["mp3", "opus", "aac", "flac", "pcm", "wav"]
69376941
speed:
69386942
description: "The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default."
69396943
type: number

0 commit comments

Comments
 (0)