← 返回 Skills 市场
scikkk

BGM Maker

作者 scikkk · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
343
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install bgm
功能描述
Generate original background music for short videos from a natural language description. Use when creators need royalty-free BGM, video background music, or...
使用说明 (SKILL.md)

SenseAudio Video BGM Maker

Generate original, royalty-free background music matched to a video's mood and duration. Users describe their video in plain language — no music terminology required.

Step 1: Collect Input

Two paths:

A — Free description: User describes their video naturally.

"一个人在雨天咖啡馆看书的Vlog,时长45秒" "开箱科技产品,要有未来感,30秒" "宠物猫咪日常,轻松可爱,1分钟"

B — Preset scenes (quick pick): If the user wants to skip describing, offer these:

# 场景 默认风格
1 美食探店 warm acoustic, appetizing
2 旅行Vlog cinematic, adventurous
3 产品开箱 electronic, modern, clean
4 运动健身 energetic, driving beat
5 宠物日常 playful, light, cheerful
6 知识讲解 minimal, focused, corporate
7 情感故事 piano ballad, emotional
8 城市街拍 lo-fi, chill, urban

Also ask: 视频时长? (default: 30秒)

Step 2: Translate to Music Parameters

Map the description to style tags. Think in terms of: genre + mood + instrumentation + energy level.

Scene / Keyword Style tags
咖啡馆 / 下午茶 / 慵懒 lo-fi, cafe, acoustic guitar, warm, relaxed
科技 / 未来 / 数码 electronic, synthesizer, futuristic, clean
旅行 / 风景 / 自然 cinematic, orchestral, adventurous, uplifting
美食 / 烹饪 / 探店 acoustic, warm, cheerful, light jazz
运动 / 健身 / 活力 energetic, driving, rock, upbeat, powerful
宠物 / 可爱 / 萌 playful, xylophone, light, cheerful, cute
情感 / 治愈 / 温暖 piano, strings, emotional, gentle
城市 / 街拍 / 夜晚 lo-fi hip hop, urban, chill, beats
知识 / 教程 / 商务 minimal, corporate, clean, focused
古风 / 国风 traditional Chinese, guqin, erhu, cinematic

Always append duration hint to style: "30-second loop" or "60-second complete piece with build and resolution".

Duration strategy:

  • ≤30s → "short loop, complete in 30 seconds, no long intro"
  • 30–90s → "complete piece, build up in first third, peak in middle, resolve at end"
  • 90s → "extended piece with intro, development, and outro"

Step 3: Generate 3 Versions

Always generate 3 variations with slightly different instrumentation — same mood, different texture. This gives the user real choice without requiring them to re-describe.

Build 3 style strings from the base style:

Version A: \x3Cbase_style>, \x3Cprimary instrument>
Version B: \x3Cbase_style>, \x3Calternative instrument>
Version C: \x3Cbase_style>, \x3Cthird instrument variation>

Example for "咖啡馆Vlog, 45秒":

  • A: "lo-fi, cafe, acoustic guitar, warm, relaxed, 45-second complete piece"
  • B: "lo-fi, cafe, piano, warm, relaxed, 45-second complete piece"
  • C: "lo-fi, cafe, jazz guitar, mellow, relaxed, 45-second complete piece"

Submit all 3 in parallel:

for i in 1 2 3; do
  RESP=$(curl -s -X POST "https://api.senseaudio.cn/v1/song/music/create" \
    -H "Authorization: Bearer $SENSEAUDIO_API_KEY" \
    -H "Content-Type: application/json" \
    -d "{
      \"model\": \"sensesong\",
      \"instrumental\": true,
      \"style\": \"\x3CSTYLE_V${i}>\",
      \"negative_tags\": \"vocals, lyrics, singing, spoken word\"
    }")
  TASK_IDS[$i]=$(echo $RESP | jq -r '.task_id')
  echo "Version $i task: ${TASK_IDS[$i]}"
done

Poll all 3 tasks (check every 5s):

