openai / openai/openai-java

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

Open
#642 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug spec
Dominant language
Kotlin
Stars
1.5k
Forks
264
Avg merge
9h 46m
Merged PRs (30d)
96

Description

I am using the latest library version 4.6.1.

Some of the voices listed at https://platform.openai.com/docs/api-reference/audio/createSpeech#audio-createspeech-voice ("alloy", "ash", "ballad", "coral", "echo", "fable", "onyx", "nova", "sage", "shimmer" and "verse") do not have a corresponding constant in SpeechCreateParams.Voice (https://javadoc.io/doc/com.openai/openai-java/latest/com/openai/models/audio/speech/SpeechCreateParams.Voice.html).

In particular, "fable", "onyx" and "nova" are missing, and the Java library provides constants CEDAR and MARIN that don't appear to match up with supported voices in the speech synthesis API.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review SpeechCreateParams.Voice and compare its constants with the speech synthesis voice list linked in the issue. Check the library version context and confirm which names are missing or unsupported; done means the constants accurately reflect the documented voices.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kotlin
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.