Class VoiceSettings
Inherited Members
Namespace: Glitch9.AIDevKit.ElevenLabs
Assembly: Glitch9.AIDevKit.Provider.ElevenLabs.dll
Syntax
public class VoiceSettings
Properties
| Edit this page View SourceSimilarityBoost
Optional. Determines how closely the AI should adhere to the original voice when attempting to replicate it.
Declaration
[JsonProperty("similarity_boost")]
public double? SimilarityBoost { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
Speed
Optional. Controls the speed of the generated speech. Values range from 0.7 to 1.2, with 1.0 being the default speed. Lower values create slower, more deliberate speech while higher values produce faster-paced speech. Extreme values can impact the quality of the generated speech.
Declaration
[JsonProperty("speed")]
public double? Speed { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
Stability
Optional. 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.
Declaration
[JsonProperty("stability")]
public double? Stability { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
Style
Optional. Determines the style exaggeration of the voice. This setting attempts to amplify the style of the original speaker. This setting consumes additional computational resources and might increase latency if set to anything other than 0.
Declaration
[JsonProperty("style")]
public double? Style { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
UseSpeakerBoost
Optional. This setting boosts the similarity to the original speaker. Using this setting requires a slightly higher computational load, which in turn increases latency.
Declaration
[JsonProperty("use_speaker_boost")]
public bool? UseSpeakerBoost { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
UseStyleExaggeration
Optional. The use of style exaggeration in the voice output.
Declaration
[JsonProperty("use_style_exaggeration")]
public bool? UseStyleExaggeration { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |