Chuyển đến nội dung
Skillpedia
Agent58k · #3224

cli-anything-minimax

Skill này làm gì

Skill này giúp agent AI sử dụng MiniMax, một dịch vụ AI, để trả lời câu hỏi và tạo giọng nói từ văn bản. Skill phù hợp với người muốn có thêm một nhà cung cấp AI thứ hai hoặc cần lồng tiếng đọc.

Khi nào nên dùng

  • ✓Khi bạn muốn gửi một câu hỏi hoặc yêu cầu viết cho mô hình chat của MiniMax từ dòng lệnh.
  • ✓Khi bạn cần một file âm thanh đọc thành tiếng từ kịch bản đã viết.
  • ✓Khi bạn muốn điều chỉnh tốc độ, cao độ hoặc định dạng âm thanh của giọng đọc trước khi lưu file.

Liên kết skill

https://github.com/HKUDS/CLI-Anything/blob/main/minimax/agent-harness/cli_anything/minimax/skills/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/HKUDS/CLI-Anything/blob/main/minimax/agent-harness/cli_anything/minimax/skills/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi muốn đoạn văn này được chuyển thành một file MP3 có giọng đọc thân thiện để tôi có thể nghe.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent gửi văn bản hoặc yêu cầu của bạn đến MiniMax bằng API key của bạn, sau đó lưu câu trả lời hoặc file âm thanh đã tạo. Các cài đặt điều khiển giọng đọc và chất lượng âm thanh.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

cli-anything-minimax

A CLI harness for MiniMax AI — providing chat completions and text-to-speech synthesis through the MiniMax API.

Installation

pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=minimax/agent-harness

Prerequisites:

Usage

Basic Commands

# Show help
cli-anything-minimax --help

# Start interactive REPL
cli-anything-minimax

# Chat with MiniMax-M3
cli-anything-minimax chat --prompt "What is AI?"

# Alternate chat model
cli-anything-minimax chat --prompt "Quick answer" --model MiniMax-M2.7

# 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"

TTS options

--text (required) / --model / --voice / --output plus voice and audio controls: --speed (0.5..2.0), --vol (0..10), --pitch (-12..12), --sample-rate (8k/16k/22.05k/24k/32k/44.1k), --bitrate (32k/64k/128k/256k), --format (mp3/pcm/flac), --channel (1/2). See tts --help for defaults.

Command Groups

Chat

Command Description
chat Chat with MiniMax LLM
stream Stream chat completion

TTS

Command Description
tts Synthesize text to speech (hex-decoded MP3 via SSE)
voices List available voice IDs

Session

Command Description
session status Show session status
session clear Clear session history
session history Show command history

Config

Command Description
config set Set a configuration value
config get Get a configuration value (or show all)
config delete Delete a configuration value
config path Show the config file path

Utility

Command Description
test Test API connectivity
models List chat models
models --tts List TTS models

Examples

Configure API Key

export MINIMAX_API_KEY="your-api-key"
# or
cli-anything-minimax config set api_key "your-api-key"

Chat

cli-anything-minimax chat --prompt "Explain quantum computing"
cli-anything-minimax stream --prompt "Write a Python quicksort"

TTS

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

Chat Models

Model ID Description
MiniMax-M3 Next-generation flagship model (default)
MiniMax-M2.7 Peak Performance. Ultimate Value.

TTS Models

Model ID Description
speech-2.8-hd High-definition TTS (default)
speech-2.8-turbo Fast TTS
speech-2.6-hd High-definition TTS
speech-2.6-turbo Fast TTS
speech-02-hd High-definition TTS
speech-02-turbo Fast TTS
speech-01-hd High-definition TTS
speech-01-turbo Fast TTS

For AI Agents

  1. Always use --json flag for parseable output
  2. Check return codes — 0 for success, non-zero for errors
  3. Parse stderr for error messages on failure
  4. Use absolute paths for TTS output files

Version

1.0.0

Câu hỏi thường gặp

Tôi có cần tài khoản MiniMax không?

Có. Bạn cần API key riêng từ nền tảng của MiniMax trước khi skill có thể kết nối.

Skill có thể tạo những định dạng âm thanh nào?

Skill hỗ trợ MP3, PCM và FLAC, với các tùy chọn về tần số lấy mẫu, bitrate và âm thanh mono hoặc stereo.

Có thể xem câu trả lời của chat hiện dần khi đang được viết không?

Có. Một lệnh streaming sẽ hiển thị câu trả lời ngay khi nó đang được tạo ra.

Chi tiết

Mô tả gốc của tác giả

Command-line interface for MiniMax AI — chat (MiniMax-M3, MiniMax-M2.7) and speech-2.x TTS via the MiniMax API.

repo: HKUDS/CLI-Anything

Độ phổ biến

Sao GitHub
58k
Vị trí xếp hạng
#3224
Giấy phép
Apache-2.0
Cập nhật
21/9/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự