elevenlabs

package
v0.0.0-...-b7aeced Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

type Option

type Option func(*Config)

func WithClient

func WithClient(client *http.Client) Option

func WithToken

func WithToken(token string) Option

type Synthesizer

type Synthesizer struct {
	*Config
}

func NewSynthesizer

func NewSynthesizer(url, model string, options ...Option) (*Synthesizer, error)

func (*Synthesizer) Synthesize

func (s *Synthesizer) Synthesize(ctx context.Context, content string, options *provider.SynthesizeOptions) (*provider.Synthesis, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL