Versions in this module Expand all Collapse all v0 v0.1.1 Oct 7, 2023 v0.1.0 Oct 7, 2023 Changes in this version + type Client struct + func C(auth string) *Client + func (c *Client) CreateSample(conf *SampleConf) (*Sample, error) + func (c *Client) CreateVoiceFromFiles(name string, files ...string) (*Voice, error) + func (c *Client) CreateVoiceFromTextPrompt(name, prompt string) (*Voice, error) + func (c *Client) CreateVoiceFromUrls(name string, urls ...string) (*Voice, error) + type Sample struct + AudioUrl string + CreatedAt string + ID string + Language string + Name string + Text string + func (s *Sample) String() string + type SampleConf struct + Language string + Speed float64 + Text string + VoiceID string + func DefaultSampleConf(id string, text string) *SampleConf + type Voice struct + CreatedAt string + Favorite bool + ID string + Name string + SamplesCount int + func (v *Voice) String() string