openai / openai-realtime-api-beta

Node.js + JavaScript reference client for the Realtime API (beta)
MIT License
664 stars 155 forks source link

Add support for the 5 new voices released yesterday #61

Open zaurbek-stark opened 2 weeks ago

zaurbek-stark commented 2 weeks ago

Hi!

5 new voices were released yesteday. Could you add them to the package?

image

We can't use them yet.

Thank you!

steve-obrien commented 1 week ago

These new voices work if you update the session using their string name

ai.updateSession({
    instructions: instructions,
    voice: 'ballad',
})
hamzasaleem2 commented 1 week ago
image

doesn't have all the voices.

htsuruo commented 1 week ago

Hi guys,

I have submitted a PR to support five new voices: https://github.com/openai/openai-realtime-api-beta/pull/63

Until the PR is merged, you can replace @openai/realtime-api-beta in your package.json file and then run npm install.

"@openai/realtime-api-beta": "github:htsuruo/openai-realtime-api-beta#feature/htsuruo/support-new-voices",

After this, you will be able to select the new voices with type safety.

SCR-20241105-owch