elevenlabs / elevenlabs-python

The official Python API for ElevenLabs Text to Speech.
https://elevenlabs.io/docs/api-reference/getting-started
MIT License
2.12k stars 240 forks source link

Using Aliases with SSML Tags on the Fly #319

Open ibiscp opened 2 months ago

ibiscp commented 2 months ago

Is it possible to use aliases with SSML tags without relying on a dictionary?

I'm asking because I would like to generate aliases dynamically, so I do not have them beforehand to add to a dictionary. For example, sometimes I need to replace a number with its word equivalent. I'm using the multilingual model.

I would like to have something like this: I have <alias alias="ten">10</alias> apples.

Is this feasible?