Class SpeakCreateParams.VoiceSettings
-
- All Implemented Interfaces:
public final class SpeakCreateParams.VoiceSettingsVoice customization settings
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSpeakCreateParams.VoiceSettings.BuilderA builder for VoiceSettings.
-
Method Summary
Modifier and Type Method Description final Optional<Double>similarityBoost()Similarity boost (0-1) final Optional<Double>stability()Voice stability (0-1) final Optional<Double>style()Style exaggeration (0-1) final Optional<Boolean>useSpeakerBoost()Enable speaker boost final JsonField<Double>_similarityBoost()Returns the raw JSON value of similarityBoost. final JsonField<Double>_stability()Returns the raw JSON value of stability. final JsonField<Double>_style()Returns the raw JSON value of style. final JsonField<Boolean>_useSpeakerBoost()Returns the raw JSON value of useSpeakerBoost. final Map<String, JsonValue>_additionalProperties()final SpeakCreateParams.VoiceSettings.BuildertoBuilder()final SpeakCreateParams.VoiceSettingsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SpeakCreateParams.VoiceSettings.Builderbuilder()Returns a mutable builder for constructing an instance of VoiceSettings. -
-
Method Detail
-
similarityBoost
final Optional<Double> similarityBoost()
Similarity boost (0-1)
-
useSpeakerBoost
final Optional<Boolean> useSpeakerBoost()
Enable speaker boost
-
_similarityBoost
final JsonField<Double> _similarityBoost()
Returns the raw JSON value of similarityBoost.
Unlike similarityBoost, this method doesn't throw if the JSON field has an unexpected type.
-
_stability
final JsonField<Double> _stability()
Returns the raw JSON value of stability.
Unlike stability, this method doesn't throw if the JSON field has an unexpected type.
-
_style
final JsonField<Double> _style()
Returns the raw JSON value of style.
Unlike style, this method doesn't throw if the JSON field has an unexpected type.
-
_useSpeakerBoost
final JsonField<Boolean> _useSpeakerBoost()
Returns the raw JSON value of useSpeakerBoost.
Unlike useSpeakerBoost, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SpeakCreateParams.VoiceSettings.Builder toBuilder()
-
validate
final SpeakCreateParams.VoiceSettings validate()
-
builder
final static SpeakCreateParams.VoiceSettings.Builder builder()
Returns a mutable builder for constructing an instance of VoiceSettings.
-
-
-
-