Update PVC voice sample

Update a PVC voice sample - apply noise removal, or select speaker.

Path parameters

voice_idstringRequired

Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.

sample_idstringRequired

Sample ID to be used

Headers

xi-api-keystringRequired

Request

This endpoint expects an object.
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.

selected_speaker_idslist of stringsOptional

Speaker IDs to be used for PVC training. Make sure you send all the speaker IDs you want to use for PVC training in one request because the last request will override the previous ones.

trim_start_timeintegerOptional

The start time of the audio to be used for PVC training. Time should be in milliseconds

trim_end_timeintegerOptional

The end time of the audio to be used for PVC training. Time should be in milliseconds

Response

Successful Response

voice_idstring

The ID of the voice.

Errors