v5

OpenAPI 3.1.02026-08-043621,4011.8 MB
voices
voices

Edit Voice Settings

Edit your settings for a specific voice. "similarity_boost" corresponds to "Clarity + Similarity Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app.

post/v1/voices/{voice_id}/settings/edit

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.

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

stabilitynumber nullable

Determines how stable the voice is and the randomness between each generation. Lower values introduce broader emotional range for the voice. Higher values can result in a monotonous voice with limited emotion.

use_speaker_boostboolean nullable

This setting boosts the similarity to the original speaker. Using this setting requires a slightly higher computational load, which in turn increases latency.

similarity_boostnumber nullable

Determines how closely the AI should adhere to the original voice when attempting to replicate it.

stylenumber nullable

Determines the style exaggeration of the voice. This setting attempts to amplify the style of the original speaker. It does consume additional computational resources and might increase latency if set to anything other than 0.

speednumber nullable

Adjusts the speed of the voice. A value of 1.0 is the default speed, while values less than 1.0 slow down the speech, and values greater than 1.0 speed it up.

Example request

{
  "similarity_boost": 1,
  "speed": 1,
  "stability": 1,
  "style": 0,
  "use_speaker_boost": true
}

Response

Successful Response

statusstring required

The status of the voice settings edit request. If the request was successful, the status will be 'ok'. Otherwise an error message with status 500 will be returned.

Example response

{
  "status": "ok"
}