Token导航 LogoToken导航TokenDH.com
待分类敏感数据github未标认证来源可访问许可证需确认审计异常

audio-generation音频生成

Agent Skill

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

总安装

635

周安装

27

GitHub Stars

968

下载量

222
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:audio-generation(音频生成)
来源仓库:https://github.com/massgen/massgen
仓库路径:skills/audio-generation
安装命令:
npx skills add https://github.com/massgen/massgen --skill audio-generation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/massgen/massgen --skill audio-generation

简介

用于辅助音频、音乐、语音转写、语音合成或声音素材处理。

  • 适合生成配乐说明、整理音频流程、调用语音工具或处理播客和视频配音素材。
  • 使用时需要确认输入音频来源、输出格式、时长和模型限制;涉及人声克隆、版权音乐或公开发布时,应先核对授权和合规边界。
  • 安装方式:github,通过 npx skills add 命令从指定仓库添加。
  • 注意:需配合 ElevenLabs 或 OpenAI 等 TTS 服务使用,建议优先配置 ElevenLabs 密钥。

SKILL.md

Audio Generation

Generate audio using generate_media with mode="audio". Supports speech (TTS), music, and sound effects. ElevenLabs is preferred when available, with OpenAI as fallback.

Quick Start

# Text-to-speech (auto-selects ElevenLabs if key available)
generate_media(prompt="Hello, welcome to our presentation!", mode="audio")

# With specific voice
generate_media(prompt="Hello!", mode="audio", voice="Rachel")

# Music generation (ElevenLabs only)
generate_media(prompt="Upbeat jazz piano with soft drums", mode="audio",
               audio_type="music", duration=30)

# Sound effects (ElevenLabs only)
generate_media(prompt="Thunder rolling across a mountain valley", mode="audio",
               audio_type="sound_effect", duration=5)

Audio Types

TypeBackendsDescription
"speech" (default)ElevenLabs, OpenAIText-to-speech with voice selection
"music"ElevenLabs onlyMusic generation from text prompt
"sound_effect"ElevenLabs onlySound effect generation
"voice_conversion"ElevenLabs onlyChange voice of existing audio (speech-to-speech)
"audio_isolation"ElevenLabs onlyRemove background noise, isolate vocals
"voice_design"ElevenLabs onlyCreate a new synthetic voice from text description
"voice_clone"ElevenLabs onlyClone a voice from audio samples
"dubbing"ElevenLabs onlyTranslate and dub audio to another language

Backend Comparison

BackendDefault ModelSupportsAPI Key
ElevenLabs (priority 1)eleven_multilingual_v2Speech, music, SFXELEVENLABS_API_KEY
OpenAI (priority 2)gpt-4o-mini-ttsSpeech onlyOPENAI_API_KEY

If ElevenLabs TTS fails, the system automatically falls back to OpenAI TTS.

Key Parameters

ParameterDescriptionExample
promptText to speak (speech) or description (music/SFX)"Hello world!"
voiceVoice name or ID"Rachel", "nova", "alloy"
audio_typeType of audio"speech", "music", "sound_effect"
durationLength in seconds (music/SFX only)30
instructionsSpeaking style (OpenAI gpt-4o-mini-tts only)"warm, reflective tone"
audio_formatOutput format"mp3", "wav", "opus"

Voice Quick Reference

ElevenLabs (top voices):

VoiceCharacter
RachelWarm, conversational female
SarahClear, professional female
JoshFriendly male
AdamDeep, authoritative male
EmilyBright, energetic female

OpenAI voices: alloy, echo, fable, onyx, nova, shimmer, coral, sage

Important: prompt vs instructions

For speech, prompt is the literal text to speak. Style guidance goes in instructions:

# CORRECT: prompt = text to speak, instructions = how to speak it
generate_media(
    prompt="Welcome to the annual report presentation.",
    mode="audio",
    voice="alloy",
    instructions="warm, reflective tone with measured pacing",
    backend_type="openai"
)

# WRONG: Don't put style instructions in prompt
generate_media(prompt="Say this warmly: Welcome...", mode="audio")  # Bad!

instructions only works with OpenAI gpt-4o-mini-tts. ElevenLabs uses voice selection for tone.

Audio Understanding

Use read_media (not generate_media) to analyze existing audio:

read_media(path="recording.mp3", prompt="Transcribe and summarize this audio")

Need More Control?

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

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

平台分布

Codex

35.98%
按下载量换算80

Claude

31.16%
按下载量换算69

Cursor

17.87%
按下载量换算40

Gemini CLI

9.57%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

未通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills