Upload a voice sample to create a new voice prompt in the voice bank. The audio data must be base64-encoded. Maximum file size is 20 MB.
API key for authentication. Must start with dd- prefix.
API Key
Voice upload request. Audio data must be base64-encoded and not exceed 20 MB.
Request to upload a voice sample and create a voice prompt
Name of the audio file being uploaded
"voice_sample.wav"
Base64-encoded audio data
Title for the voice prompt
"Professional Narrator"
Transcript of the spoken text in the audio sample
"This is a sample recording for voice cloning."
Language locale code of the voice sample
"en-US"
Gender of the speaker
MALE, FEMALE, NON_BINARY "FEMALE"
Age of the speaker
35
Speaking style descriptor
"narrative"
Optional external speaker identifier
Whether to make the voice prompt publicly available
false
Voice prompt created successfully
Response after creating or deleting a voice prompt