Voice Cloning (BETA)
Create, delete, or edit custom TTS voices.
Header
Add your API token here. You can find it by reading the /authentication page.
Body
The action to perform. Must be one of: create
, delete
, or edit
.
create
Action Parameters
Base64 encoded audio file (WAV or MP3). Must be between 30 seconds and 5 minutes in length and under 10MB.
Name for the custom voice. Must be between 3 and 50 characters.
The language of the voice. Must be one of the supported languages.
delete
Action Parameters
The ID of the custom voice to delete.
edit
Action Parameters
The ID of the custom voice to edit.
New name for the custom voice. Must be between 3 and 50 characters.
New language for the voice. Must be one of the supported languages:
Response
create
Action Response
Unique identifier for the created voice.
Name of the custom voice.
Language of the voice.
URL to the training audio file.
URL to a sample generated using the voice. This counts towards your character usage.
delete
Action Response
Confirmation message of the deletion.
edit
Action Response
ID of the edited voice.
Updated name (if changed).
Updated language (if changed).
New sample URL (if language was changed). This counts towards your character usage.
Limitations
- Voice creation is limited based on your subscription plan
- Audio files must be between 30 seconds and 5 minutes in duration
- File size limit is 10MB
- Voice names must be between 3 and 50 characters
- Only WAV and MP3 file formats are supported
Supported Languages
- English
en
- Spanish
es
- French
fr
- Japanese
ja
- Korean
ko
- Italian
it
- Polish
pl
- German
de
- Portuguese
pt
- Arabic
ar
- Dutch
nl
- Russian
ru