Create voice
Uploads a reference audio clip and creates a new voice.
Uploads a reference audio clip and creates a new voice.
Headers
AuthorizationRequiredBearer <SONIOX_API_KEY>Request
multipart/form-dataRequirednameRequiredstringA name for the voice, unique within your project.
Minimum length:
1Maximum length: 128fileRequiredfileThe reference audio clip for the voice.
Format:
"binary"Response
201
Created
idRequiredstringUnique identifier of the voice.
Format:
"uuid"nameRequiredstringName of the voice.
filenameRequiredstringOriginal file name of the uploaded audio clip.
created_atRequiredstringUTC timestamp indicating when the voice was created.
Format:
"date-time"modelsRequiredarray<object>Voice status for each available model. A model with status 'not_computed' is not prepared yet (e.g. it was released after the voice was created); call recompute to prepare the voice for it.
Errors
Created
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"filename": "string",
"created_at": "2019-08-24T14:15:22Z",
"models": [
{
"model": "string",
"status": "not_computed",
"error_type": "string",
"error_message": "string"
}
]
}