VoxCPM2 offline, voice clone, 30 languages

VoicesOfflineGPU optionalVoice cloningCommercial use OK

Dubs your subtitles in 30 languages with OpenBMB's VoxCPM2, in each speaker's own voice cloned from the video, or in a voice made from a description. It runs on your own computer, and the add-on, the code and the weights are all Apache-2.0.

Install it from Subtitld

Settings Add-ons VoxCPM2 (offline, voice clone, 30 languages) Install

Subtitld downloads it, checks its SHA-256, and keeps it updated.

Source on GitHub
Languages
30
Models
1
Voices
9
Add-on download
9–17 MB
RAM, at least
4.5 GB

Listen

What it does

The speaker's own voice

Subtitld cuts a clip of each speaker from the video and sends it with the words spoken in it. VoxCPM2 continues from that clip, so the dub sounds like the person on screen, in any of its 30 languages.

Or a voice you describe

Seven ready-made voices, from a warm woman to a gravelly older man and a narrator, or your own words: "a young man, fast and cheerful".

Studio sound

Speech comes out at 48 kHz, the rate video uses.

Free for commercial work

The add-on, the audio.cpp engine and the VoxCPM2 weights are all Apache-2.0.

Before you install

VoxCPM2 is a large model, 2.4 billion parameters. It gives the most natural dubs of the offline add-ons, and asks the most of your computer:

  • Disk: about 3.2 GB, most of it the 2.96 GB model, downloaded on the first line you dub.
  • Memory: about 4.5 GB free. With less it still runs, but far slower.
  • Time: on a CPU each second of speech takes several seconds to make: about 4.5 seconds on an Intel Core i7-13700T. A ten-minute video can take most of an hour. On an Apple Silicon Mac it runs on the GPU.

For quick dubs on modest computers, Piper or Kokoro are much lighter.

Voices

In the Speakers tab, choose VoxCPM2 as a speaker's Dubbing engine, then pick a Voice. Turn on Fit dub to subtitle duration for the speaker to stretch or squeeze each line to its subtitle.

9 voices.

The cloned voice

With Speaker's own voice, Subtitld cuts a sample of that speaker from the project's audio, from one of their subtitles of 3 to 12 seconds, or several short ones joined. If you have separated music from voice for this video, the sample comes from the voice alone. The Fallback reference clip in the add-on's settings is used only when no sample can be cut.

Subtitld sends the subtitle text with the sample, and VoxCPM2 carries on from it, which comes closest to the speaker, delivery included. If a dub into another language keeps the speaker's accent, turn on Clone the timbre only.

Described voices

VoxCPM2 makes up a new voice every time it reads a description. So the add-on makes each speaker's voice once, and every line of that speaker reuses it: the voice stays the same through the video, and two speakers given the same description still sound like two people.

Models

There is one model, VoxCPM2, with its weights stored in 8 bits, as the audio.cpp project converted it. In our tests it was as accurate and as close to the speaker as the original, at about half the size. It is not inside the add-on: it downloads into Subtitld's shared model cache the first time you dub, from Hugging Face at a pinned revision, and is checked. An interrupted download resumes where it stopped. Updating or removing the add-on keeps the model.

If you used a version before 26.11.1, the 4.96 GB of model files it downloaded are deleted once the new model has downloaded and checked out.

Model DownloadGood for
VoxCPM2 (2.4B, 8-bit) Default voxcpm2
2.8 GB
Every voice, in all 30 languages

The first line also loads the model, so it takes longer than the ones after it. On an Apple Silicon Mac, the very first time, the add-on also speaks one short test line on the GPU, and uses the CPU if that doesn't work. Cancel stops a line between two steps, or stops the download.

Options

In Settings › Add-ons › VoxCPM2 (offline, voice clone, 30 languages) › Configure.

Quality steps
Default: 10

More steps, clearer speech, slower. 5 is about a quarter faster than 10, with audibly less clarity.

Guidance
Default: 2

How closely the speech follows the text and the voice. VoxCPM's default is 2.0.

CPU threads
Default: 0

