跳到正文
cccskills
免费在 GitHub 公开中文介绍

music-generation

根据曲风、氛围和使用场景,通过 MiniMax music API 生成带人声歌曲或纯音乐,并保存为 MP3;可使用自备歌词,也可自动生成歌词。

原文查看原文说明

Use this skill when the user requests to generate, create, compose, or produce music or songs — background music, theme songs, jingles, or instrumental tracks. Generates a song from a style/mood prompt and optional lyrics via the MiniMax music API.

AI 评分80分/ 100查看安装方法

适用场景

  • 为视频制作背景音乐
  • 用自己写的歌词制作主题曲
  • 生成无人声的纯音乐
  • 制作简短的音乐片段

中文介绍

功能

music-generation 根据文字描述的曲风、氛围和使用场景,生成带人声的歌曲或纯音乐。它使用 MiniMax music API,将完成的音乐保存为 MP3 文件。你可以提供歌词让模型演唱,也可以根据歌曲描述自动生成歌词。歌词可加入 [Verse]、[Chorus] 等结构标签,标明主歌、副歌等部分。

适用场景

适合为视频制作背景音乐、创作主题曲或简短的音乐片段。可以指定是否需要人声以及使用的语言。生成后,还可以调整曲风或歌词,再生成另一个版本。

使用示例

  • “制作一首适合雨夜咖啡馆的舒缓纯音乐。”
  • “用这些中文歌词制作一首明快的主题曲。”
  • “生成一段轻快的音乐,并一起创作歌词。”

智能体会根据请求,将歌曲要求整理为 JSON 文件,再通过附带的 Python 脚本生成音乐。

注意事项

需要能够运行 Python 脚本的环境,并设置 MINIMAX_API_KEY。默认模型为 music-2.6-free。如果要演唱英语以外的歌词,应使用希望演唱的语言准备歌词。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

客观评估

AI 仅根据 SKILL.md 的内容,从 4 个方面进行了评估。星标数和热度不计入评估。

指令清晰度能否看出何时使用、做什么
A良好明确用于音乐创作请求,根据曲风描述和可选歌词生成 MP3。
步骤具体性步骤、输入输出和示例是否具体
A良好列出了 JSON 字段和示例、generate.py 参数及 MP3 输出位置。
安全性发送数据、删除文件、执行命令等是否有说明
B部分不足说明了 API 传输和脚本执行,但要求智能体不要检查脚本。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足明确了 MINIMAX_API_KEY 和模型设置,但没有密钥获取或 Python 配置步骤。

总分按每项 A=25 分、B=15 分、C=5 分相加。 由 AI(OpenAI Codex)于 2026年10月21日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(2)

  • SKILL.md3.2 KB
  • scripts/generate.py3.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Music Generation Skill

Overview

This skill generates songs (vocal or instrumental) from a structured JSON spec using the MiniMax music generation API (/v1/music_generation). You describe the style/mood/scene in prompt, optionally provide lyrics, and the script returns an MP3.

Workflow

Step 1: Understand Requirements

Identify the desired style, mood, scene, language, and whether the user wants vocals or a pure instrumental track. Decide whether to supply lyrics or let the model write them.

Step 2: Create the Spec JSON

Write a JSON file in /mnt/user-data/workspace/ named {descriptive-name}.json:

{
  "title": "Rainy Night Cafe",
  "prompt": "indie folk, melancholic, introspective, walking alone, cafe",
  "lyrics": "[verse]\nStreetlights glow the night wind sighs\n[chorus]\nPush the wooden door warm air inside"
}

Fields:

  • title (optional): a human-readable name.
  • prompt (required): style, mood, and scene. Drives the musical character.
  • lyrics (optional): song lyrics. Use \n between lines and structure tags such as [Intro], [Verse], [Pre Chorus], [Chorus], [Bridge], [Outro].
  • is_instrumental (optional, bool): set true for a pure instrumental track (no lyrics needed).

Behavior:

  • lyrics provided → those lyrics are sung.
  • is_instrumental: true → instrumental, no vocals.
  • neither → the model auto-writes lyrics from prompt (lyrics_optimizer).

