Xpersona
M

MiniMax 媒体生成 Unified MiniMax media generation skill for audio, image, and video creation with a single command entrypoint.MiniMax Skill 是一个统一的媒体生成技能,把文本转语音、文生图、文生视频三类能力收口为一个入口。安装后只需配置自己的 MINIMAX_API_KEY,即可通过统一命令生成音频、图片和视频,适合在 OpenClaw / Codex 类环境中直接调用。

CLAWHUB · Unverified

Unified MiniMax media generation skill for Token Plan workflows. Use when the user asks to generate audio, speech, TTS, narration, images, illustrations, pos...

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/10/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 s1762nr9rag7kr87r50q9fzf5x83py71:minimax-skill
  1. Install using `clawhub skill install s1762nr9rag7kr87r50q9fzf5x83py71:minimax-skill` 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/nmww/minimax-skill before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-nmww-minimax-skill/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

7,935 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: minimax-skill
description: Unified MiniMax media generation skill for Token Plan workflows. Use when the user asks to generate audio, speech, TTS, narration, images, illustrations, posters, covers, thumbnails, videos, motion clips, text-to-video, image-to-video, or needs MiniMax API setup instructions across Linux, macOS, Windows, Docker, or CI.
---

# MiniMax Media Generation

Use this skill to generate MiniMax audio, images, and videos from one command surface.

## Requirements

- Python 3
- `requests` package
- `MINIMAX_API_KEY` environment variable

For system-specific API key setup, read `references/setup.md`.

## Unified Command

Run `scripts/minimax.py` with one mode: `audio`, `image`, or `video`.

```bash
python scripts/minimax.py {audio|image|video} [options]
```

## Audio

Generate an MP3 file from text:

```bash
python scripts/minimax.py audio \
  --text "你好,今天我们聊一下 MiniMax。" \
  --output /tmp/minimax-audio.mp3
```

Useful options:

- `--model speech-2.8-turbo` for lower latency
- `--model speech-2.8-hd` for higher fidelity
- `--voice-id <voice_id>` to select a voice when available

## Image

Generate images into a directory:

```bash
python scripts/minimax.py image \
  --prompt "一只穿西装的橘猫,电影感,柔光" \
  --output /tmp/minimax-images \
  --aspect-ratio 1:1
```

Useful options:

- `--model image-01`
- `--model image-01-live` for stronger style control when available
- `--n 2` to request multiple images
- `--image-file <url_or_base64>` for image-to-image workflows when supported

Outputs are saved as `output-0.jpeg`, `output-1.jpeg`, etc.

## Video

Generate a video file:

```bash
python scripts/minimax.py video \
  --prompt "镜头缓慢推进,一只橘猫走过雨夜街道,霓虹灯反光" \
  --output /tmp/minimax-video.mp4
```

Useful options:

- `--model MiniMax-Hailuo-2.3`
- `--first-frame-image <url_or_base64>` for image-to-video
- `--last-frame-image <url_or_base64>` for start/end-frame video
- `--subject-reference '<json>'` for subject reference workflows
- `--timeout 1800` to control polling timeout in seconds

## Direct Scripts

The unified command delegates to standalone scripts in the same skill:

- `scripts/generate_audio.py`
- `scripts/generate_image.py`
- `scripts/generate_video.py`

Use these directly only when a narrower, mode-specific command is preferred.

## Safe Sharing Notes

- Do not include a real API key in the skill package.
- Ask users to configure `MINIMAX_API_KEY` locally.
- Keep generated media outside the skill folder, for example under `/tmp` or a project output directory.

_meta.json

{
  "ownerId": "kn7bnvhmfnp6qyr6d1j4jqgh6983pqf5",
  "slug": "minimax-skill",
  "version": "1.0.0",
  "publishedAt": 1775809543851
}

references/setup.md

# MiniMax Skill Setup

This skill reads the API token from the `MINIMAX_API_KEY` environment variable.
Do not hardcode the token into the skill files.

## 1) Linux / macOS (bash, zsh)

Temporary for current shell:

```bash
export MINIMAX_API_KEY="your_minimax_api_key"
```

Persist in `~/.bashrc`:

```bash
export MINIMAX_API_KEY="your_minimax_api_key"
```

Persist in `~/.zshrc`:

```bash
export MINIMAX_API_KEY="your_minimax_api_key"
```

Important: place the `export` before any early `return` in shell startup files.

## 2) fish shell

Temporary:

```fish
set -x MINIMAX_API_KEY your_minimax_api_key
```

Persist:

```fish
set -Ux MINIMAX_API_KEY your_minimax_api_key
```

## 3) Windows PowerShell

Current session:

```powershell
$env:MINIMAX_API_KEY = "your_minimax_api_key"
```

Persist for user:

```powershell
[Environment]::SetEnvironmentVariable("MINIMAX_API_KEY", "your_minimax_api_key", "User")
```

Reopen PowerShell after persisting.

## 4) Windows CMD

Current session:

```cmd
set MINIMAX_API_KEY=your_minimax_api_key
```

Persist for future sessions:

```cmd
setx MINIMAX_API_KEY "your_minimax_api_key"
```

Reopen the terminal after `setx`.

## 5) Docker

Pass through an environment variable:

```bash
docker run -e MINIMAX_API_KEY="$MINIMAX_API_KEY" your-image
```

Or in `docker-compose.yml`:

```yaml
environment:
  MINIMAX_API_KEY: ${MINIMAX_API_KEY}
```

## 6) GitHub Actions / CI

Store the token as a secret, then expose it at runtime:

```yaml
env:
  MINIMAX_API_KEY: ${{ secrets.MINIMAX_API_KEY }}
```

## Quick verification

```bash
python scripts/minimax.py --help
python scripts/minimax.py image --prompt "a cute orange cat" --output /tmp/minimax-images
```

If the token is missing, the scripts exit with:

```text
MINIMAX_API_KEY is required
```

skill-card.md

## Description:

Unified MiniMax media generation skill for Token Plan workflows, covering audio, image, and video generation plus API key setup guidance.

This skill is ready for commercial/non-commercial use.

## Publisher:

[nmww](https://clawhub.ai/user/nmww)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent users use this skill to generate MiniMax audio, images, and videos from a unified command entrypoint. It is also useful when setting up MINIMAX_API_KEY across local, Docker, or CI environments.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The video workflow can fetch a service-returned download URL from the user's environment without URL validation.

Mitigation: Run the skill in a restricted runtime, avoid sensitive networks, and review or constrain video downloads until URL validation and response-size limits are added.

Risk: Prompts and generated media requests are sent to MiniMax APIs using the user's API key.

Mitigation: Avoid sending secrets, confidential prompts, or regulated data, and prefer temporary API-key configuration for sensitive environments.

## Reference(s):

- [MiniMax Skill Setup](references/setup.md)
- [ClawHub Skill Page](https://clawhub.ai/nmww/skills/minimax-skill)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown with inline shell commands and generated media file paths]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Produces MP3 audio files, JPEG image files, MP4 video files, and setup guidance depending on the selected mode.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to MiniMax 媒体生成 Unified MiniMax media generation skill for audio, image, and video creation with a single command entrypoint.MiniMax Skill 是一个统一的媒体生成技能,把文本转语音、文生图、文生视频三类能力收口为一个入口。安装后只需配置自己的 MINIMAX_API_KEY,即可通过统一命令生成音频、图片和视频,适合在 OpenClaw / Codex 类环境中直接调用。 and adjacent AI workflows.