Create Voice

Create a personal (cloned) voice for the user

Authentication

AuthorizationBearer

Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.

Request

This endpoint expects a multipart form with multiple files.
namestringRequired
Name of the personal voice
localestringOptionalDefaults to en-US

Native language (locale) of the personal voice (e.g. en-US, es-ES, etc.)

genderenumRequired
Gender marker for the personal voice male GenderMale female GenderFemale notSpecified GenderNotSpecified
Allowed values:
samplefileRequired
Audio sample file
avatarfileOptional
Avatar image file
consentstringRequired

A string representing the user consent information in JSON format This should include the fullName and email of the consenting individual. For example, {"fullName": "John Doe", "email": "john@example.com"}

Response

A created voice
display_namestring
genderenum
localestring
idstring
modelslist of objects
typeenum
avatar_imagestring

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error