agentleFS
AmanJozfAmanJozf/agent-arsenal/skills/video-media/voicestudio/SKILL.md

voicestudio

Skill4 starsChanged 9 days agoMITView on GitHub

Local-first AI voice studio and open-source ElevenLabs alternative. Clone voices from audio clips, generate high-fidelity speech (TTS), dub videos across 600+ languages, transcribe audio with Whisper, and integrate with MCP agents or local OpenAI-compatible endpoints.

  • Pipes a download into a shell

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write or paste full scripts with multi-speaker dialogue blocks.

    line 26
  2. Distinctive:

    Run the installer (ships with bundled GPU/CUDA acceleration detection).

    line 54
  3. Distinctive:

    Add to your MCP configuration:

    line 74
  4. Distinctive:

    Use 5–15 seconds of clean, dry speech (no background music, no reverb, no mouth clicks).

    line 135
  5. Distinctive:

    Ensure consistent volume and normal speaking cadence.

    line 136
  6. Very specific:

    Use punctuation (..., ,, —) to guide the engine's natural breathing pauses and cadence.

    line 141

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

VoiceStudio

A local-first, zero-cost desktop studio and AI agent voice engine designed as an open-source alternative to ElevenLabs. Created by debpalash/VoiceStudio.

VoiceStudio enables high-fidelity voice cloning, text-to-speech (TTS), multi-character audiobook creation, video dubbing, and Whisper speech-to-text running completely offline on your local GPU/CPU hardware.


⚡ Core Capabilities

  1. Instant Voice Cloning (Zero-Shot / Few-Shot):
    • Provide a 5–15 second clean reference audio clip (.wav, .mp3, .m4a).
    • Extract voice timbre, accent, pitch, and cadence without fine-tuning.
    • Generate speech in the cloned voice with emotional inflection control.
  2. Custom Voice Design:
    • Synthesize unique voices by specifying gender, age, vocal warmth, energy, and accent parameters.
    • Save custom voice profiles locally for reuse across projects.
  3. Multi-Character Audiobook & Script Editor:
    • Write or paste full scripts with multi-speaker dialogue blocks.
    • Assign distinct voice profiles to each character or narrator.
    • Export unified audio with automatic pause/pacing adjustments.
  4. Video Dubbing & Translation:
    • Time-aligned speech translation across 600+ languages.
    • Voice preservation: dub into target languages while retaining the speaker's original vocal tone.
  5. Transcription & Dictation (Whisper-Powered):
    • Local, fast, privacy-preserving speech-to-text.
    • Floating widget support for system-wide voice dictation.
  6. Agent & MCP Interoperability:
    • Built-in Model Context Protocol (MCP) server for AI coding agents.
    • OpenAI-compatible /v1/audio/speech and /v1/audio/transcriptions REST endpoints.
    • Agent-specific client mapping (X-OmniVoice-Client-Id) to assign unique voices to different AI personas.

🚀 Installation & Setup

Option 1: One-Line Installer (macOS & Linux)

curl -fsSL https://voicestudio.sh/install | sh

Option 2: Windows Setup

  1. Download the latest installer .exe from the Releases page.
  2. Run the installer (ships with bundled GPU/CUDA acceleration detection).

Option 3: Docker (Headless / Server Mode)

docker run -d -p 8000:8000 --gpus all ghcr.io/debpalash/voicestudio:latest

🤖 AI Agent & MCP Integration

VoiceStudio exposes a native MCP server so that Antigravity, Claude Code, Cursor, and Codex can synthesize speech and clone voices programmatically.

Running the Local MCP Server

# Start backend with MCP enabled
python -m backend.mcp_server --port 8000

Connecting to Antigravity / Claude Code MCP

Add to your MCP configuration:

{
  "mcpServers": {
    "voicestudio": {
      "command": "python",
      "args": ["-m", "backend.mcp_server"],
      "env": {
        "VOICESTUDIO_API_URL": "http://127.0.0.1:8000",
        "VOICESTUDIO_CLIENT_ID": "antigravity-agent"
      }
    }
  }
}

Using the OpenAI-Compatible API in Python

VoiceStudio runs a local /v1 server, allowing you to use the standard openai SDK with zero subscription cost:

from openai import OpenAI

# Point to your local VoiceStudio instance
client = OpenAI(
    base_url="http://127.0.0.1:8000/v1",
    api_key="local"  # Dummy key for local offline server
)

# 1. Text-to-Speech (TTS)
response = client.audio.speech.create(
    model="omni-voice-v1",
    voice="cloned-speaker-id",  # Or built-in voice preset
    input="Welcome to our project. Let me show you what we built today."
)
response.stream_to_file("output.mp3")

# 2. Audio Transcription (STT)
with open("recording.mp3", "rb") as audio_file:
    transcription = client.audio.transcriptions.create(
        model="whisper-base",
        file=audio_file
    )
    print(transcription.text)

🛠️ Prompt Trigger Recipes

Agents should activate this skill when the user asks for:

  • "Clone this voice from <sample.wav>"
  • "Generate a voiceover for this video script without paying ElevenLabs"
  • "Dub this video into German while keeping the original speaker's voice"
  • "Create an audiobook / dialogue with two different narrator voices"
  • "Set up a local text-to-speech engine with OpenAI compatibility"

💡 Production Best Practices

  1. Audio Sample Quality for Cloning:
    • Use 5–15 seconds of clean, dry speech (no background music, no reverb, no mouth clicks).
    • Ensure consistent volume and normal speaking cadence.
  2. GPU Acceleration:
    • Windows/Linux: NVIDIA GPU with CUDA 11.8+ or 12.x provides real-time streaming (<200ms latency).
    • macOS: Apple Silicon (M1/M2/M3/M4) leverages Metal Performance Shaders (MPS) natively.
  3. Pacing in Scripts:
    • Use punctuation (..., ,, —) to guide the engine's natural breathing pauses and cadence.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.