Generate audio from text using the specified voice and format.
voice is normalized by provider with an internal alias map:
openai: common voices (for example alloy, ash, ballad, coral, echo, fable, onyx, nova, sage, shimmer, verse, cedar, marin).google (AI Studio / Gemini TTS): canonical prebuilt voices:
Zephyr, Puck, Charon, Kore, Fenrir, Leda, Orus, Aoede, Callirrhoe, Autonoe, Enceladus, Iapetus, Umbriel, Algieba, Despina, Erinome, Algenib, Rasalgethi, Laomedeia, Achernar, Alnilam, Schedar, Gacrux, Pulcherrima, Achird, Zubenelgenubi, Vindemiatrix, Sadachbia, Sadaltager, Sulafat.elevenlabs: common public starter voices are mapped (for example rachel, domi, bella, antoni, elli, josh, arnold, adam, sam).voice is not valid for the routed provider/model mapping, the request returns 400 invalid_request_error with param: "voice".
config.elevenlabs.voice_id / config.elevenlabs.voice / config.elevenlabs.voiceNameconfig.google.voice_name / config.google.voiceNamevoice should be your default for portability.
Bearer token authentication
Audio file
The response is of type file.