aladin-drama-bgm

Convert a script (_script.json) into a structured music and sound-effects plan: emotion-curve analysis; BGM segments merged by continuous emotion (style/intensity/fade/royalty-free search terms); timecode-aligned sound-effect lists; mixing ratio suggestions; exportable marker CSV for CapCut/PR; fully local offline use, intended to feed aladin-drama-edit for mixing.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "aladin-drama-bgm" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-6e03bb8f105a6716416033bb393e7bd66dc1b34e224d09ae28d2a43ff12cd9f2. Verify the upstream source and version against https://skillhub.cn/skills/user_d18c97ea/aladin-drama-bgm before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Convert a script (_script.json) into a structured music and sound-effects plan: emotion-curve analysis; BGM segments merged by continuous emotion (style/intensity/fade/royalty-free search terms); timecode-aligned sound-effect lists; mixing ratio suggestions; exportable marker CSV for CapCut/PR; fully local offline use, intended to feed aladin-drama-edit for mixing.

0 Downloads

Introduction source: third_party · user_d18c97ea · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: aladin-drama-bgm
slug: aladin-drama-bgm
version: 1.0.0
displayName: 阿拉丁·AI短剧配乐音效工坊|情绪曲线·BGM分段·音效清单·免版权曲库·混音配比
summary: 阿拉丁出品的 AI 短剧配乐音效工坊:把剧本(_script.json)一键变成结构化配乐音效方案——情绪曲线分析、按情绪连续合并的 BGM 分段(风格/强度/淡入淡出/免版权检索词)、按时间码定位的音效清单、混音配比建议、可导入剪映/PR 的标记 CSV,纯本地零依赖离线可用,喂给 aladin-drama-edit 混音。比 skillhub 现有 bgm/short-video-music/huo15-comic-bgm(均调付费 API 真生成音频)、sfx-downloader(只下载)多出 结构化离线规划 + 情绪曲线 + 闭环衔接 edit,且不花一分钱、数据不出本机。
description: 阿拉丁·AI短剧配乐音效工坊把「拿到剧本却卡在配什么乐、放什么音效、各段怎么混音、去哪找免版权曲」升级成一条纯本地零依赖工具链:剧本(_script.json)→情绪曲线→按情绪连续合并的 BGM 分段(曲风/强度/淡入淡出/免版权检索词)→按时间码定位的音效清单→混音配比(对白优先/BGM ducking/音效峰值)→可导入剪映/PR 的标记 CSV + FFmpeg 混音建议 + 自包含 HTML 看板,直接喂 aladin-drama-edit 混音。比 skillhub 飙升的 bgm/short-video-music/phy-video-bgm/huo15-comic-bgm(均调用 aimv/Suno/Gemini 等付费 API 真生成音频)、sfx-downloader(只下载音效文件)多出 结构化离线规划 + 情绪曲线可视化 + 与剪辑时间轴闭环衔接,全程不需要 pip 安装 / 付费 API / 联网,离线可用、数据不出本机。触发词:AI短剧配乐、短剧BGM、短剧音效、背景音乐方案、配乐方案、音效清单、情绪曲线、免版权音乐、混音配比、剪映标记、短剧配乐音效、drama BGM、SFX、soundtrack、aladin bgm、阿拉丁短剧、AI短剧创作闭环。
category: audio
license: MIT
platforms:
  - WorkBuddy
  - QClaw
  - ima
homepage: https://skillhub.cn
author: adam
company: 阿拉丁
tags:
  - 阿拉丁
  - aladin
  - AI短剧
  - 配乐
  - 音效
  - BGM
  - 背景音乐
  - 短剧配乐
  - 短视频配乐
  - 情绪曲线
  - 混音
  - 音效清单
  - 免版权音乐
  - 曲库
  - 剪映
  - 时间轴
  - 短剧创作闭环
  - 配乐方案
  - 音效方案
  - SFX
  - soundtrack
  - drama BGM
  - 阿拉丁短剧
agent_created: true

阿拉丁·AI短剧配乐音效工坊(aladin-drama-bgm)

阿拉丁出品。你用 aladin-drama-script 把选题变成结构化剧本 _script.json、aladin-drama-dub 出配音方案、aladin-drama-edit 混剪出成片——但「每一段配什么乐、转场放什么音效、各段怎么混音、去哪找免版权曲」一直是人工拍脑袋。skillhub 上 BGM 类技能正在飙升(bgm / short-video-music / phy-video-bgm / huo15-comic-bgm),可它们全部调用付费/云端 API 真生成音频(aimv CLI、Suno、Gemini+Lyria2),要么花钱、要么出本机、要么只给一个音频文件;sfx-downloader 又只下载音效文件。没有一款把"剧本 → 结构化配乐音效方案 → 剪辑时间轴"收口成离线零依赖、零付费、数据不出本机的规划工具。这个技能把配乐音效收口成一套纯本地工具:你给剧本(_script.json),它产出情绪曲线 + BGM 分段 + 音效清单 + 混音配比 + 可导入剪映/PR 的标记,直接喂给 aladin-drama-edit 混音。

它解决什么痛点

用户在 skillhub 上能找到的"配乐/音效向"工具都是「生成/下载」单点:

现有飙升/常见技能 只做 不做
bgm / short-video-music / phy-video-bgm / huo15-comic-bgm 调用付费 API 真生成音频文件(aimv/Suno/Gemini) 不规划、不分析情绪、不连剪辑、花钱、出本机
sfx-downloader / yinxiao-downloader 从免费站下载音效文件 不做剧本分析、不做方案、不连时间轴
各类"配音/数字人" 人声 不管 BGM/音效层

本技能 = 配乐音效方案全链路(规划层),脚本零依赖(仅 Python 标准库)、纯本地、离线可用、零付费 API,且比上述单点技能多出 情绪曲线分析 + 按情绪合并的 BGM 分段(风格/强度/淡入淡出/免版权检索词) + 时间码音效清单 + 混音配比 + 可导入剪映/PR 标记 + 与 edit 闭环衔接。

与 skillhub 现有技能 + 自家 aladin 系列的差异化

能力 生成/下载类 BGM 技能 阿拉丁·AI短剧配乐音效工坊(本款)
情绪曲线分析 ✗ ✓ 分镜情绪随时间变化
BGM 分段(同情绪合并) ✗(整片一首) ✓ 按情绪连续段拆分
风格/强度/淡入淡出 部分 ✓ 逐段规范
免版权曲库检索词 ✗(直接生成) ✓ 8 大平台检索词
时间码音效清单 ✗ ✓ 按 sound/action 定位
混音配比建议 ✗ ✓ 对白优先/BGM ducking/音效峰值
剪辑标记 CSV(剪映/PR) ✗ ✓ bgm_cue.csv
与 edit 闭环衔接 ✗ ✓ 喂 _bgm.json / --music
零依赖 / 离线 / 零付费 需付费 API ✓ 纯标准库

与自家 aladin-drama-dub(人声/配音) 互补不重:dub 管人声轨,本款管 BGM + 音效轨,两轨共同喂给 edit 混音。

何时触发

  • "给这个短剧做一份配乐方案 / BGM 怎么排"
  • "配什么背景音乐、放什么音效、怎么混音"
  • "出一份音效清单 / 按时间码标音效"
  • "帮我找免版权的短剧配乐 / 情绪曲线怎么走"
  • "生成可以导入剪映/PR 的配乐标记"
  • 用户给出 _script.json(来自 aladin-drama-script),想落地成可执行的配乐音效方案(联动 aladin-drama-edit 混音、aladin-drama-dub 配音)

