用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/coffeegrind123/voxcpm-skill --skill voice-gen命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | voice-gen |
| description | Generate AI speech with VoxCPM2 — voice design, controllable cloning, and ultimate cloning via MCP tools. |
Use the VoxCPM MCP server (voxcpm) to generate AI speech. The server is a 1:1 bridge to the VoxCPM2 Gradio app with three TTS modes and 12 voice presets.
| Mode | How to activate | What it does |
|---|---|---|
| Voice Design | text + control_instruction, no ref_wav | Creates a new voice from a text description |
| Controllable Cloning | text + ref_wav + optional control_instruction | Clones timbre, optional style guidance |
| Ultimate Cloning | text + ref_wav + prompt_text_value + use_prompt_text=True | Audio continuation — full vocal nuance preservation |
Use these as ref_wav for instant cloning. Auto-pick the best one silently based on user's described need. Only list them if explicitly asked.
| Preset | Character |
|---|---|
airy | Light, breathy, ethereal |
buttery | Smooth, rich, warm |
disconnected | Detached, flat, robotic |
enter_voice_mode | System prompt — "entering voice mode" |
exit_voice_mode | System prompt — "exiting voice mode" |
final | Authoritative, conclusive, bold |
glassy | Clear, crisp, brittle |
intro | Opening/narrative tone |
pre_recommendations | Recommendation lead-in |
pre_voice | Voice mode preamble |
recommendations | Suggestive, advisory tone |
rounded | Full, warm, balanced |
Determine what the user wants:
control_instructionref_wav=preset_name. If they provide a file path, use that.run_asr on the audio first, then use Ultimate Cloningcontrol_instructionSuccess criteria: You know the mode, the text, and have a rough control_instruction or ref_wav in mind.
Call mcp__voxcpm__generate with appropriate parameters:
Voice Design (most common):
mcp__voxcpm__generate(text="...", control_instruction="...", dit_steps=10)
Cloning from preset:
mcp__voxcpm__generate(text="...", ref_wav="airy", dit_steps=10)
Cloning from file:
mcp__voxcpm__generate(text="...", ref_wav="/path/to/audio.wav", dit_steps=10)
Ultimate Cloning (with transcript):
First transcribe: mcp__voxcpm__run_asr(audio_path="/path/to/ref.wav")
Then generate: mcp__voxcpm__generate(text="...", ref_wav="/path/to/ref.wav", use_prompt_text=True, prompt_text_value="transcript here")
Parameter reference:
control_instruction — Be vivid. Describe gender, age, tone, emotion, pace. Supports Chinese & English. Examples: "A warm maternal voice, mid 40s, gentle and reassuring", "年轻女性,甜美活泼,语速较快"cfg_value — 1.0-3.0. Default 2.0. Higher = stricter adherence to prompt. Lower = more creative variation.dit_steps — 1-50. Default 10. Higher = potentially better quality, slower. 10 is fine for most cases. Use 25+ for demanding quality.denoise — True if reference audio is noisydo_normalize — True to normalize numbers/dates in textThe response includes audio_url — a direct link to the generated WAV file on the Gradio server. Tell the user the URL so they can listen or download.
If the call fails, read the error field and adjust. Common fixes: check that the VoxCPM container is running, try a different preset, or simplify the text.
Success criteria: You have an audio_url the user can play. If the user isn't satisfied, adjust the control_instruction or try a different preset.
dit_steps=10. Only increase if the user asks for higher quality.ping fails, tell the user to start it with docker compose up -d in /home/openclaudeuser/VoxCPM.