Open Voice
Text (162/2000)
Reference speaker

For multi-lingual and cross-lingual examples, please refer tothis jupyter notebook.This online demo mainly supports English. The default emotion also supports Chinese. But OpenVoice can adapt to any other language as long as a base speaker is provided.

And use it in the following codes.

import os
from leptonai.client import Client

api_token = os.environ.get('LEPTON_API_TOKEN')
c = Client("", token=api_token)
    text="Hi, can you hear me?",

# save as mp3 file
with open('output.mp3', 'wb') as f:

The rate limit for the Model APIs is 10 requests per minute across all models under Basic Plan. For the pricing plan, you may check out pricing page, If you need a higher rate limit with SLA or dedicated deployment, please contact us.