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

voice-generation语音生成

Agent Skill

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

总安装

420

周安装

17

GitHub Stars

10

下载量

132
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/michaelboeding/skills --skill voice-generation

简介

用于语音内容生成与音频制作支持,适用于多场景声音素材创建。

  • 可协助 Agent 完成语音合成、配乐说明编写及音频流程设计。
  • 通过 GitHub 仓库安装,兼容主流 AI 代码宿主平台。
  • 涉及公开发布或商用时,应核实模型输出是否符合版权与授权要求。
  • voice-generation 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Voice Generation Skill

Generate realistic speech using AI (Google Gemini TTS, ElevenLabs, OpenAI TTS).

Prerequisites

At least one API key is required:

  • GOOGLE_API_KEY - For Google Gemini TTS (same key as video/image/music) ✅
  • ELEVENLABS_API_KEY - For ElevenLabs high-quality voice synthesis
  • OPENAI_API_KEY - For OpenAI TTS voices

Available APIs

Google Gemini TTS (Recommended - Same API Key)

  • Best for: Podcasts, dialogues, audiobooks with style control
  • Voices: 30 voices with natural language style control
  • Multi-speaker: Up to 2 speakers for dialogues ✅
  • Languages: 24 languages (auto-detected)
  • Features: Control style, accent, pace via prompts
  • Output: 24kHz WAV
  • API Key: Same GOOGLE_API_KEY as video/image/music ✅

ElevenLabs (Best Quality)

  • Best for: Natural-sounding voices, voice cloning, long-form content
  • Voices: 100+ pre-made voices + custom voice cloning
  • Languages: 29+ languages
  • Models: Eleven Multilingual v2, Eleven Turbo v2

OpenAI TTS (Simplest)

  • Best for: Quick, reliable text-to-speech with consistent quality
  • Voices: alloy, echo, fable, onyx, nova, shimmer
  • Models: tts-1 (fast), tts-1-hd (high quality)
  • Output: MP3, Opus, AAC, FLAC

Workflow

Step 1: Understand the Request

Parse the user's voice request for:

  • Text content: What should be spoken?
  • Voice type: Male, female, specific character?
  • Tone: Professional, casual, dramatic, cheerful?
  • Use case: Narration, voiceover, audiobook, notification?
  • Language: English, Spanish, other?
  • Speed: Normal, slow, fast?

Step 2: Select Voice and API

Choose based on requirements:

Use CaseRecommended APIReason
Default / Same key as videoGemini TTSSame GOOGLE_API_KEY
Multi-speaker dialogueGemini TTSUp to 2 speakers built-in
Style/accent controlGemini TTSNatural language prompts
Voice cloningElevenLabsOnly API with cloning
100+ voice optionsElevenLabsWidest selection
Audiobook/podcastElevenLabs or GeminiBoth excellent for long content
Quick narrationOpenAI TTSFast, reliable
Budget-consciousOpenAI TTSLower cost

Step 3: Prepare the Text

Optimize text for speech:

  1. Add pauses: Use commas, periods for natural rhythm
  2. Spell out numbers: "1,234" → "one thousand two hundred thirty-four" (if needed)
  3. Handle acronyms: "NASA" vs "N.A.S.A." depending on pronunciation
  4. Mark emphasis: Some APIs support emphasis markers

Example transformation:

  • Original: "The Q4 2024 results show a 15% YoY increase."
  • Optimized: "The Q4 2024 results show a fifteen percent year-over-year increase."

Step 4: Generate the Audio

Execute the appropriate script from ${CLAUDE_PLUGIN_ROOT}/skills/voice-generation/scripts/:

For Google Gemini TTS (single speaker):

python3 ${CLAUDE_PLUGIN_ROOT}/skills/voice-generation/scripts/gemini_tts.py \
  --text "Welcome to our podcast!" \
  --voice "Charon"

Gemini TTS with style direction:

python3 ${CLAUDE_PLUGIN_ROOT}/skills/voice-generation/scripts/gemini_tts.py \
  --text "Have a wonderful day!" \
  --voice "Puck" \
  --style "Say cheerfully with a British accent:"

Gemini TTS multi-speaker (dialogue):

python3 ${CLAUDE_PLUGIN_ROOT}/skills/voice-generation/scripts/gemini_tts.py \
  --multi \
  --speaker "Host:Charon" \
  --speaker "Guest:Aoede" \
  --text "Host: Welcome to the show!
