VoiceSettings

data class VoiceSettings(val stability: Double? = null, val similarityBoost: Double? = null, val style: Double? = null, val useSpeakerBoost: Boolean? = null, val speed: Double? = null)(source)

Optional controls that tune the generated voice.

Constructors

Link copied to clipboard
constructor(stability: Double? = null, similarityBoost: Double? = null, style: Double? = null, useSpeakerBoost: Boolean? = null, speed: Double? = null)

Properties

Link copied to clipboard

Similarity to the source voice from 0 to 1.

Link copied to clipboard

Speech-speed multiplier; must be greater than zero.

Link copied to clipboard

Voice consistency from 0 to 1, or null to use the service default.

Link copied to clipboard

Style exaggeration accepted by the selected model; must not be negative.

Link copied to clipboard

Whether to enable speaker similarity boost.