for i in 1 2 3; do
  while true; do
    POLL=$(curl -s "https://api.senseaudio.cn/v1/song/music/pending/${TASK_IDS[$i]}" \
      -H "Authorization: Bearer $SENSEAUDIO_API_KEY")
    STATUS=$(echo $POLL | jq -r '.status')
    [ "$STATUS" = "SUCCESS" ] || [ "$STATUS" = "FAILED" ] && break
    sleep 5
  done
  RESULTS[$i]=$POLL
done

Output

Present all 3 versions clearly:

短视频配乐生成完成 🎵

场景:雨天咖啡馆Vlog(45秒)

版本 A — 原声吉他风
  时长:\x3Cduration>秒
  链接:\x3Caudio_url>

版本 B — 钢琴风
  时长:\x3Cduration>秒
  链接:\x3Caudio_url>

版本 C — 爵士吉他风
  时长:\x3Cduration>秒
  链接:\x3Caudio_url>

版权说明:以上音乐由 SenseAudio AI 原创生成,可免费用于个人和商业短视频创作。

If the user wants a different mood or style after listening, ask them which version was closest and what to adjust — then regenerate that single version with the updated style.

安全使用建议
This skill appears to do what it says: it will send the text you provide to api.senseaudio.cn using the SENSEAUDIO_API_KEY and return links to generated audio. Before installing, confirm you are comfortable with descriptions being transmitted to SenseAudio (privacy). Verify the SENSEAUDIO_API_KEY is restricted appropriately and stored securely. Critically, do not assume the skill's 'free for personal and commercial use' claim is authoritative — check SenseAudio's official licensing/terms to confirm you can use generated music in commercial videos. Also ensure curl and jq are available in your agent environment and monitor rate/usage limits on the SenseAudio account.
功能分析
Type: OpenClaw Skill Name: bgm Version: 1.0.0 The skill is a legitimate tool for generating background music using the SenseAudio API (api.senseaudio.cn). It uses standard shell commands (curl, jq) to interact with the API and requires a specific environment variable (SENSEAUDIO_API_KEY) as intended. The logic in SKILL.md is consistent with the stated purpose and does not contain any indicators of data exfiltration, malicious persistence, or prompt injection attacks.
能力评估
Purpose & Capability
Name/description align with what the skill does: it calls SenseAudio endpoints to generate music. Declared requirements (SENSEAUDIO_API_KEY, curl, jq) are appropriate and expected for the stated API usage.
Instruction Scope
SKILL.md stays within scope: it collects user descriptions, maps them to style strings, posts to SenseAudio API, polls for results, and formats links. Notable: the instructions transmit user-provided descriptions to an external service (SenseAudio) — a privacy consideration. The doc also includes an unverified copyright statement claiming generated music is free for personal/commercial use; that is a policy/legal claim that should be validated against SenseAudio's terms of service.
Install Mechanism
Instruction-only skill with no install spec and no code files. This is low-risk: nothing is downloaded or written by the skill itself.
Credentials
Only one credential is required (SENSEAUDIO_API_KEY), which is appropriate for an API client. No unrelated secrets, config paths, or broad scopes are requested.
Persistence & Privilege
always is false and the skill does not request persistent system-wide privileges or modify other skills. Autonomous invocation is allowed (platform default) but not combined with other privilege escalations.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bgm
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bgm 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of SenseAudio Video BGM Maker. - Generates original, royalty-free background music for short videos based on natural language descriptions or preset scenes. - Users can specify mood, scene, style, and duration in plain language—no music expertise needed. - Automatically creates 3 different music versions for each request, offering real choice. - Supports quick-pick preset scenes and custom video descriptions. - Resulting audio is cleared for personal and commercial short video projects.
元数据
Slug bgm
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

BGM Maker 是什么?

Generate original background music for short videos from a natural language description. Use when creators need royalty-free BGM, video background music, or... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 343 次。

如何安装 BGM Maker?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install bgm」即可一键安装,无需额外配置。

BGM Maker 是免费的吗?

是的,BGM Maker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

BGM Maker 支持哪些平台?

BGM Maker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 BGM Maker?

由 scikkk(@scikkk)开发并维护,当前版本 v1.0.0。

💬 留言讨论