Skip to content

GizClaw/minimax-go

Repository files navigation

minimax-go

Go CI CodeQL Go Report Card

Go SDK and examples for MiniMax APIs.

What is included

  • Speech APIs
    • synchronous HTTP TTS
    • streaming TTS
    • async TTS task submit/query
  • File upload API
  • Voice APIs
    • list voices
    • voice design
    • voice clone

Requirements

  • Go 1.26+
  • MiniMax API key

Quick start

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 -h

Development checks

go fmt ./...
go build ./...
go vet ./...
go test ./...

Repository layout

  • client.go: SDK client and service wiring
  • speech*.go: speech sync/stream/async APIs
  • voice.go: voice-related APIs
  • file.go: file upload API
  • internal/: transport/protocol/stream/codec internals
  • examples/: runnable CLI demos

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages