package
Version:
v0.0.0-...-388b756
Opens a new window with list of versions in this module.
Published: Jan 19, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Data struct {
ModelId Model `json:"model_id"`
Text string `json:"text"`
VoiceSettings VoiceSettings `json:"voice_settings"`
}
const (
ENGLISH_V1 Model = "eleven_monolingual_v1"
)
const (
ADAM Voice = "pNInz6obpgDQGcFmaJgB"
)
type VoiceSettings struct {
SimilarityBoost float32 `json:"similarity_boost"`
Stability float32 `json:"stability"`
Style int `json:"style"`
SpeakerBoost bool `json:"use_speaker_boost"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.