Token导航 LogoToken导航TokenDH.com
音频生成需要联网clawhub未标认证来源可访问clear审计提醒

gen-music创音乐

Agent Skill

用于辅助音频、音乐、语音转写、语音合成或声音素材处理。它适合让 Agent 生成配乐说明、整理音频流程、调用语音工具或处理播客和视频配音素材。使用时需要确认输入音频来源、输出格式、时长和模型限制;涉及人声克隆、版权音乐或公开发布时,应先核对授权和合规边界。

总安装

7,879

周安装

335

GitHub Stars

公开资料未说明

下载量

2,760
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gen-music(创音乐)
来源仓库:https://github.com/twocode/gen-music
安装命令:
openclaw skills install gen-music
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install gen-music

简介

基于 ACE-Step 兼容 API 的歌曲生成工具,支持歌词转音乐。

  • 适合内容创作者进行文本转音乐、快速迭代提示和配乐开发。
  • 通过命令行调用,需提供提示词或歌词并设置输出参数。
  • 涉及版权音乐生成时应注意授权合规和内容发布规范。
  • gen-music 属于音频生成类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
gen-music
description
Generate songs from prompts or lyrics through an ACE-Step-compatible API backend. Use when users want text-to-music, lyrics-to-song, fast prompt iteration, stable output files, or to generate music and then play the result on Clawatch.
metadata

ACE-Step Text To Music

Use an ACE-Step-compatible API backend for prompt-to-song and lyrics-to-song requests. This skill does not install or bundle ACE-Step, model weights, or the API server.

Prerequisite

Before using this skill, make sure you already have access to an ACE-Step-compatible API backend. This can be a local server, usually at http://127.0.0.1:8001, or a remote compatible endpoint. If the backend is missing or stopped, this skill cannot generate music.

Quick start

python3 {baseDir}/scripts/generate.py --prompt "playful beach pop song about rising waves"
python3 {baseDir}/scripts/generate.py --prompt "happy indie pop with bright guitars" --lyrics-file /path/to/lyrics.txt --duration 60

Defaults are tuned for fast local iteration:

  • batch_size=1 to avoid duplicate variants unless explicitly requested
  • audio_format=mp3
  • sample_mode=text2music
  • thinking=false unless the user asks for heavier LM-assisted generation
  • finished audio is copied into a stable output folder instead of leaving only temp API paths

When to use

  • An ACE-Step-compatible API backend is already available, commonly a local server at http://127.0.0.1:8001 but possibly a remote endpoint
  • The user wants text-to-music, lyrics-to-song, or quick style variations
  • The user wants a single command that submits, polls, and returns saved files
  • The user wants music generated locally and then played on Clawatch
  • The user already has access to a local or remote ACE-Step-compatible backend

Run

# Basic prompt
python3 {baseDir}/scripts/generate.py --prompt "playful synth-pop song about sunrise waves"

# With lyrics
python3 {baseDir}/scripts/generate.py \
  --prompt "cute upbeat summer beach song" \
  --lyrics-file /path/to/lyrics.txt \
  --duration 60

# Two variants
python3 {baseDir}/scripts/generate.py \
  --prompt "dreamy city-pop ocean groove" \
  --duration 45 \
  --batch-size 2

# Enable heavier LM planning only when needed
python3 {baseDir}/scripts/generate.py \
  --prompt "cinematic anthem about a storm becoming calm" \
  --duration 60 \
  --thinking

Useful flags:

  • --duration 10..600
  • --lyrics or --lyrics-file
  • --batch-size 1..8
  • --thinking
  • --model acestep-v15-turbo
  • --out-dir /path/to/output
  • --base-url http://127.0.0.1:8001 for local backends
  • --base-url https://your-remote-endpoint for remote backends

Clawatch playback

If the user also wants the result played on Clawatch:

  1. Run the generator and wait for the saved output file paths.
  2. Pick the final .mp3 path from the script output or manifest.json.
  3. Call clawatch_play_audio with:

- imei: the explicit watch IMEI - filePath: the saved local audio path - title: optional short label

Do not pass ACE-Step temp URLs directly if the helper already copied a stable local file. Prefer the saved file path.

Config

The script accepts CLI flags first, then env vars, then OpenClaw skill config.

Supported env vars:

  • ACESTEP_API_BASE_URL
  • ACESTEP_API_KEY
  • ACESTEP_OUTPUT_DIR

Use ACESTEP_API_BASE_URL or the OpenClaw config entry to switch between local and remote ACE-Step-compatible backends.

Optional OpenClaw config in ~/.openclaw/openclaw.json:

{
  skills: {
    entries: {
      "gen-music": {
        baseUrl: "http://127.0.0.1:8001",
        apiKey: "",
        outputDir: "~/Projects/tmp/ace-step"
      }
    }
  }
}

Notes

  • Check backend health first if needed: curl http://127.0.0.1:8001/health or the same path on your remote endpoint
  • If the API returns temp /v1/audio?path=... URLs, the helper copies those files into the chosen output directory and writes a manifest.json
  • Prefer batch-size 1 for efficient prompt iteration; raise it only when the user explicitly wants variants

适合场景

01

生成背景音乐

02

生成歌曲或旋律

03

视频和播客配乐

04

社媒内容音频素材

能力概览

能力 1

调用音乐生成模型

能力 2

支持文本到音乐或歌曲生成

能力 3

提供 CLI 示例和使用场景

能力 4

适合音频内容工作流

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

91.58%
按下载量换算2,528

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills