List every voice your account can use, or retrieve one by
voice_id. Pass the voice_id when you generate speech.Voice object describes one voice. Pass its voice_id when you use batch or open a realtime reply. See Voices and languages for the full catalog.
The Voice Object
Attributes
Language codes the voice speaks, for example
["en-US"] or ["hi"]. Each voice speaks one language today.Whether the voice supports custom pronunciations: inline
pronunciations or a saved lexicon passed as lexicon_id. Which rule kinds it accepts (ipa, arpa, respell) depends on the voice; a kind it doesn’t take returns invalid_request.Example Voice Object
List All Voices
List the voices your account can use.Arguments
No arguments. Query parameters aren’t accepted: one returns422 invalid_request naming it.
Response
Retrieve a Voice
Get one voice by itsvoice_id.
Arguments
No arguments. Avoice_id that isn’t in your list returns 404 voice_not_found.
Response
The Voice object, with the request’sapi_id.