Edit voice

Edit a voice created by you.

Path parameters

voice_idstringRequired

ID of the voice to be used. You can use the Get voices endpoint list all the available voices.

Headers

xi-api-keystringRequired

Request

This endpoint expects a multipart form with multiple files.
namestringRequired

The name that identifies this voice. This will be displayed in the dropdown of the website.

filesfilesOptional

Audio files to add to the voice

remove_background_noisebooleanOptionalDefaults to false

If set will remove background noise for voice samples using our audio isolation model. If the samples do not include background noise, it can make the quality worse.

descriptionstringOptional

A description of the voice.

labelsstringOptional

Serialized labels dictionary for the voice.

Response

Successful Response

statusstring

The status of the voice edit request. If the request was successful, the status will be ‘ok’. Otherwise an error message with status 500 will be returned.

Errors