v5

latestOpenAPI 3.1.02026-08-043621,4011.8 MB
pvc-voices

Retrieve Voice Sample Visual Waveform

Retrieve the visual waveform of a voice sample.

get/v1/voices/pvc/{voice_id}/samples/{sample_id}/waveform

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.

Response

Successful Response

sample_idstring required

The ID of the sample.

visual_waveformnumber[] required

The visual waveform of the sample, represented as a list of floats.

Example response

{
  "sample_id": "DCwhRBWXzGAHq8TQ4Fs18",
  "visual_waveform": [
    0.1,
    0.2,
    0.3,
    0.4,
    0.5
  ]
}