Go SDK and examples for MiniMax APIs.
- Speech APIs
- synchronous HTTP TTS
- streaming TTS
- async TTS task submit/query
- File upload API
- Voice APIs
- list voices
- voice design
- voice clone
- Go
1.26+ - MiniMax API key
Set your API key:
export MINIMAX_API_KEY="your_api_key"Check runnable examples:
go run ./examples/speech -h
go run ./examples/speech async -h
go run ./examples/speech stream -h
go run ./examples/speech http -h
go run ./examples/voice/list -h
go run ./examples/file -hgo fmt ./...
go build ./...
go vet ./...
go test ./...client.go: SDK client and service wiringspeech*.go: speech sync/stream/async APIsvoice.go: voice-related APIsfile.go: file upload APIinternal/: transport/protocol/stream/codec internalsexamples/: runnable CLI demos