v4
OpenAPI 3.1.02026-07-313621,3961.8 MBpvc-voices
Update Pvc Voice Sample
Update a PVC voice sample - apply noise removal, select speaker, change trim times or file name.
post/v1/voices/pvc/{voice_id}/samples/{sample_id}
Path parameters
voice_idstring required
Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
Example:21m00Tcm4TlvDq8ikWAM
Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
sample_idstring required
Sample ID to be used
Example:VW7YKqPnjY4h39yTbx2L
Sample ID to be used
Headers
xi-api-keystring nullable
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.
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.
Request body
Example request
{
"remove_background_noise": true,
"trim_end_time": 10,
"file_name": "sample.mp3"
}Response
Successful Response
Example response
{
"voice_id": "b38kUX8pkfYO2kHyqfFy"
}