Xpersona
8

8917 Minimax Toolkit

CLAWHUB · Unverified

MiniMax 多模态工具集。用于图片生成、图生图、视频生成、视频模板、语音合成、长文本 TTS、声音克隆、声音设计与音乐生成。适用于需要调用 MiniMax 官方 API 处理文本、图片、音频或视频素材的场景。默认将产物输出到当前工作区的 `workspace/03-Resources/minimax-outp...

62
Rank
84
Safety
996
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 996 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17f7fwtq7a2jx5s51yyf0h7wn83hsze:8917-minimax-toolkit
  1. Install using `clawhub skill install s17f7fwtq7a2jx5s51yyf0h7wn83hsze:8917-minimax-toolkit` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/blicae8917/8917-minimax-toolkit before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-blicae8917-8917-minimax-toolkit/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

49,656 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: 8917-minimax-toolkit
description: MiniMax 多模态工具集。用于图片生成、图生图、视频生成、视频模板、语音合成、长文本 TTS、声音克隆、声音设计与音乐生成。适用于需要调用 MiniMax 官方 API 处理文本、图片、音频或视频素材的场景。默认将产物输出到当前工作区的 `workspace/03-Resources/minimax-output/`;若当前目录不含 `workspace/`,则退回 `./outputs/minimax/`。支持 `--project` 做项目隔离,也支持 `--output-dir` 显式覆盖输出根目录。默认读取 MiniMax Token Plan API Key(环境变量 `MINIMAX_API_KEY` 或 `~/.openclaw/openclaw.json`)。
metadata:
  openclaw:
    requires:
      env: ["MINIMAX_API_KEY"]
---

# 8917-minimax-toolkit

## 定位

这是一个 **工具型 / Tool Wrapper** skill。

用它在 MiniMax 官方 API 上执行多模态生成任务,并把产物稳定落到当前工作区或用户指定目录。

## 核心原则

1. **执行前先提示消耗**:先输出 Token Plan 请求消耗预估,再执行。
2. **执行前先讲清隐私边界**:涉及图片、音频、视频等素材上传时,明确告知会发送到 MiniMax API。
3. **优先遵守输出纪律**:优先写入当前工作区;没有 `workspace/` 时再退回通用输出目录。
4. **项目隔离优先**:需要长期管理时优先使用 `--project`。
5. **禁止硬编码 API Key**:仅从 `MINIMAX_API_KEY` 或 `~/.openclaw/openclaw.json` 读取。

## 输出纪律

输出根目录优先级:
1. `--output-dir`
2. `MINIMAX_OUTPUT_DIR`
3. 当前工作目录下的 `workspace/03-Resources/minimax-output/`
4. 当前目录不存在 `workspace/` 时,退回 `./outputs/minimax/`

使用 `--project <ProjectName>` 时,产物进入项目子目录。

执行完成后,始终明确告诉用户:
- 文件类型
- 保存路径
- 如需长期管理,建议整理到项目目录

## 预算与隐私

执行前至少说明:
- 模型名称
- 预计消耗的 request 次数
- 5 小时滚动窗口规则
- 高消耗任务风险提示(尤其视频)

涉及私密图片、音频或视频时,先确认用户接受第三方 API 处理。

详细说明见:
- `references/budget-and-trust.md`
- `references/api_info.md`
- `references/costs.json`

## 能力导航

按具体场景读取:
- `references/modalities.md`:查看 9 类能力、对应脚本和 CLI 示例
- `references/budget-and-trust.md`:查看预算、上传与隐私边界
- `references/api_info.md`:查看当前模型 ID 与基础约束
- `references/quota_mapping.json`:查看运行时模型名与官方额度桶的映射
- `references/official-doc-sources.md`:查看需要定期核验的官方来源
- `references/troubleshooting.md`:查看联网失败、网页抓取失败、remains 查询失败时的排障指引

## 官方文档校验机制

可运行:

```bash
python3 scripts/mm.py remains
python3 scripts/mm.py check-docs
```

其中:
- `mm.py remains`:查询官方 Token Plan 实时额度
- `mm.py check-docs`:抓取官方 FAQ + 查询 remains + 对比本地 references

校验脚本会:
1. 抓取官方 Token Plan FAQ
2. 查询官方 `coding_plan/remains` 接口
3. 对比本地 `references/` 中的关键配置
4. 生成差异报告到 `references/checks/latest-check.md`

如果在线校验失败:
- 不阻塞整个 skill
- 退回本地 references 离线模式
- 输出排障指引
- 详见 `references/troubleshooting.md`

## 推荐使用统一入口

优先使用统一入口 `scripts/mm.py`:

```bash
# Image / Video / Music
python3 scripts/mm.py image "A red apple" --ratio 16:9 --project Demo
python3 scripts/mm.py video "Cinematic ruins" --project Demo
python3 scripts/mm.py music "Lo-fi beat" --instrumental --project Demo