何时不触发

  • 用户要真用 AI 把音乐/音效文件合成出来——本款只出方案,不调付费生成 API(如需真生成,把检索词交给 bgm / short-video-music 等下游,或去曲库下载)
  • 用户要写剧本/改台词——那属于 aladin-drama-script
  • 用户要配音/人声 TTS 参数——用 aladin-drama-dub(与本品共用时间轴)
  • 用户要字幕——用 aladin-drama-subtitle
  • 用户要混剪出成片——用 aladin-drama-edit(本品的 _bgm.json 是它的 --music/混音参考)
  • 用户要搜索/安装别人的技能——用 find skill / skillhub install

能力边界

能做:

  • 情绪曲线:按分镜 mood 字段(或 action/dialogue 关键词自动推断)绘制强度随时间变化曲线
  • BGM 分段:连续同情绪分镜合并为一段,含曲风/强度(1-5)/淡入淡出/免版权检索词
  • 音效清单:扫描 sound/action/dialogue 关键词,按时间码定位音效事件(门铃/雷声/雨声/掌声/手机提示…)
  • 混音配比:对白基准/台词段 BGM ducking/静默段 BGM/音效峰值 相对电平建议
  • 曲库指引:8 大免版权平台(YouTube 音频库/爱给/淘声/Mixkit/Pixabay/FMA/Epidemic/耳聆网)检索词
  • 剪辑标记:可导入剪映/PR 的 bgm_cue.csv + ffmpeg_mix.txt
  • 可视化:自包含 bgm_board.html(内联 CSS/JS,离线可看情绪曲线 + BGM/SFX 事件表)
  • 输入灵活:兼容 episodes→scenes→shots 与 scenes→(shots|dialogues) 两种契约;缺时长按台词字数估算

不能做:

  • 不能真正生成/合成音乐或音效文件(不调付费 API,只产出方案与检索词)
  • 不能联网下载音频(曲库只给检索词,下载由用户/下游完成)
  • 不能保证逐秒画面级精度(时间轴基于剧本 duration,实际以成片为准)
  • 不能绕过 skillhub 安全审核

输入输出规范

输入(命令行):

  • --script:上游 aladin-drama-script 产出的 _script.json(含分镜 mood/sound/duration)
  • --out:产物输出目录

输出(位于 --out):

  • _bgm.json:配乐音效方案主产物(meta + bgm_segments[] + sfx_events[] + mixing + sources + _beats[] 时间轴),edit 的契约输入
  • _bgm_plan.md:配乐说明 + 分镜配乐表 + 音效清单 + 曲库建议 + 混音建议
  • bgm_board.html:自包含配乐音效看板(情绪曲线 + BGM/SFX 事件表)
  • bgm_cue.csv:剪辑标记(时间码/类型/轨/事件/淡入淡出/检索词),可导入剪映/PR
  • ffmpeg_mix.txt:离线混音说明(主 BGM + 按情绪段 ducking + 音效放置)

工作流

Step 1:剧本 → 配乐音效方案(bgm_plan.py)

PY="C:/Users/adam/.workbuddy/binaries/python/versions/3.13.12/python.exe"
SKILL="<本技能目录>"
"$PY" "$SKILL/scripts/bgm_plan.py" --script "$SKILL/assets/sample_script.json" --out ./build

产出 _bgm.json(情绪分段 + 音效事件 + 混音配比 + 曲库清单)。

Step 2:生成方案文档 + 看板(bgm_report.py)

"$PY" "$SKILL/scripts/bgm_report.py" --bgm ./build/_bgm.json --out ./build

产出 _bgm_plan.md + bgm_board.html。

Step 3:生成剪辑标记 + 混音建议(bgm_cue.py)

"$PY" "$SKILL/scripts/bgm_cue.py" --bgm ./build/_bgm.json --out ./build

产出 bgm_cue.csv(导入剪映/PR)+ ffmpeg_mix.txt。

Step 4:交给下游混音

_bgm.json + bgm_cue.csv 直接喂 aladin-drama-edit:--music 指定主 BGM,按标记替换情绪段、按时间码放置音效。

复用资源

