Skip to main content

Overview

Voice settings control how speech is generated for a specific voice. The voices.settings namespace provides methods to retrieve default settings, get current settings for a voice, and update voice-specific settings.
Note: similarity_boost corresponds to “Clarity + Similarity Enhancement” in the web app, and stability corresponds to the “Stability” slider.

Voice Settings Object

The VoiceSettings object contains the following parameters:
object

Get Default Settings

Retrieves the default settings for voices.

Method Signature

Parameters

Returns

object
The default voice settings object.

Example


Get Voice Settings

Retrieves the current settings for a specific voice.

Method Signature

Parameters

Returns

object
The current settings for the specified voice.

Example


Update Voice Settings

Updates the settings for a specific voice.

Method Signature

Parameters

Returns

object
Response confirming the settings update.

Example


Complete Examples

Optimize Settings for Narration

Configure settings for audiobook narration:

Optimize Settings for Expressive Dialogue

Configure settings for character dialogue:

Compare Settings Across Voices

Retrieve and compare settings for multiple voices:

Reset to Default Settings

Reset a voice to default settings:

Async Settings Management

Manage voice settings asynchronously:

Settings Guidelines

  • 0.3-0.5: Highly expressive, emotional content (character voices, dramatic readings)
  • 0.6-0.7: Balanced, natural speech (conversations, interviews)
  • 0.8-1.0: Consistent, clear narration (audiobooks, professional content)
  • 0.5-0.6: More creative interpretation of the voice
  • 0.7-0.8: Balanced similarity (recommended for most use cases)
  • 0.9-1.0: Maximum similarity to original voice (cloned voices)
  • 0.0: No style exaggeration (recommended for most cases)
  • 0.2-0.4: Subtle style enhancement
  • 0.5-1.0: Strong style exaggeration (use sparingly, increases latency)
  • 0.5-0.8: Slower speech (better for comprehension, language learning)
  • 0.9-1.1: Natural speaking pace
  • 1.2-2.0: Faster speech (time-saving, energetic content)