Communitygithub.com

音频小样生成技能

音频生成技能——可用于制作广告歌、背景音乐、配音和音效。将音乐请求路由至 Suno V5 / Udio / Lyria,语音请求路由至 MiniMax TTS / FishAudio / ElevenLabs V3,音效请求路由至 ElevenLabs SFX 或 AudioCraft。输出为一个 MP3/WAV 文件,保存至项目文件夹。

音频小样生成技能 是什么?

该技能是一个统一的音频生成工具,支持音乐、语音和音效三种模式,适用于需要快速制作音频内容的开发者和创作者。它通过项目元数据中的 `audioKind` 字段自动选择对应的模型链:音乐模式默认使用 Suno V5(备选 Udio 和 Lyria 2),语音模式使用 MiniMax TTS(备选 Fish 和 ElevenLabs V3),音效模式使用 ElevenLabs SFX(备选 AudioCraft)。技能提供了一个清晰的四步工作流:读取项目元数据 → 制定生成计划 → 按上游模型格式编写提示词 → 通过统一调度器生成并保存音频文件。它严格约束输出格式,强调使用 `voice_id` 而非自然语言描述语音角色,并确保音乐和音效的时长与结构匹配。该技能适用于 Cursor、Claude Code 等 AI 编码助手平台,能够帮助用户在不离开开发环境的情况下快速生成并迭代专业的音频内容。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/aurora-ember-bio-lab/splatstudio/tree/HEAD/design-templates/audio-jingle

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

音频小样技能

三种子模式。当前项目的 audioKind 决定运行哪种模式:

audioKind路由到的模型计划重点
musicSuno V5(默认)、Udio、Lyria 2曲风 + 速度 + 配器
speechMiniMax TTS(默认)、Fish、ElevenLabs V3脚本 + 音色 + 语速
sfxElevenLabs SFX(默认)、AudioCraft质感 + 冲击力 + 时长

资源映射

audio-jingle/
├── SKILL.md
└── example.html

工作流

第 0 步 — 读取项目元数据

audioKind、audioModel、audioDuration(秒),以及(语音模式下)voice。根据已知值进行分支判断并原样使用。缺失的元数据并不意味着要提问:尽可能推断一个安全默认值,仅当缺失的信息会显著改变请求的输出或导致无法生成时,才发出一个澄清表单。

重要提示:voice 是特定于提供商的。对于 minimax-tts,--voice 必须是一个有效的 MiniMax voice_id(例如 male-qn-qingse),而不是自然语言描述。如果你只有一句散文式的语音说明(例如“温暖的女声旁白”、“中性普通话”),请在计划中保留这些描述,但省略 --voice 参数,让守护进程使用默认语音 ID,或者请用户选择一个具体的 ID。

第 1 步 — 制定计划

音乐

  • 曲风 + 参考艺术家(1-2 个)
  • 速度(BPM)+ 调性
  • 配器(最多 3-5 种乐器)
  • 人声:是 / 否 / 哼唱 / 合唱
  • 情绪弧线(前奏 → 主歌 → 尾奏)

语音

  • 脚本(最终版本,不是草稿——TTS 会逐字朗读)
  • 音色目标 + 语速 对于 MiniMax,这需要提供真实的 voice_id,而不是在 --voice 中写散文
  • 专有名词/缩写的发音提示

音效

  • 质感(撞击音 / 呼啸声 / 环境音 / 拟音)
  • 时长 + 包络(尖锐起音 vs. 柔和渐强)
  • 叠加说明(单次击打 vs. 多层叠加)

在调度之前,用 2-3 句话陈述计划。

第 2 步 — 编写提示词

使用上游模型偏好的格式。将 audioDuration 直接绑定到 API 参数中;切勿在提示词散文中写入“让它持续 30 秒”。

第 3 步 — 通过媒体合约调度

使用统一调度器——不要手动调用提供商 API:

"$OD_NODE_BIN" "$OD_BIN" media generate \
  --project "$OD_PROJECT_ID" \
  --surface audio \
  --audio-kind "<music|speech|sfx>" \
  --model "<audioModel from metadata>" \
  --duration <audioDuration seconds> \
  [--voice "<provider voice id (speech only)>"] \
  --output "<short-slug>-<duration>s.mp3" \
  --prompt "<assembled prompt from Step 2 — for speech, the literal script>"

该命令打印一行 JSON:{"file": {"name": "...", ...}}。音频字节数据存入项目;文件查看器自动渲染音频播放控件。

第 4 步 — 移交

回复内容应包括:计划摘要、调度器返回的文件名,以及一句关于如果用户想要变体可以尝试什么的建议(例如“将速度从 92 BPM 改为 108 BPM”,而不是“让它不一样”)。

硬性规则

  • TTS 逐字朗读你的脚本。在调度前务必校对——即使多一个逗号都会改变节奏。
  • MiniMax TTS 拒绝在 --voice 中使用自由形式的语音描述。请使用真实的 MiniMax voice_id(例如 male-qn-qingse),或者省略该标志,让守护进程使用默认语音。
  • 音乐:少于 30 秒 = 单段落;30-90 秒 = 前奏 + 主体;90 秒以上 = 完整起承转合。不要试图在 15 秒内塞入三幕结构。
  • 音效:优先使用一个描述清晰的层级,而不是一段“让它酷一点”的散文——生成器会奖励具体的质感词汇。
  • 每次交互都保存文件。音频文件一经落地,音频查看器立即显示播放控件。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

aurora-ember-bio-lab/splatstudio

