Xpersona
M

MiniMax Music Generation

CLAWHUB · Unverified

Generate AI music using MiniMax Music 2.5 API. Use when the user wants to: (1) generate instrumental/pure music, (2) generate songs with lyrics, (3) generate... Skill: MiniMax Music Generation Owner: rexdong1 Summary: Generate AI music using MiniMax Music 2.5 API. Use when the user wants to: (1) generate instrumental/pure music, (2) generate songs with lyrics, (3) generate... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-07T16:49:18.889Z | user Initial release: AI music generation with MiniMax Music 2.5 API. Supports instrumental music, songs with lyrics, and lyrics-o

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K 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 s174xry739syxbyg0e0apckxfx83nvj2:minimax-music
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-rexdong1-minimax-music/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,121 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: minimax-music
description: "Generate AI music using MiniMax Music 2.5 API. Use when the user wants to: (1) generate instrumental/pure music, (2) generate songs with lyrics, (3) generate lyrics for songs. Supports various music styles (piano, pop, electronic, etc.) and Chinese/English lyrics. Triggers on phrases like '生成音乐', 'create music', '帮我写首歌', '生成纯音乐', 'AI作曲'."
---

# MiniMax Music Generation

Generate AI music using MiniMax Music 2.5 API.

## Prerequisites

Set the `MINIMAX_API_KEY` environment variable:

```bash
export MINIMAX_API_KEY="your-api-key-here"
```

## Quick Start

```bash
# Generate instrumental music
python3 ~/.openclaw/workspace/skills/minimax-music/scripts/minimax_music.py create \
  --prompt "Piano, Relaxing, Meditative" \
  --instrumental \
  --download ~/Music

# Generate song with lyrics
python3 ~/.openclaw/workspace/skills/minimax-music/scripts/minimax_music.py create \
  --prompt "Pop, Upbeat, Celebratory" \
  --lyrics "[Verse]\n阳光洒满大地\n[Chorus]\n快乐每一天" \
  --download ~/Music

# Generate lyrics first
python3 ~/.openclaw/workspace/skills/minimax-music/scripts/minimax_music.py lyrics \
  --prompt "一首关于春天的歌" \
  --output lyrics.txt
```

## Music Generation Parameters

| Parameter | Description | Default |
|-----------|-------------|---------|
| `--prompt` | Music style description (required) | - |
| `--lyrics` | Lyrics text with [Verse], [Chorus] markers | - |
| `--lyrics-file` | Path to lyrics file | - |
| `--instrumental` | Generate instrumental music (no vocals) | false |
| `--sample-rate` | Audio quality: 44100, 48000 | 44100 |
| `--bitrate` | Audio bitrate: 128000, 256000, 320000 | 256000 |
| `--format` | Output format: mp3, wav, flac | mp3 |
| `--download` | Directory to save audio file | - |
| `--model` | Model ID | music-2.5 |

## Prompt Examples

### Instrumental Music

```
# Relaxing piano
--prompt "Piano, Relaxing, Meditative, Soft, Ambient"

# Electronic ambient
--prompt "Electronic, Ambient, Atmospheric, Synthesizer, Chill"

# Orchestral
--prompt "Orchestra, Cinematic, Epic, Strings, Brass"

# Jazz
--prompt "Jazz, Smooth, Saxophone, Piano, Night Club"
```

### Songs with Lyrics

```bash
# Chinese pop
--prompt "Mandopop, Emotional, Ballad" \
--lyrics "[Verse]\n夜深人静\n思念着你\n[Chorus]\n心中的爱\n永不改变"

# English pop
--prompt "Pop, Upbeat, Energetic" \
--lyrics "[Verse]\nWalking down the street\nFeeling the beat\n[Chorus]\nLet's celebrate tonight"
```

## Lyrics Format

Use section markers to structure the song:

```
[Intro]
(Instrumental opening)

[Verse]
Main lyrics here

[Pre-Chorus]
Build-up section

[Chorus]
Main hook/refrain

[Bridge]
Contrast section

[Outro]
Ending section
```

## Daily Quota

MiniMax Token Plan subscriptions include:
- **music-2.5**: 7 generations/day (Plan 199)
- Quota resets daily at midnight

## Sending Audio via Feishu

After generating music, send to user's Feishu:

```python
import requests

# 1. Upload audio file
with open("music.mp3", "rb") as f:
    upload_resp = requests.pos

_meta.json

{
  "ownerId": "kn76at2zjdsfn2w7kkfwxkc2eh83nfmr",
  "slug": "minimax-music",
  "version": "1.0.0",
  "publishedAt": 1775580558889
}

skill-card.md

## Description:

Generate instrumental music, songs with lyrics, and lyrics from prompts using the MiniMax Music 2.5 API.

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

## Publisher:

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

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent users use this skill to generate music or lyrics from prompts, download generated audio, and optionally share audio through Feishu after generation.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Prompts, lyrics, and generated audio are sent to MiniMax, and may be sent to Feishu when sharing is used.

Mitigation: Avoid sensitive or proprietary prompts and lyrics, and use Feishu sharing only after confirming the recipient and token scope.

Risk: Passing credentials with command-line arguments can expose the MiniMax API key in shell history or process listings.

Mitigation: Prefer the MINIMAX_API_KEY environment variable instead of --api-key.

Risk: Generated audio URLs and downloaded files may expose user-created content if shared or stored in unintended locations.

Mitigation: Download only to intended directories and treat generated audio URLs and files as sensitive user content.

## Reference(s):

- [MiniMax API endpoint](https://api.minimaxi.com/v1)
- [Feishu file upload endpoint](https://open.feishu.cn/open-apis/im/v1/files)
- [Feishu message endpoint](https://open.feishu.cn/open-apis/im/v1/messages?receive_id_type=open_id)

## Skill Output:

**Output Type(s):** [Shell commands, Text, Files, JSON, Guidance]

**Output Format:** [Markdown guidance with CLI commands; generated lyrics text, audio files, or JSON metadata when executed]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Can download MP3, WAV, or FLAC audio and can emit JSON metadata with audio URL and generation details.]

## Skill Version(s):

1.0.0 (source: server release evidence)

## 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 Music Generation and adjacent AI workflows.