Step 3: Execute Generation

python /mnt/skills/public/music-generation/scripts/generate.py \
  --prompt-file /mnt/user-data/workspace/rainy-night-cafe.json \
  --output-file /mnt/user-data/outputs/rainy-night-cafe.mp3

Parameters:

  • --prompt-file: Absolute path to the JSON spec (required).
  • --output-file: Absolute path for the output MP3 (required).

[!NOTE] Do NOT read the python file, just call it with the parameters.

Environment

  • MINIMAX_API_KEY (required): your MiniMax interface key.
  • MINIMAX_API_HOST (optional): default https://api.minimaxi.com.
  • MINIMAX_MUSIC_MODEL (optional): default music-2.6-free (works for all API-key users); paid/Token-Plan users can set music-2.6 for higher limits.

Output Handling

  • Music is saved as MP3 (typically in /mnt/user-data/outputs/).
  • Returned audio must decode to nonempty bytes and have an ID3 tag header or MPEG frame signature. This is a header sanity check, not complete audio decoding.
  • Malformed, empty or unrecognized audio is rejected before creating the output directory or opening the output file; an existing output is preserved.
  • Missing audio reports "MiniMax returned no audio data"; whitespace-only hex reports "MiniMax audio decoded to empty bytes".
  • Share the generated file with the user using the present_files tool.
  • Offer to iterate on style or lyrics if adjustments are needed.

Notes

  • Keep prompt focused on style/mood/scene; put the actual sung words in lyrics.
  • For non-English songs, write lyrics in the target language.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

academic-paper-review

免费有简介AI 评分 80分

阅读学术论文,评估主要论点、证据、研究方法、创新性及其与相关研究的关系,具体指出优点与不足,并整理成包含改进建议的评审。

  • 了解论文成果与局限
  • 起草同行评审意见
  • 检查实验设计与可复现性
bytedance/deer-flow8.4万2026年10月22日 更新

blocking-io-guard

免费有简介AI 评分 90分

检测可能阻塞Python异步处理的输入输出调用,并推动修复和补充测试。验证问题重现时测试确实失败、恢复修复后通过,以监测问题再次出现。

  • 检查异步Python代码变更
  • 排查整个代码库的输入输出阻塞风险
  • 补充清理与错误分支的测试
bytedance/deer-flow8.4万2026年10月22日 更新

bootstrap

免费有简介AI 评分 90分

通过对话梳理工作、偏好及希望交由AI判断的范围,创建或更新规定AI伙伴行为的SOUL.md,并明确说话方式和表达异议的规则。

  • 首次设定AI的性格与角色
  • 调整语气及表达异议的方式
  • 梳理AI可自主判断的范围
bytedance/deer-flow8.4万2026年10月22日 更新

chart-visualization

免费有简介AI 评分 80分

根据数据特点,从26种图表和示意图中选择合适的形式并生成图片,可展示时间变化、比较、分布和关联,并返回图片链接及生成时使用的完整配置。

  • 展示随时间变化的趋势
  • 比较类别与构成比例
  • 展示分布与相关性
bytedance/deer-flow8.4万2026年10月22日 更新

claude-to-deerflow

免费有简介AI 评分 80分

通过HTTP API向运行中的DeerFlow发送调研和分析请求,获取回答、继续对话并上传资料。还可查看模型、技能、智能体列表及服务运行状态。

  • 将调研和分析交给DeerFlow
  • 向对话中上传资料
  • 继续之前的对话
bytedance/deer-flow8.4万2026年10月22日 更新

code-documentation

免费有简介AI 评分 100分

阅读实际源代码,按项目规模编写或完善包含安装步骤与用法示例的README、API文档、架构图、开发者指南及变更日志。

  • 编写含安装步骤与用法示例的README
  • 记录公开函数、参数与返回值
  • 为新开发者编写架构与贡献指南
bytedance/deer-flow8.4万2026年10月22日 更新

查看 bytedance 的全部技能

报告此技能的问题