0 picks the performance cores on CPUs that also have efficiency cores. Fewer threads keep the computer more responsive while it dubs.

Voice description
Default: empty

Used by the voice "Voice you describe": who speaks and how, in a few words, for example "An elderly woman, soft and warm voice, slow pace". English works for every language.

Fallback reference clip
Default: empty

A clip for the cloned voice when Subtitld can't cut one from the video, for example with no video open: 3 to 15 seconds of one person speaking.

Fallback reference transcript
Default: empty

The exact words spoken in the clip above. With them the clone comes closer to the speaker.

Clone the timbre only
Default: off

Clones only the sound of the voice, not the clip's delivery. Try it when a dub into another language keeps the speaker's accent, or when your subtitles paraphrase the speech.

Languages

Arabic, Burmese, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Indonesian, Italian, Japanese, Khmer, Korean, Lao, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Tagalog, Thai, Turkish and Vietnamese. VoxCPM2 reads the language from the text itself, so every voice speaks every language.

  • ar
  • my
  • zh
  • da
  • nl
  • en
  • fi
  • fr
  • de
  • el
  • he
  • hi
  • id
  • it
  • ja
  • km
  • ko
  • lo
  • ms
  • no
  • pl
  • pt
  • ru
  • es
  • sw
  • sv
  • tl
  • th
  • tr
  • vi

Platforms

System DownloadTested
Haiku x86-64 9.1 MB
Linux x86-64 17.0 MBDubbed with the real model on a real machine, and on AlmaLinux 8; built and checked in CI
macOS (Apple silicon) 16.3 MBIn CI, the installed add-on downloads the model, speaks, clones a voice and cancels a line (Apple Silicon)
Windows x86-64 13.7 MBIn CI, the installed add-on downloads the model, speaks, clones a voice and cancels a line

Linux x86-64 (any distribution from 2018 on, glibc 2.28 or newer), macOS 13.3 or newer on Apple Silicon, and Windows x86-64. Each release is built on all three, and on each CI installs the add-on, downloads the model, and has it speak, clone a voice and cancel a line.

Troubleshooting

  • network_unavailableThe model couldn't be downloaded. Check your connection and try again: the download resumes.
  • disk_fullNot enough disk space for the model. It needs about 3 GB free.
  • oomOut of memory. Close other programs; VoxCPM2 needs about 4.5 GB free.
  • bad_paramsThe line has no text, or the cloned voice got no sample: open the video, or set a Fallback reference clip. The message says which.
  • unsupported_voiceThe project names a voice this version doesn't have. Pick the voice again in the Speakers tab.
  • internalSomething failed inside the add-on; the message has the details.

License

Add-on
Apache-2.0
Engine
Apache-2.0
audio.cpp, with ggml (MIT)
Model
Apache-2.0
VoxCPM2 weights, by OpenBMB

Fine for commercial work: the add-on, the audio.cpp engine and the VoxCPM2 weights are all Apache-2.0, and ggml, which audio.cpp runs on, is MIT. The dubs you make are yours. A cloned voice sounds like a real person: clone voices you have the right to use, and say that a dub is synthetic where it matters.

Versions

  • 26.11.2

    A Haiku archive (x86-64) joins the Linux, macOS and Windows ones. audio.cpp is built on Haiku and goes in the archive, with three Haiku fixes: the model is mapped, not read whole into memory; the memory of each tensor is given back once it is loaded; and one thread pool serves every graph, so speaking many lines no longer grows the process. On Haiku the nine model contexts also reserve 64 MB each instead of up to 3 GB, which Haiku, unlike Linux, would really set aside. The add-on runs on HaikuPorts' Python 3.14. Subtitld installs it there and offers to install the Haiku packages it needs. Nothing changes on the other platforms.

    What's Changed

    • Haiku: audio.cpp built on Haiku with three patches, small ggml contexts there by @jonata in https://github.com/Subtitld/addon-voxcpm/pull/1

    New Contributors

    • @jonata made their first contribution in https://github.com/Subtitld/addon-voxcpm/pull/1

Other Voices add-ons