Go SDK to interact with the charactr API.
VC - Voice conversion - converting one voice from audio input to another voice.
TTS - Text to speech - converting text to voice audio.
- making TTS requests
- making VC requests
- getting lists of available voices
$ go get github.com/charactr-platform/charactr-api-sdk-go
For the detailed SDK usage, please refer to the SDK reference or the ./example
directory.
import "github.com/charactr-platform/charactr-api-sdk-go"
func main() {
sdk := charactr.New(&charactr.Credentials{ClientKey: "", APIKey: ""})
}
$ git clone https://github.com/charactr-platform/charactr-api-sdk-go
Open ./example/credentials.go
and provide your credentials. You can find them in your Client Panel account.
$ go run example/tts/main.go
$ go run example/tts_stream_simplex/main.go
$ go run example/tts_stream_duplex/main.go
$ go run example/vc/main.go