{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "cuongyd196-cit-voice-studio--agent-calls-local-tts-api",
 "repo": "Cuongyd196/cit-voice-studio",
 "repo_url": "https://github.com/Cuongyd196/cit-voice-studio",
 "repo_slug": "cuongyd196-cit-voice-studio",
 "title": "Let an AI agent generate Vietnamese WAV files through the local API",
 "page_title": "How to let an AI agent generate Vietnamese WAV files through the local API with Cit Voice Studio",
 "summary": "Point a script or coding agent at the app's local API on port 8001 to create speech files automatically.",
 "who": "A developer or automation builder who wants a coding agent or script to create Vietnamese voice files as part of a larger workflow, such as a content pipeline.",
 "problem": "Each speech file has to be made by hand in the app, which does not scale when an agent or script needs many files.",
 "outcome": "Speech files are generated by the agent or script through the local API, saved to disk, and checked against the expected output.",
 "steps": [
  "Install CIT Voice Studio and keep the app open, since the README says the local API runs only while the app is open.",
  "Open http://127.0.0.1:8001/health in a browser to confirm the server is running.",
  "Open http://127.0.0.1:8001/docs to test the /api/tts/generate endpoint and see the request format.",
  "Open http://127.0.0.1:8001/cit-voice-studio.md and load it into Cursor as integration context.",
  "Run the agent or the Python example from the README, which sends a POST request to /api/tts/generate and saves the returned audio."
 ],
 "agent_prompt": "Using the CIT Voice Studio API running at http://127.0.0.1:8001, send POST requests to /api/tts/generate with the text from <input-text-file> and voice_id \"Minh Đức\", then save each response as a WAV file in <output-folder>. Expected output: one WAV file for each input text. Verify that each saved file opens and has a non-zero size.",
 "agents": [
  "cursor"
 ],
 "difficulty": "Advanced",
 "time": "60 minutes",
 "basis": "readme",
 "caveat": "The API works only on the same computer by default, and the README warns that LAN access sends the API key over unencrypted HTTP, so keep it local unless you add HTTPS.",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "",
 "requirements": [
  "A Windows 10/11 64-bit, Ubuntu/Debian 64-bit, or macOS 13/14 computer, with at least 8 GB RAM and 3 GB free disk space (5 GB recommended)",
  "The text to read, as a TXT, PDF, or Word (.docx) file, or pasted directly into the app",
  "For the subtitle step, an .srt or .vtt subtitle file for the video"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/cuongyd196-cit-voice-studio/agent-calls-local-tts-api/",
 "md": "https://dedupedai.com/use-cases/cuongyd196-cit-voice-studio/agent-calls-local-tts-api/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/cuongyd196-cit-voice-studio--agent-calls-local-tts-api.json",
 "api_version": "v1"
}
