provider pvc-voices POST /v1/voices/pvc/{voice_id}/samples/{sample_id}
@utdk/elevenlabs /v1/voices/pvc/{voice_id}/samples/{sample_id}
Update Pvc Voice Sample
Update a PVC voice sample - apply noise removal, select speaker, change trim times or file name.
voice_id path required
Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
string
sample_id path required
Sample ID to be used
string
xi-api-key header
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Try it

Authentication
Configure credentials for ElevenLabs API Documentation
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

editPvcVoiceSample
POST/v1/voices/pvc/{voice_id}/samples/{sample_id}
Update a PVC voice sample - apply noise removal, select speaker, change trim times or file name.

Parameters

required

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

required

Sample ID to be used

Input

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.

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.

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

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

The name of the audio file to be used for PVC training.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import elevenlabs from '@utdk/elevenlabs';

await elevenlabs.editPvcVoiceSample({
  "remove_background_noise": false
})