Skip to content

Commit

Permalink
Merge pull request #203 from rattrayalex/patch-13
Browse files Browse the repository at this point in the history
Add wav and pcm to supported audio response_format
  • Loading branch information
bakks authored Feb 23, 2024
2 parents 867fecc + 44306c2 commit 6b64280
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6930,10 +6930,14 @@ components:
type: string
enum: ["alloy", "echo", "fable", "onyx", "nova", "shimmer"]
response_format:
description: "The format to audio in. Supported formats are `mp3`, `opus`, `aac`, and `flac`."
description: |-
The format to return audio in.
Supported formats are `mp3`, `opus`, `aac`, `flac`, `pcm`, and `wav`.
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.
default: "mp3"
type: string
enum: ["mp3", "opus", "aac", "flac"]
enum: ["mp3", "opus", "aac", "flac", "pcm", "wav"]
speed:
description: "The speed of the generated audio. Select a value from `0.25` to `4.0`. `1.0` is the default."
type: number
Expand Down

0 comments on commit 6b64280

Please sign in to comment.