Overview
Instant Voice Cloning (IVC) allows you to create a custom voice clone from audio samples. This feature requires an API key and enables you to generate voices that match the characteristics of your provided samples.Basic Voice Cloning
Create a voice clone with multiple audio samples:Parameters
string
required
The name that identifies this voice. This will be displayed in the dropdown of the website.
List[File]
required
List of audio file paths to use for voice cloning. Multiple samples improve quality.
string
A description of the voice to help identify it later.
boolean
If set, will remove background noise from voice samples using the audio isolation model. If the samples do not include background noise, it can make the quality worse.
dict
Labels for the voice. Keys can be language, accent, gender, or age.
With Background Noise Removal
Use the audio isolation model to clean up samples:With Voice Labels
Add metadata labels to organize your voices:Using the Cloned Voice
Once created, use the voice ID for text-to-speech:Async Voice Cloning
For async operations:Best Practices
Response Object
Thecreate method returns an AddVoiceIvcResponseModel with:
voice_id- The unique identifier for the cloned voice- Other voice metadata
Error Handling
Related Features
- Audio Isolation - Clean audio samples before cloning
- Speech to Speech - Use cloned voices for voice conversion
- Text to Speech - Generate speech with cloned voices