{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "leemysw-yovoice--serve-local-audio-api-for-coding-agent",
 "repo": "leemysw/yovoice",
 "repo_url": "https://github.com/leemysw/yovoice",
 "repo_slug": "leemysw-yovoice",
 "title": "Expose local audio generation as an API and MCP server",
 "page_title": "How to expose local audio generation as an API and MCP server with Yovoice",
 "summary": "Run Yovoice serve so Cursor or Claude Code can call the authenticated HTTP API and MCP inference service.",
 "who": "A developer who wants a coding agent in Cursor or Claude Code to generate speech or music on a machine with a capable GPU.",
 "problem": "Coding agents cannot generate audio locally without a service they can reach over the network.",
 "outcome": "An authenticated HTTP API and MCP endpoint that the agent client can call for inference.",
 "steps": [
  "Install Yovoice on the machine that has the models and GPU, then download the models you need.",
  "Run `yovoice serve` on that machine.",
  "Follow the API / MCP deployment guide at docs/api.md to configure authentication and connect the client.",
  "Add the MCP server to Cursor or Claude Code using the client example in docs/api.md.",
  "Ask the agent for a short test clip and confirm it returns audio."
 ],
 "agent_prompt": "Using the leemysw/yovoice repo, run `yovoice serve` on <host machine> and connect Claude Code or Cursor to its MCP endpoint following docs/api.md. Expected output is a short test audio clip returned by the agent; verify that unauthenticated requests are rejected.",
 "agents": [
  "cursor",
  "claude-code"
 ],
 "difficulty": "Advanced",
 "time": "2 hours",
 "basis": "readme",
 "caveat": "The README gives the serve command but not its authentication setup, so the exact configuration must be taken from docs/api.md.",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "typescript",
 "requirements": [
  "macOS 14+ on Apple Silicon, or Windows 10/11 x64 (NVIDIA GPU optional for the CUDA builds)",
  "Enough disk space and time to download at least one model inside the app (sizes are listed in docs/models.md)",
  "Reference audio of the voice you are allowed to use, if you want cloning",
  "An AI agent that can install a Skill (for the agent-driven path), or just the desktop app for the GUI path"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The HTTP API is authenticated, so keep its credentials out of shared repos and restrict who on the network can reach the host."
  }
 ],
 "best": false,
 "score": 0.6,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/leemysw-yovoice/serve-local-audio-api-for-coding-agent/",
 "md": "https://dedupedai.com/use-cases/leemysw-yovoice/serve-local-audio-api-for-coding-agent/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/leemysw-yovoice--serve-local-audio-api-for-coding-agent.json",
 "api_version": "v1"
}
