Model reference · open weights
OpenVoice is an open-weight audio or speech model from myshell-ai. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Maker | myshell-ai |
|---|---|
| Type | Audio & music |
| Task | Text→speech |
| Released | 2024-04-23 |
| Popularity | 0 downloads / month |
| Licence | Open weights |
About
In April 2024, we release OpenVoice V2, which includes all features in V1 and has:
Better Audio Quality. OpenVoice V2 adopts a different training strategy that delivers better audio quality.
Native Multi-lingual Support. English, Spanish, French, Chinese, Japanese and Korean are natively supported in OpenVoice V2.
Free Commercial Use. Starting from April 2024, both V2 and V1 are released under MIT License. Free for commercial use.
Please see usage for detailed instructions.
The input speech audio of OpenVoice can be in Any Language. OpenVoice can clone the voice in that speech audio, and use the voice to speak in multiple languages. For quick use, we recommend you to try the already deployed services:
This section is only for developers and researchers who are familiar with Linux, Python and PyTorch. Clone this repo, and run
conda create -n openvoice python=3.9
conda activate openvoice
git clone git@github.com:myshell-ai/OpenVoice.git
cd OpenVoice
pip install -e .
No matter if you are using V1 or V2, the above installation is the same.
Download the checkpoint from here and extract it to the checkpoints folder.
1. Flexible Voice Style Control.
Please see demo_part1.ipynb for an example usage of how OpenVoice enables flexible style control over the cloned voice.
2. Cross-Lingual Voice Cloning.
Please see demo_part2.ipynb for an example for languages seen or unseen in the MSML training set.
3. Gradio Demo.. We provide a minimalist local gradio demo here. We strongly suggest the users to look into demo_part1.ipynb, demo_part2.ipynb and the QnA if they run into issues with the gradio demo. Launch a local gradio demo with python -m openvoice_app --share.
Download the checkpoint from here and extract it to the checkpoints_v2 folder.
Install MeloTTS:
pip install git+https://github.com/myshell-ai/MeloTTS.git
python -m unidic download
Demo Usage. Please see demo_part3.ipynb for example usage of OpenVoice V2. Now it natively supports English, Spanish, French, Chinese, Japanese and Korean.
This section provides the unofficial installation guides by open-source contributors in the community:
From the published model card. Full card on the HuggingFace links in the sidebar.
How it works
Using it via the API
Once AxForge deploys openvoice for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (openvoice below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/audio/transcriptions \ -H "Authorization: Bearer $AXFORGE_API_KEY" \ -F model="openvoice" -F file=@audio.mp3
Create an account — your API key is available in the console. 5M tokens/month currently included with every new account at launch.