elevenlabs-python icon indicating copy to clipboard operation
elevenlabs-python copied to clipboard

How to select a language now with the Eleven Multilingual v1

Open kevngzc opened this issue 3 years ago • 1 comments

Hello,

is it possible now to select the language like in the UI with the new Eleven Multilingual v1 by the API with your python library ?

Regards,

Screenshot 2023-04-30 at 18 42 27

kevngzc avatar Apr 30 '23 16:04 kevngzc

Hi! This has been added to the python api in v0.2.8 (pip install elevenlabs -U). You can use it as follows:

from elevenlabs import generate, play

audio = generate(
    text="¡Hola! Mi nombre es Arnold, encantado de conocerte!",
    voice="Arnold",
    model='eleven_multilingual_v1'
)

play(audio)

flavioschneider avatar May 01 '23 15:05 flavioschneider