lolimi

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package lolimi https://api.lolimi.cn/

Index

Constants

This section is empty.

Variables

View Source
var (

	// SoundList ...
	SoundList = [...]string{} /* 187 elements not displayed */
)

Functions

func TTS

func TTS(name string, text string) (recURL string, err error)

TTS 文字转语音最上层方法

Types

type Lolimi

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

Lolimi 桑帛云 API

func NewLolimi

func NewLolimi(mode int) *Lolimi

NewLolimi 新的桑帛云语音

func (*Lolimi) Speak

func (tts *Lolimi) Speak(_ int64, text func() string) (fileName string, err error)

Speak 返回音频 url

func (*Lolimi) String

func (tts *Lolimi) String() string

String 服务名

Jump to

Keyboard shortcuts

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