A long-form article / blog post — masthead, hero image placeholder, article body with figures and pull quotes, author byline, related posts. Use when the brief asks for "blog", "article", "post", "essay", or "case study".

aurora-ember-bio-lab/splatstudio

Structured medical case presentation for clinical rounds, conferences, and documentation. Generates SOAP-format or narrative case reports with physiologically accurate vitals, labs, and evidence-based plans. Use when the brief mentions "case report", "case presentation", "SOAP note", "clinical case", "ward rounds", "case summary", or "patient presentation".

aurora-ember-bio-lab/splatstudio

Self-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies.

aurora-ember-bio-lab/splatstudio

Run a 5-dimension expert design review on any HTML artifact in the project — Philosophy / Visual hierarchy / Detail / Functionality / Innovation, each scored 0–10. Outputs a single self-contained HTML report with a radar chart, evidence-backed scores, and three lists: Keep / Fix / Quick-wins. Use when the brief asks for a "design review", "design critique", "5 维度评审", "design audit", or "what's wrong with my design".

aurora-ember-bio-lab/splatstudio

Admin / analytics dashboard in a single HTML file. Fixed left sidebar, top bar with user/search, main grid of KPI cards and one or two charts. Use when the brief asks for a "dashboard", "admin", "analytics", or "control panel" screen.

aurora-ember-bio-lab/splatstudio

A consumer-feeling dating / matchmaking dashboard — left rail navigation, ticker bar of community signals, headline KPIs, a 30-day mutual-matches bar chart, and a match-rate trend block. Editorial typography, restrained accent. Use when the brief asks for a "dating site", "matchmaking", "community dashboard", "social network dashboard", or any consumer product where the data is the story.

aurora-ember-bio-lab/splatstudio

Discounted cash flow valuation and intrinsic value analysis for public companies. Use when the brief asks for DCF, fair value, intrinsic value, price target, undervalued or overvalued analysis, or "what is this company worth?"

aurora-ember-bio-lab/splatstudio

A two-spread digital e-guide preview — page 1 is a cover (display title, author, "What's inside" stats, table of contents teaser); page 2 is a spread (lesson body with pull-quote and a step list). Lifestyle / creator brand tone. Use when the brief asks for an "e-guide", "digital guide", "lookbook", "lead magnet", "creator guide", "playbook", "PDF guide", or "电子指南".

aurora-ember-bio-lab/splatstudio

A documentation page — inline-start nav, scrollable article body, inline-end table of contents. Use when the brief mentions "docs", "documentation", "guide", "API reference", or "tutorial".

aurora-ember-bio-lab/splatstudio

A brand product-launch email — masthead with wordmark, hero image block, headline lockup with skewed-italic accent, body copy, primary CTA, and a specifications grid. Pure HTML email layout (centered single column, table fallback). Use when the brief asks for an "email", "newsletter blast", "MJML", "product launch email", or "email template".

aurora-ember-bio-lab/splatstudio

An engineering runbook — service overview, alerts table, dashboards links, common procedures with copy-pasteable commands, on-call rotation, and an incident-response checklist. Use when the brief mentions "runbook", "ops doc", "on-call guide", "SRE doc", or "运维手册".

aurora-ember-bio-lab/splatstudio

Quarterly / monthly financial report — masthead with KPIs, revenue and burn charts, P&L summary table, top-line highlights, and an outlook paragraph. Use when the brief mentions "financial report", "Q3 report", "MRR review", "P&L", or "财报".

aurora-ember-bio-lab/splatstudio

Team-management dashboard skill in the FlowAI aesthetic — three tabs (Team Members, Team Details, Activity Log), KPI stat row, member table, role distribution bar chart, online presence and activity sparklines, and a top-contributors panel, all in a single self-contained HTML file with light/dark theming, hoverable chart tooltips, click-to-zoom panels, and CSV export. Use when the brief asks for a team / workspace admin dashboard, an interactive admin dashboard with charts, or names FlowAI.

aurora-ember-bio-lab/splatstudio

A multi-frame gamified mobile-app prototype — three phone frames on a dark showcase stage. Frame 1: cover / poster, Frame 2: today's quests with XP ribbons and a level bar, Frame 3: quest detail. Vivid quest tiles, level ribbon, bottom tab bar. Use when the brief asks for a "gamified app", "habit tracker", "RPG-style life app", "level-up app", "daily quests", "XP / streak app", or "ELI5-style explainer app".

aurora-ember-bio-lab/splatstudio

GitHub repository analytics dashboard — stars, forks, contributors, issues, pull requests, recent activity, and top contributors. Use when the brief asks for a GitHub repo dashboard, open-source growth report, repository health page, or GitHub analytics view.

aurora-ember-bio-lab/splatstudio

For marketing and gtm work: bind launches, campaigns, events, and brand plans to growth and pipeline outcomes. Built around the core query "annual-marketing-plan", with GTM strategy lead judgment, buyer-ready proof, and this outcome: approve launch plan, campaign budget, or GTM motion.

aurora-ember-bio-lab/splatstudio

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

aurora-ember-bio-lab/splatstudio

A first-30-days onboarding module for new hospitality hires — the behaviors, the practice, the checks, and the manager follow-up. Built as a decision-grade professional training deck for new hires, managers.

aurora-ember-bio-lab/splatstudio

Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like a professional white paper or studio one-pager, not an app UI. Multilingual by design (EN · zh-CN · ja). One self-contained HTML file, zero dependencies.

aurora-ember-bio-lab/splatstudio

Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas landing", "marketing page", "product landing".

相关技能