← 返回 Skills 市场
minimax-music
作者
silingyuan0
· GitHub ↗
· v1.0.0
· MIT-0
300
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install minimax-music-generate
功能描述
MiniMax 音乐生成技能 - 支持歌词生成(Lyrics Generation)、音乐生成(Music Generation)。支持自定义歌词段落结构(verse/chorus/bridge/intro/outro),异步生成 MP3 格式音乐,自动下载保存到本地。
安全使用建议
Do not supply a real MINIMAX_API_KEY to this skill until the inconsistencies are resolved. Specific actions: (1) Ask the publisher to update registry metadata to declare MINIMAX_API_KEY and MINIMAX_REGION. (2) Request clarification/fix: does generate_music return a task ID (async) or an MP3 file (sync)? Fix the /query endpoint (video_generation looks wrong). (3) Inspect/run the Python script in an isolated environment (or sandbox) and ensure the 'requests' dependency is present. (4) If you must test, use a scoped or throwaway API key and run locally in a VM/container so the skill can't access other credentials or sensitive files. (5) Prefer installing only if the author corrects the documentation/metadata so behavior and required credentials match the code.
功能分析
Type: OpenClaw Skill
Name: minimax-music-generate
Version: 1.0.0
The skill bundle provides a legitimate interface for the MiniMax Music API, allowing for lyrics and music generation. The Python script (scripts/music.py) correctly handles API authentication via environment variables and performs standard file I/O and network operations consistent with its stated purpose, with no evidence of malicious intent or data exfiltration.
能力评估
Purpose & Capability
The skill claims to use the MiniMax API for music and lyrics generation (expected). However the registry metadata lists no required environment variables while both SKILL.md and the code clearly require MINIMAX_API_KEY (and optionally MINIMAX_REGION). That mismatch between claimed requirements and the actual code is inconsistent.
Instruction Scope
SKILL.md describes asynchronous generation returning task IDs and async workflows (generate_music -> task ids, query/wait), but the shipped Python implements generate_music as a synchronous POST that decodes audio and returns a local file path. The query_music_task implementation calls /query/video_generation (a video endpoint) which doesn't match the music endpoints described. These contradictions mean the runtime instructions and implementation do not align.
Install Mechanism
There is no install spec (instruction-only style plus a Python script), which is low risk. The script imports the third-party 'requests' library but the skill metadata does not declare dependencies—users must ensure requests is available in their environment.
Credentials
The code requires MINIMAX_API_KEY (and optionally MINIMAX_REGION), which is proportionate to the stated purpose. However the registry metadata failed to declare these required environment variables; that omission is a meaningful inconsistency and a usability/security concern (users might not realize they must provide an API key).
Persistence & Privilege
No elevated persistence requested: always is false, the skill doesn't request system-wide config changes, and it only reads/writes local files for downloaded audio (expected for this functionality).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install minimax-music-generate - 安装完成后,直接呼叫该 Skill 的名称或使用
/minimax-music-generate触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of minimax-music skill for music and lyrics generation.
- Supports custom verse/chorus/bridge/intro/outro lyric structures.
- Asynchronous MP3 music generation with automatic local download.
- Provides functions for generating music, generating lyrics, querying task status, waiting for completion, and downloading music.
- Includes usage examples and lyrics formatting guidelines.
元数据
常见问题
minimax-music 是什么?
MiniMax 音乐生成技能 - 支持歌词生成(Lyrics Generation)、音乐生成(Music Generation)。支持自定义歌词段落结构(verse/chorus/bridge/intro/outro),异步生成 MP3 格式音乐,自动下载保存到本地。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 300 次。
如何安装 minimax-music?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install minimax-music-generate」即可一键安装,无需额外配置。
minimax-music 是免费的吗?
是的,minimax-music 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
minimax-music 支持哪些平台?
minimax-music 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 minimax-music?
由 silingyuan0(@silingyuan0)开发并维护,当前版本 v1.0.0。
推荐 Skills