# Speech (short text)
python3 scripts/mm.py speech "Hello world" --voice male-qn-qingse --project Demo

# Speech (long text / file)
python3 scripts/mm.py async-speech ~/script.txt --voice male-qn-qingse --project Demo

# Image-to-image
python3 scripts/mm.py i2i "anime style" --ref ~/photo.jpg --project Demo

# Video templates
python3 scripts/mm.py video-template labubu --media ~/photo.jpg --project Demo

# Voice clone / design
python3 scripts/mm.py voice-clone ~/my_voice.wav --voice-id my-voice
python3 scripts/mm.py voice-design "Warm deep male voice" --voice-id new-voice
```

支持的 modality:`image`, `i2i`, `video`, `video-temp

_meta.json

{
  "ownerId": "kn7ateddyaks63rs5mxqz12w2d80w2n5",
  "slug": "8917-minimax-toolkit",
  "version": "0.2.4",
  "publishedAt": 1774361215280
}

references/8917-minimax-toolkit-trust-note.md

# 8917-minimax-toolkit Trust & Transparency Note

## Why a safety scanner may flag this skill as "caution" or "suspicious"

This skill can look sensitive because it does two things that security scanners treat conservatively:

1. It may read a MiniMax Token Plan API key from:
   - `MINIMAX_API_KEY`
   - or `~/.openclaw/openclaw.json` when running inside OpenClaw

2. It may upload user-provided media files to MiniMax APIs, such as:
   - reference images
   - audio samples for voice cloning
   - media inputs for video templates

These behaviors are intentional and required for the skill to work, but they must be disclosed clearly.

## What this skill does **not** do

- It does **not** hardcode API keys
- It does **not** claim to process media locally when it actually uploads it
- It does **not** silently write outputs to a hidden personal path anymore

## Transparency rules for this skill

- Output paths must be shown clearly to the user
- Token Plan request usage must be disclosed before execution
- OpenClaw config lookup must be described explicitly
- Media upload behavior must be disclosed explicitly

## One-line summary

This skill is not dangerous by design, but it performs sensitive actions (key lookup and third-party media upload) that require explicit disclosure to appear trustworthy to users and scanners.

references/api_info.md

# MiniMax API Info

## Purpose
This file summarizes the currently verified official API surface used by this skill.

## Model IDs

| Modality | Verified current models | Notes |
| :--- | :--- | :--- |
| **Text** | `MiniMax-M2.7-highspeed`, `MiniMax-M2.7`, `MiniMax-M2.5-highspeed`, `M2-her` | Text models use Token Plan rolling-window logic |
| **Image** | `image-01`, `image-01-live` | `image-01-live` supports style object |
| **Video** | `MiniMax-Hailuo-2.3`, `MiniMax-Hailuo-02`, `T2V-01-Director`, `T2V-01` | Current skill mainly targets `MiniMax-Hailuo-02` |
| **Speech** | `speech-2.8-hd`, `speech-2.8-turbo`, `speech-2.6-hd`, `speech-2.6-turbo`, `speech-02-hd`, `speech-02-turbo`, `speech-01-hd`, `speech-01-turbo` | Sync and async speech are both available |
| **Music** | `music-2.5+`, `music-2.5` | `music-2.5+` still appears in official music-generation API docs |
| **Voice Clone** | `voice_clone` flow + speech model for preview | Requires file upload + clone request |
| **Voice Design** | `voice_design` | Requires `prompt` + `preview_text` |

