Skip to content

fix(audio): add missing speech voice constants#743

Open
MukundaKatta wants to merge 1 commit into
openai:mainfrom
MukundaKatta:codex/speech-voice-constants
Open

fix(audio): add missing speech voice constants#743
MukundaKatta wants to merge 1 commit into
openai:mainfrom
MukundaKatta:codex/speech-voice-constants

Conversation

@MukundaKatta
Copy link
Copy Markdown

Fixes #642.

Summary:

  • add fable, onyx, and nova as known SpeechCreateParams.Voice.UnionMember1 values
  • wire the new values through Known, Value, value(), and known()
  • add regression coverage for the missing known speech voices

Validation:

  • ./gradlew :openai-java-core:test --tests com.openai.models.audio.speech.SpeechCreateParamsTest --stacktrace could not run locally because the installed JDK is Temurin 25.0.2 and the repo's Kotlin/Gradle DSL stack fails while parsing that Java version string (java.lang.IllegalArgumentException: 25.0.2).

@MukundaKatta MukundaKatta requested a review from a team as a code owner May 15, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SpeechCreateParams.Voice constants do not match the voices lists in the speech synthesis OpenAI API docs

2 participants