Audio Song Generate logo

Audio Song Generate

Organization
meitu
audio-song-generate

歌词驱动的完整歌曲生成(含人声),也支持强节奏成品级纯音乐。仅当用户明确要求生成歌曲/音频成品,并提供或同意补充风格与歌词参数时触发;普通音乐讨论、歌词创作、闲聊式演唱请求不触发。

Overview

Publishermeitu
Repositorymeitu-skills
Skill nameaudio-song-generate
Stars
36
Forks
3
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by meitu on GitHub. Read the source before you install it.

Installation

Install the Audio Song Generate AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/meitu/meitu-skills/tree/main/skills/audio-song-generate
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/meitu/meitu-skills.git /tmp/meitu-skills
mkdir -p .claude/skills
cp -r /tmp/meitu-skills/skills/audio-song-generate .claude/skills/audio-song-generate
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Audio Song Generate in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Audio Song Generate on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Audio Song Generate is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Audio Song Generate

Overview

歌词驱动的完整歌曲生成(含人声,主歌/桥段/合唱完整结构),多风格创作(流行/古风/电子/摇滚等)。也支持强节奏 / 完整编曲感的纯音乐,编曲能力优于通用纯音乐工具。

API Mapping

  • 歌曲与强节奏纯音乐生成:audio_cashew_songgenerate

Dependencies

  • meitu-cli: >=2.0.6
  • 凭证:CONFIG AKSK → meitu tools update;EXEC AKSK → 实际执行(见根 CONFIG.md)
  • 环境变量:MEITU_OPENAPI_TOOL_TASK_MODE=command

路径别名:$VISUAL = {OPENCLAW_HOME}/workspace/visual/

Core Workflow

Preflight → Execute → Deliver

Preflight

  1. meitu --version ≥ 2.0.6
  2. 已用 CONFIG AKSK 跑过 meitu tools update
  3. 当前 AKSK = EXEC,MEITU_OPENAPI_TOOL_TASK_MODE=command
  4. output_dir:openclaw.yaml → ./output/ |else → $VISUAL/output/audio-song-generate/;mkdir -p

Execute

触发信号 / 路由规则

核心维度:人声/编曲场景命中 + 参数齐全。

场景判定关键词路由
含人声的完整歌曲写首歌、带人声、带歌词、唱一首、品牌歌曲audio_cashew_songgenerate
强节奏 / 完整编曲的纯音乐强节奏、强变化、反转旋律、完整编曲感audio_cashew_songgenerate

单 API 工具:参数齐全即调用,失败重试 1 次后返回错误;不做跨工具兜底。风格与歌词矛盾时以 prompt(风格)为准。

参数定义

参数类型必填范围默认说明
promptSTRING是----歌曲风格描述。缺失 → 提示"请描述你想要的歌曲风格"
prompt_lyricsSTRING是----歌词内容。缺失 → 提示"请提供歌词内容"(强节奏纯音乐场景可填空字符串或风格化描述)
modelSTRING否auto / mureka-6 / mureka-7.5 / mureka-o1auto生成模型选择,非法值回退 auto

audio_cashew_songgenerate 使用 prompt + prompt_lyrics + model。人声质量受多语言发音影响。

工具调用

bash
meitu audio-song-generate --prompt "<style>" --prompt_lyrics "<lyrics>" [--model auto] --json --download-dir {output_dir} --skill_name skill_audio-song-generate

错误降级

场景处理方式
prompt 缺失提示"请描述你想要的歌曲风格",不调用 API
prompt_lyrics 缺失(含人声场景)提示"请提供歌词内容",不调用 API
model 指定了不存在的值回退 auto
audio_cashew_songgenerate 调用失败重试 1 次,仍失败返回错误
prompt 与 prompt_lyrics 风格矛盾以 prompt 为准,告知用户歌词将按指定风格编曲
用户只要歌词不要旋律拒绝,不属于本工具范围
内容合规拦截直接返回合规提示,不重试

Deliver

  • 使用 Preflight 解析的 output_dir
  • 从 downloaded_files[0].saved_path 读取已下载音频文件路径
  • mv {downloaded_files[0].saved_path} {output_dir}/{YYYY-MM-DD}_{descriptive}_audio-song-generate.mp3

Output

  • 格式:MP3
  • 位置:项目 → ./output/,一次性 → $VISUAL/output/audio-song-generate/

基线 Task ID

见 references/task-id-baseline.md 中对应行。

Frequently asked questions

What does the Audio Song Generate AI skill do?

歌词驱动的完整歌曲生成(含人声),也支持强节奏成品级纯音乐。仅当用户明确要求生成歌曲/音频成品,并提供或同意补充风格与歌词参数时触发;普通音乐讨论、歌词创作、闲聊式演唱请求不触发。

Why use Audio Song Generate on TypingMind?

Because you install it once and use it with any model. Audio Song Generate is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Audio Song Generate in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/meitu/meitu-skills/tree/main/skills/audio-song-generate. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Audio Song Generate?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Audio Song Generate?

As many as you like. As long as a model supports skills, you can use Audio Song Generate with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Audio Song Generate AI skill free?

Yes. It is published on GitHub by meitu under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