provider voicesvoices POST /v1/voices/{voice_id}/settings/edit
@utdk/elevenlabs /v1/voices/{voice_id}/settings/edit
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.
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
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.

editVoiceSettings
POST/v1/voices/{voice_id}/settings/edit
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.

Parameters

required

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

Input

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.

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

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

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.

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.

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.editVoiceSettings({
  "stability": "0.5",
  "use_speaker_boost": "true",
  "similarity_boost": "0.75",
  "style": "0",
  "speed": "1"
})