Loading...
Loading...
Command-line interface for MiniMax AI — chat (MiniMax-M2.7) and TTS (speech-2.8-hd) via the MiniMax API.
npx skill4agent add hkuds/cli-anything cli-anything-minimaxpip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=minimax/agent-harness# Show help
cli-anything-minimax --help
# Start interactive REPL
cli-anything-minimax
# Chat with MiniMax-M2.7
cli-anything-minimax chat --prompt "What is AI?"
# High-speed model
cli-anything-minimax chat --prompt "Quick answer" --model MiniMax-M2.7-highspeed
# Stream chat response
cli-anything-minimax stream --prompt "Write a poem about code"
# Synthesize speech
cli-anything-minimax tts --text "Hello world" --output hello.mp3
# JSON output for agents
cli-anything-minimax --json chat --prompt "Hello"| Command | Description |
|---|---|
| Chat with MiniMax LLM |
| Stream chat completion |
| Command | Description |
|---|---|
| Synthesize text to speech (hex-decoded MP3 via SSE) |
| List available voice IDs |
| Command | Description |
|---|---|
| Show session status |
| Clear session history |
| Show command history |
| Command | Description |
|---|---|
| Set a configuration value |
| Get a configuration value (or show all) |
| Delete a configuration value |
| Show the config file path |
| Command | Description |
|---|---|
| Test API connectivity |
| List chat models |
| List TTS models |
export MINIMAX_API_KEY="your-api-key"
# or
cli-anything-minimax config set api_key "your-api-key"cli-anything-minimax chat --prompt "Explain quantum computing"
cli-anything-minimax stream --prompt "Write a Python quicksort"cli-anything-minimax tts --text "Hello!" --output hello.mp3
cli-anything-minimax tts --text "Fast" --model speech-2.8-turbo --voice English_Insightful_Speaker --output fast.mp3| Model ID | Description |
|---|---|
| Peak Performance. Ultimate Value. (default) |
| Same performance, faster and more agile |
| Model ID | Description |
|---|---|
| High-definition TTS (default) |
| Fast TTS |
--json