## Verified endpoint mapping

| Capability | Official endpoint |
|---|---|
| Text-to-image | `POST /v1/image_generation` |
| Image-to-image | `POST /v1/image_generation` |
| Text-to-video | `POST /v1/video_generation` |
| Video template / Video Agent | `POST /v1/video_template_generation` |
| Sync speech | `POST /v1/t2a_v2` |
| Async speech create | `POST /v1/t2a_async_v2` |
| Async speech query | `GET /v1/query/t2a_async_query_v2` |
| Music generation | `POST /v1/music_generation` |
| Voice clone | `POST /v1/voice_clone` |
| Voice design | `POST /v1/voice_design` |
| Token Plan remains | `GET https://www.minimaxi.com/v1/api/openplatform/coding_plan/remains` |

## Important notes

### 1. Text vs non-text quota rules
According to the latest verified Token Plan FAQ:
- **Text models**: 5-hour rolling window
- **Non-text models**: daily quota reset

### 2. remains API semantics
The remains API is now integrated into this skill, but its field semantics are treated conservatively until manually cross-checked against the official Token Plan web console.

### 3. Voice clone lifecycle
Official docs state cloned voices are deleted if they are not formally used within 7 days.

### 4. Voice clone permission risk
Official error code `2038` indicates clone permission may depend on account status / certification.

## Reference pointers
- `references/quota_mapping.json`
- `references/official-doc-sources.md`
- `references/checks/latest-check.md`

references/budget-and-trust.md

# Budget and Trust Notes

## Read this file when
- You need Token Plan request-cost guidance
- You need to explain privacy / upload behavior to the user
- You need to decide whether to rely on local estimates or official remains data

## Token Plan key rules
This skill is designed for **MiniMax Token Plan API keys**.

Lookup priority:
1. `MINIMAX_API_KEY`
2. `~/.openclaw/openclaw.json`

Do not assume Token Plan keys and pay-as-you-go API keys are interchangeable.

## Execution-time disclosures
Before execution, disclose at least:
- target model
- estimated request usage
- whether the model follows **5-hour rolling window** or **daily quota**
- high-cost warning for expensive tasks, especially video

## Quota rules (latest verified FAQ)
- **Text models**: 5-hour rolling window
- **Non-text models** (image / speech / video / music / voice): daily quota reset

## Important caution about remains API
The skill can query official remains data via:
```bash
python3 scripts/mm.py remains
```

However, until we manually validate the field semantics against the official Token Plan web console, remains output should be treated as **raw reference data**, not a fully trusted “balance dashboard”.

## Media handling and privacy
This skill may send user-provided media to MiniMax APIs in these cases:
- image generation / image-to-image
- video generation / video template workflows
- speech synthesis / long-text TTS
- voice cloning / voice design
- music generation

For sensitive image, audio, or video tasks, confirm the user accepts third-party API processing before execution.

## Voice-specific trust notes
### Voice clone
- Current official flow: `files/upload` → optional prompt upload → `voice_clone`
- Cloned voices may be deleted if not formally used within 7 days
- Official docs mention possible permission error `2038`

### Voice design
- Current official endpoint: `voice_design`
- `preview_text` is required
- Returned `voice_id` should be treated as a generated asset that needs later actual use/verification

## Output behavior
Output root priority:
1. `--output-dir`
2. `MINIMAX_OUTPUT_DIR`
3. `workspace/03-Resources/minimax-output/`
4. `./outputs/minimax/`

Always report:
- media type
- saved path
- suggestion to organize into a project directory when needed

## Typical request estimates
See also `references/costs.json`, `references/api_info.md`, and `references/quota_mapping.json`.

Examples from local estimates:
- Text: ~1 unit / call
- Image: ~75 units / image
- Video (`MiniMax-Hailuo-02`): ~4500 units / 6s video
- Speech HD: ~600 units / 1000 characters
- Music (`music-2.5+`): ~3000 units / 5 min song

Sponsored

Ads related to 8917 Minimax Toolkit and adjacent AI workflows.