Guest: Thanks for having me!"

For ElevenLabs:

python3 ${CLAUDE_PLUGIN_ROOT}/skills/voice-generation/scripts/elevenlabs.py \
  --text "Your text here" \
  --voice "Rachel" \
  --model "eleven_multilingual_v2"

For OpenAI TTS:

python3 ${CLAUDE_PLUGIN_ROOT}/skills/voice-generation/scripts/openai_tts.py \
  --text "Your text here" \
  --voice "nova" \
  --model "tts-1-hd"

List Gemini voices:

python3 ${CLAUDE_PLUGIN_ROOT}/skills/voice-generation/scripts/gemini_tts.py --list-voices

Step 5: Deliver the Result

  1. Provide the generated audio file path
  2. Mention the voice and settings used
  3. Offer to:

- Try a different voice - Adjust speed or tone - Use a different API - Generate in a different format

Error Handling

Missing API key: Inform the user which key is needed:

Gemini TTS requires google-genai package: pip install google-genai

Text too long: Split into chunks and concatenate, or suggest shorter text.

Rate limit: Suggest waiting or trying a different API.

Unsupported language: Suggest an alternative API that supports the language.

Multi-speaker limit: Gemini TTS supports max 2 speakers. For more, use ElevenLabs with multiple calls.

Voice Selection Guide

Google Gemini TTS Voices (30 voices)

StyleVoicesBest For
Bright/UpbeatZephyr, Puck, Aoede, LaomedeiaMarketing, cheerful content
Firm/InformativeCharon, Kore, Orus, RasalgethiNews, tutorials, professional
Soft/WarmAchernar, Sulafat, VindemiatrixMeditation, gentle narration
SmoothAlgieba, Despina, CallirrhoeAudiobooks, storytelling
ClearErinome, Iapetus, PulcherrimaInstructions, clarity
CharacterFenrir (excitable), Enceladus (breathy), Algenib (gravelly), Gacrux (mature)Character voices, drama
FriendlyAchird, Zubenelgenubi (casual)Casual, conversational

Gemini TTS Style Tips:

  • Use natural language: --style "Say angrily:" or --style "Whisper mysteriously:"
  • Specify accents: --style "Speak with a British accent from London:"
  • Control pace: --style "Speak slowly and deliberately:"
  • Combine: --style "Say excitedly with a Southern US accent:"

OpenAI TTS Voices

VoiceDescriptionBest For
alloyNeutral, balancedGeneral purpose
echoWarm, conversationalPodcasts, casual
fableExpressive, BritishStorytelling
onyxDeep, authoritativeNarration, professional
novaFriendly, upbeatMarketing, tutorials
shimmerSoft, gentleMeditation, ASMR

ElevenLabs Popular Voices

VoiceDescriptionBest For
RachelYoung female, AmericanNarration, audiobooks
DomiYoung female, energeticMarketing, ads
BellaYoung female, softStorytelling
AntoniYoung male, well-roundedNarration
JoshYoung male, deepAudiobooks
ArnoldMature male, authoritativeDocumentary
AdamMiddle-aged male, deepNarration
SamYoung male, raspyCharacter voices

Best Practices

For Narration

  • Use a consistent voice throughout
  • Add natural pauses between paragraphs
  • Consider pacing for the content type

For Dialogue

  • Use different voices for different characters
  • Match voice characteristics to character descriptions
  • Adjust speed for emotional scenes

For Accessibility

  • Use clear, well-paced speech
  • Avoid overly stylized voices
  • Test with screen readers if applicable

API Comparison

FeatureGemini TTSElevenLabsOpenAI TTS
API KeyGOOGLE_API_KEYELEVENLABS_API_KEYOPENAI_API_KEY
Voice qualityExcellentExcellentVery good
Voice variety30 voices100+ voices6 voices
Multi-speaker✅ Up to 2❌ No❌ No
Style control✅ Natural languageLimited❌ No
Voice cloning❌ No✅ Yes❌ No
Languages2429+50+
Speed controlVia promptsYesYes (0.25-4x)
Max length32k tokens5,000 chars4,096 chars
Output formatWAV (24kHz)MP3, WAVMP3, Opus, AAC, FLAC
Same key as video/image✅ Yes❌ No❌ No

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.32%
按下载量换算48

Claude

30.5%
按下载量换算40

Cursor

19.37%
按下载量换算26

Gemini CLI

9.45%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills