voices
voices

Edit Voice Settings

Changed on

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

Request

  • Base URL
    https://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.elevenlabs.io/v1/voices/{voice_id}/settings/edit
  • Auth
    none declared

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

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.

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.

clone_strengthnumber nullable

Controls how closely the voice matches the professional voice clone samples, from 0 (low) to 1 (high). We recommend 0 for most use cases. Increase this value only if you experience issues with the default settings. Only applies to professional voice clones fine-tuned for the selected v4 model.

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"
}

Changes

    • info

      added the new optional request property

    • warning

      the / request property's max was set to 1.00

    • warning

      the / request property's max was set to 1.00

    • warning

      the / request property's min was set to 0.00

    • warning

      the / request property's min was set to 0.00

    • info

      api operation id Edit_voice_settings_v1_voices__voice_id__settings_edit_post removed and replaced with edit_voice_settings

    • info

      the request property default value 0.75 was added

    • info

      the request property default value 1 was added

    • info

      the request property default value 0.5 was added

    • info

      the request property default value 0 was added

    • info

      the request property default value true was added