async coqui.Coqui.clone_voice(audio_file: str | BinaryIO, name: str) ClonedVoice

Clone a voice from an audio file.

Parameters:
audio_file: str | BinaryIO

either a string (file path) or an opened file with mode=”wb”

name: str

name of the cloned voice

Returns:

A ClonedVoice instance for the newly created voice.