Versions in this module Expand all Collapse all v0 v0.1.4 Feb 18, 2026 v0.1.2 Feb 12, 2026 Changes in this version + func SupportedArchitectures() []string + type AudioData struct + SampleRate uint32 + Samples []float32 + func (a *AudioData) SaveWAV(filePath string) error + type Config struct + EspeakVoiceID string + MaxTokens int + RepetitionPenalty float32 + Temperature float32 + TopK int + TopP float32 + UseCrossAttention bool + Voice string + func DefaultConfig() Config + type LibraryConfig struct + AutoDownload bool + DownloadURL string + LibraryPath string + Version string + func DefaultLibraryConfig() LibraryConfig + type Runner struct + func NewRunner(modelPath string, nThreads int, config Config, cpuOnly bool) (*Runner, error) + func NewRunnerWithConfig(modelPath string, nThreads int, config Config, cpuOnly bool, ...) (*Runner, error) + func (r *Runner) Close() + func (r *Runner) Generate(text string) (*AudioData, error) + func (r *Runner) ListVoices() []string + func (r *Runner) SupportsVoices() bool + func (r *Runner) UpdateConditionalPrompt(textEncoderPath, prompt string) error