voicestudio
它能做什么
这个技能让 AI 与 VoiceStudio 应用协同工作,用于生成语音、转写音频,并自动化旁白或配音。适合制作语音内容、希望在常规步骤上获得帮助的人。
适用场景
- ✓当你希望根据脚本,使用已保存的声音生成旁白的时候。
- ✓当你需要把音频文件转写为文字的时候。
- ✓当你希望把配音或旁白步骤作为自动化流程的一部分运行的时候。
技能链接
https://github.com/debpalash/VoiceStudio/blob/main/skills/voicestudio/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请用我已保存的声音把这段脚本生成为旁白,并帮我保存音频文件。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 首先检查 VoiceStudio 应用是否在运行,并列出它拥有的声音。然后它将文本作为语音请求发送,并保存返回的音频。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
VoiceStudio
Use the user's running VoiceStudio backend. Prefer local processing; cloud translation, model downloads, remote-backend connections, and external integrations require the user's choice. Installed models can run offline; do not promise that every configured workflow is offline.
Connect and discover
The default backend is http://localhost:3900; honor the user's configured address. Electron's renderer and development proxy are separate services, not the public backend API.
- Check
GET /health. - Discover the running version's contracts with
GET /openapi.json, and voices/engines withGET /v1/audio/voices. Do not invent profile IDs or infer installed models from a catalog listing. - If unavailable, launch the installed app. For an existing source checkout, follow its Electron README (
bun install,bun run setup:api, thenbun run devfrom the repository root). Do not install a second backend or overwrite an existing checkout. - Local configurations may permit unauthenticated calls; protected deployments require the configured credentials. Treat 401/403 as authentication failures, not permission to disable auth. Never print tokens or use a placeholder key as if it were a real credential.
Generate speech
Save this JSON to speech-request.json, replacing voice with a discovered profile ID when the user selected a voice:
{"model":"tts-1","voice":"alloy","input":"Every voice has a story. Let's tell yours.","response_format":"wav"}
curl --fail-with-body --show-error http://localhost:3900/v1/audio/speech \
-H 'Content-Type: application/json' --data-binary @speech-request.json \
--output speech.wav
tts-1 and tts-1-hd are aliases, not quality guarantees. OpenAI voice names are compatibility aliases, not those providers' actual voices. Prefer a discovered saved voice for repeatable narration. Check the installed engine's language and voice-design capabilities before promising a result.
Check the HTTP status and decode/probe the output before calling it audio: an error response can be written to the output path. Report the saved path and actual duration/format. Never fabricate a successful generation, transcript, or job completion.
Transcribe
curl --fail-with-body --show-error http://localhost:3900/v1/audio/transcriptions \
-F file=@clip.wav -F model=whisper-1 -F response_format=verbose_json
Use json or text for plain transcripts, verbose_json for timestamps, and srt/vtt for subtitles when supported by the running schema. Check transcription-model readiness before long recordings; explain a missing model and obtain download authorization rather than silently installing it.
Cloning, design, dubbing, and longer workflows
Use the installed OpenAPI schema to discover profile creation, reference uploads, generation, dubbing, and long-form job operations. Their native endpoints are broader than the OpenAI compatibility API and evolve independently.
- Clone only voices the user is authorized to use. Preserve reference files and existing profiles.
- For design, capture the requested tone, delivery, language, and sample text; check engine support.
- For dubbing, retain original media, speaker assignments, segment timing, and background-audio intent. Translation completion is not rendered-dub completion.
- For asynchronous work, use returned job IDs and documented progress/status endpoints. Inspect terminal errors; avoid blindly resubmitting timed-out generation.
- Return usable files and honest limitations, including missing models or unavailable capabilities.
MCP and automation
The running backend mounts an MCP endpoint at http://localhost:3900/mcp. Use the client's supported HTTP transport and discover its tools at runtime. Reuse an existing connection rather than spawning another service. For stdio-only clients, consult the project's MCP guide for its shim.
For n8n, calling agents, containers, or other hosts, make the backend address reachable from that environment: container localhost refers to the container. Keep authentication and explicit remote-routing choices intact. An integration-directory listing does not mean the integration is connected.
On errors, read the response body, distinguish unavailable backend, missing model, unsupported capability, authentication, and busy hardware. Fix the reported cond
常见问题
它需要 VoiceStudio 应用吗?
需要。该技能与正在运行的 VoiceStudio 后端协同工作,默认地址为 localhost 的 3900 端口。
所有操作都能离线进行吗?
已安装的模型可以离线运行,但某些流程(例如云端翻译)需要你的选择,并可能需要联网。
它可以使用任何它想要的声音吗?
不可以。该技能说明,声音 ID 必须来自正在运行的应用,不能凭猜测。
详情
作者的原始描述
Generate local speech with saved or designed voices, transcribe audio, and automate dubbing or narration workflows through VoiceStudio's REST API or MCP server. Use when the user wants to work with VoiceStudio audio or connect it to an agent or automation.
repo: debpalash/VoiceStudio
热度
- GitHub 星标
- 99k
- 排名
- #1289
- 许可证
- AGPL-3.0
- 更新时间
- 2026/11/2
评论
- …