文件 用途 加载时机
references/usage-examples.md 4 个完整场景(都市逆袭/古装甜宠/缺mood老剧本/剪辑联动)+ 最佳实践 + FAQ 用户要具体样例、或落地参考时加载
references/mood-style-map.md 情绪→曲风映射 + 缺情绪推断规则 + 音效关键词表 + 免版权平台清单 用户问"某情绪配什么乐/某音效怎么搜"时加载
references/ir-schema.md _script.json 输入结构与 _bgm.json 输出结构(JSON Schema 风格)+ 下游衔接 衔接上下游工坊、或对齐字段时加载

重要约束

  • TRACE·只生成方案:三脚本只产出规划/清单/标记,绝不调用付费音乐/音效生成或下载 API(→ Traceability)
  • 零依赖:仅用 Python 标准库,离线可跑,不要求 pip 安装(→ Reliability)
  • 数据不出本机:剧本与配乐方案全程本地处理,敏感题材不外传(→ Trust)
  • 情绪可复算:同输入同输出,分段与音效识别确定性一致(→ Traceability)
  • 不编造音频:只给免版权检索词,不伪造音乐/音效文件(→ Trust)
  • 时长估算透明:缺时间轴时按台词字数估算并标注,下游以实际为准(→ Convention)
  • description 单行:禁用 YAML 多行语法,保持可发布(→ Convention)

与 aladin 短剧系列的关系

本技能是 aladin「AI短剧创作闭环」的第 6.5 环(配乐音效),与 aladin-drama-dub(第6环·配音) 平行、共同喂给 aladin-drama-edit(混剪):

aladin-drama-topic(选题) → aladin-drama-script(剧本) → aladin-drama-gen(生成视频 prompt) → aladin-drama-cast(角色一致性) → aladin-drama-dub(配音) + aladin-drama-bgm(本款·配乐音效) → aladin-drama-subtitle(字幕) → aladin-drama-edit(吃 gen 的 prompts + dub 人声 + 本款 BGM/音效 混剪成片) → aladin-drama-publish(发布) → aladin-drama-traffic(数据反哺选题)。

_bgm.json 是 edit 的配乐音效时间轴契约;与 dub 共用同一 shot 时间轴,保证人声/配乐/音效三对齐。

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 解决短剧配乐音效结构化规划核心痛点,提供情绪曲线+BGM分段+音效清单+混音配比完整方案
  • 纯本地零依赖离线可用,与现有生成/下载类技能形成差异化互补
  • 直接衔接aladin-drama-edit混音,形成AI短剧创作闭环
Trigger Precision95/100

Highlights

  • 触发词覆盖全面且边界清晰(AI短剧配乐、情绪曲线、免版权音乐、剪映标记等)
  • 与上下游技能分工明确,避免功能重叠
Structure and Standards90/100

Areas to improve

  • description写错位置 Reported severity: Minor

    顶层frontmatter中description字段为空,实际描述内容位于skill_body内部

    Recommendation: 将description内容移至顶层frontmatter,保持规范统一

  • 缺少When to Use独立章节 Reported severity: Minor

    触发场景描述已融入skill_body但未单独成节

    Recommendation: 建议将'何时触发'相关内容提取为独立When to Use章节

  • 文档过长 Reported severity: Minor

    skill_body内容约180行,超出理想长度

    Recommendation: 可考虑精简部分重复说明,或将部分细节移至references文件

Highlights

  • Phase/步骤清晰(Step1~4),输入输出规范明确
  • 包含端到端示例和完整工作流说明
  • frontmatter元数据完整,标签丰富
Execution Reliability93/100

Highlights

  • 仅依赖Python标准库,零依赖离线可用
  • 输出契约明确(_bgm.json、bgm_cue.csv等),与下游技能衔接可靠
  • 不调用付费API,数据不出本机,符合安全与隐私要求
Evidence Verifiability (mean of the first four)93/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • skillhub.cn

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.