Token导航 LogoToken导航TokenDH.com
音频生成敏感数据clawhub未标认证来源可访问clear审计通过

musicful-music-generator音乐发生器

Agent Skill

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

总安装

15,377

周安装

625

GitHub Stars

4

下载量

5,050
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install musicful-music-generator

简介

单句自然语言生成 AI 音乐或歌词的智能系统。

  • 自动区分人声歌曲与纯器乐 BGM 类型进行处理。
  • 适合快速原型开发与创意激发场景使用。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 生成内容版权归属需依据服务商条款确认。
  • musicful-music-generator 属于音频生成类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
music-generator
description
|
author
Musicful

Music Generator Skill (Full SOP)

Capability Overview

This skill supports the following intents: 1) Generate a full song with lyrics 2) Generate pure background music (BGM) 3) Generate lyrics only (no audio) 4) Query music generation task status

Users can describe the music they want in plain language. The system auto-determines the mode and handles parameter inference and task tracking.


Triggers and Natural Language Examples

The following natural language requests will trigger this skill:

  • Generate a romantic love song
  • Write lyrics about the night sky
  • Create electronic music suitable for short‑video background
  • Check my music generation progress
  • I want a cheerful background music track

Execution (SOP Step‑by‑Step)

Preflight Check (Mandatory)

  • Read MUSICFUL_API_KEY from the skill folder’s .env (resolved at runtime via the running script path): <skill_root>/.env

- If not configured (empty/missing), immediately inform the user: - "MUSICFUL_API_KEY is not configured. Please visit https://www.musicful.ai/api/authentication/interface-key/ to obtain/purchase an interface key, then write the KEY into <skill_root>/.env under MUSICFUL_API_KEY." - Stop subsequent calls and wait for the user to complete configuration before continuing.

The execution flow is intent‑based and incorporates a two‑stage return and a "lyrics‑first" UX:

  • Single command entry: /music_generator, with mode branch control:

- mode=normal (default): generate and show lyrics → submit generation → return preview (status=2) → return final (status=0) - mode=bgm: pure music (instrumental=1), no lyrics → preview first → then final - mode=lyrics: return lyrics text immediately

  • When using the "custom lyrics" path (built into the normal flow or future extensions): submit generation

directly and poll (preview first, then final)


Scenario A: Generate a Full Song with Lyrics

Typical user inputs:

  • Generate a romantic electronic song
  • Write a sad rock song and generate audio
  • Here are some lyrics, please use them to create the song: [...user‑provided lyrics...]

Detailed Flow

Step 1: Intent Recognition

  • If the user provides complete lyrics, treat it as lyrics‑provided generation;
  • Otherwise, assume lyrics need to be generated automatically and then used to synthesize the song.

Step 2: Lyrics Handling

  • If lyrics are provided → use them directly;
  • If not provided → call the V1 Lyrics API to generate lyrics content;

Step 3: Submit Music Generation Task

  • POST {BASE_URL}/v1/music/generate
  • body: { action: "custom", lyrics: "<lyrics>", style: "<inferred from user>", mv: "<default to latest high‑quality model>" }

Step 4: Automatic Task Polling (Two Stages)

  • GET {BASE_URL}/v1/music/tasks?ids=<task_id[,task_id2,…]>
  • Status semantics (key):

- status = 2 → preview stage complete (returns audio_url as preview link) - status = 0 → full audio complete (returns audio_url as downloadable final link) - others → processing or failed (use fail_code/fail_reason)

  • Polling strategy:

1) On first status=2: immediately announce "preview is ready" and return audio_url for listening; 2) Continue polling until status=0: then return "final audio is ready" with audio_url (download/publish).

Step 5: Return Results to the User (Two‑Stage × Two Songs)

  • The system by default generates two songs/two task_ids (e.g., ids=[id1,id2]). For each id, perform the

two‑stage return independently: - Stage 1: when this id reaches status=2 → return the preview link (audio_url) - Stage 2: keep polling this id → when status=0 → return the full mp3 download link (audio_url)

  • Recommended output format (one block per song):

- title: <title> - prompt: <original user description> - lyrics: <full lyrics for lyric mode; empty for BGM> - preview: <preview link (status=2)> - full: <final mp3 (status=0)>


Scenario B: Generate Pure Background Music

:white_check_mark: Typical user inputs:

  • Generate a piece of pure background music
  • I want an electronic instrumental suitable for video background

Detailed Flow

Step 1: Intent Recognition

  • Detect semantics like "pure music/background music/accompaniment" → enter the pure BGM flow.

Step 2: Submit Music Generation Task

  • POST {BASE_URL}/v1/music/generate
  • body: { action: "auto", style: "<inferred from user>", mv: "<default latest model>", instrumental: 1 }

Step 3: Automatic Task Polling (Two Stages)

  • Same as Scenario A: status=2 → preview; status=0 → full

Step 4: Return Preview & Final Links (Two Steps)

  • Stage 1: preview link (status=2)
  • Stage 2: final link (status=0)

Scenario C: Generate Lyrics Only

:white_check_mark: User inputs:

  • Write lyrics about a summer beach
  • I only need lyrics, about a rainy day

Process

  • POST {BASE_URL}/v1/lyrics body: { prompt: "<user description>" }
  • Return: { lyrics: "<AI‑generated lyrics>" }

Scenario D: Query Music Generation Task Status

:white_check_mark: User inputs:

  • Check the progress of task_id=abc123
  • See how far my song generation has progressed

Detailed Flow

  1. Extract task_id from the user input;
  2. GET {BASE_URL}/v1/music/tasks?ids=<task_id>
  3. Return task status and audio information.

Parameter Inference Rules

ParameterSourceDefault/Notes
styleInferred from user inputDefault to Pop/general if none
mvDefault high‑qualityPrefer latest high‑quality
instrumentalSet to 1 for BGMOtherwise 0
lyricsUser‑provided / auto
titleInferred or auto‑named
BASE_URL and API Key: - MUSICFUL_BASE_URL (default: https://api.musicful.ai) - MUSICFUL_API_KEY (read from the skill folder’s .env; environment variable MUSICFUL_API_KEY is also honored if set) - Entry points: scripts/musicful_api.py, CLI: scripts/run_musicful.py / scripts/dispatch_music_generator.py - Important: ensure MUSICFUL_API_KEY is configured before calling; if missing, the server may respond with HTTP 500 (helps pinpoint auth/config issues quickly).

Error Handling and Fallback

  1. If the request is unclear (e.g., "generate music" without clarifying lyrics vs BGM) → ask a follow‑up;
  2. If the API call fails → return clear failure reason and suggestions;
  3. If polling times out → prompt the user to wait or retry.

Unified Return Format

Success:

{ "status": "success", "data": { ... } }

Error:

{ "status": "error", "message": "<reason>" }

Example Dialogues

  • User: Generate a sad rock song
  • Skill: Shows generated lyrics → submits job → returns preview link → returns full mp3 link
  • User: An ambient BGM for a quiet night
  • Skill: Submits job (instrumental=1) → returns preview → returns full
  • User: Write lyrics about the night sky
  • Skill: Returns generated lyrics

适合场景

01

生成背景音乐

02

生成歌曲或旋律

03

视频和播客配乐

04

社媒内容音频素材

能力概览

能力 1

调用音乐生成模型

能力 2

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

能力 3

提供 CLI 示例和使用场景

能力 4

适合音频内容工作流

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

平台分布

OpenClaw

77.8%
按下载量换算3,929

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills