mirror of
https://github.com/taigrr/elevenlabs.git
synced 2026-04-02 03:08:57 -07:00
update tts for non-stream
This commit is contained in:
@@ -25,6 +25,11 @@ type TTS struct {
|
||||
VoiceSettings SynthesisOptions `json:"voice_settings,omitempty"` // Voice settings are applied only on the given TTS request.
|
||||
}
|
||||
|
||||
var DefaultSynthesisOptions = SynthesisOptions{
|
||||
Stability: 75,
|
||||
SimilarityBoost: 75,
|
||||
}
|
||||
|
||||
type SynthesisOptions struct {
|
||||
Stability float64 `json:"stability"`
|
||||
SimilarityBoost float64 `json:"similarity_boost"`
|
||||
|
||||
Reference in New Issue
Block a user