Add samples to PVC voice

Add audio samples to a PVC voice

Path parameters

voice_idstringRequired

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

Headers

xi-api-keystringOptional

Request

This endpoint expects a multipart form with multiple files.
filesfilesRequired

Audio files used to create 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.

Response

Successful Response

sample_idstringOptional

The ID of the sample.

file_namestringOptional

The name of the sample file.

mime_typestringOptional

The MIME type of the sample file.

size_bytesintegerOptional

The size of the sample file in bytes.

hashstringOptional

The hash of the sample file.

duration_secsdoubleOptional
remove_background_noisebooleanOptional
has_isolated_audiobooleanOptional
has_isolated_audio_previewbooleanOptional
speaker_separationobjectOptional
trim_startintegerOptional
trim_endintegerOptional

Errors