
Last month, I looked at my credit card statement and realized I was paying ElevenLabs $99 every single month on the Pro plan just to generate voiceovers for my YouTube videos and software demos.
Even on that plan, every re-take ate into my monthly credits. If I wanted to re-record a 60-second intro with a slightly different emotional tone, it came out of my bucket. When I needed custom emotions like a quick laugh or a whisper, I had to fight the tool to get it.
I decided to stop paying the subscription and find a real elevenlabs alternative free setup that I could control completely.
In this guide, I will show you the exact system I built and tested: running Fish Audio Drama 3 (a 35-billion parameter open-weights model) on Modal.com, paid for by Modal’s free monthly credit, and connecting it straight to Cursor, Claude Desktop, and Windsurf using a standard Model Context Protocol (MCP) configuration.
🎬 Watch the 40-Second Voice Clone Demo
Before looking at any code, watch the 40-second video demo below. The audio was generated from scratch using this exact open-weights setup, cloned from a single 10-second microphone recording:
The voice holds natural vocal resonance without digital buzz, and you can direct its emotion on the fly using simple text tags like whisper, laugh, and language switches.
Why Fish Audio Drama 3 Stands Out Among Open-Source Voice Models
If you have tried open-source text-to-speech tools before, you probably walked away disappointed. Most open-weights voice models sound flat, metallic, or struggle to clone an authentic human voice without hours of training data.
Drama 3 changes that. It is a 35-billion parameter Mixture-of-Experts (MoE) model from Fish Audio, and only about 3 billion parameters are active per word token, which keeps it fast for its size (Drama 3 tech report). The weights are public on Hugging Face.
Here is how Drama 3 compares against popular open-source voice models:
| Model | Parameters & Architecture | Reference Audio Needed | Emotion Directing | Voice Cloning |
|---|---|---|---|---|
| Fish Audio Drama 3 | 35 Billion (MoE, ~3B active) | A short clip (I used 10 seconds) | Style prefixes, <whisper>, [laughs], language tags |
Zero-shot from a reference clip + transcript |
| Kokoro v0.19 | 82 Million (Single-stream) | Pre-baked voices only | Minimal / Static | No zero-shot cloning (fixed presets) |
| ChatTTS | 100 Million (Conversational) | Synthetic seed tokens | Basic laughing/sighs | Limited speaker identity consistency |
| F5-TTS | 300 Million (Flow-matching) | 15 to 20 seconds | Weak prompt steering | Zero-shot cloning |
| XTTS-v2 | 700 Million (Autoregressive) | 10 to 30 seconds | Limited | Zero-shot cloning |
Here are the reasons I picked Drama 3:
1. A Much Bigger Model
Smaller models squeeze speech into 100 million to 700 million parameters. Drama 3 is far larger, which shows in how much of your real voice it keeps from a short clip.
2. Zero-Shot Voice Cloning
You do not need to fine-tune weights or wait for a GPU training job. You send a reference WAV file plus its exact transcript in your request, and Drama 3 matches that speaker right away.
3. Emotion You Write Into the Script
Drama 3 reads tags inside your text: a style prefix for the whole line, scoped tags like <whisper>…</whisper> for a few words, and point tags like [laughs] that drop a sound at that spot. I show exactly how below.
The Math: ElevenLabs Subscriptions vs. Modal Pay-Per-Second
ElevenLabs charges $22 (Creator), $99 (Pro) or $299 (Scale) a month (pricing), whether you produce 3 videos or 30.
On Modal, you only pay while the GPU is switched on: $0.001097 per second for an NVIDIA H100 (about $3.95 an hour) (Modal pricing). And Modal’s free Starter plan gives you $30 of credit every month.

Here is what one real voiceover session costs, from my own tests:
| Part of one session | Time | Cost |
|---|---|---|
| Cold start (GPU boots + model loads) | ~180 s | ~$0.20 |
| Generating a 45-second Short voiceover | ~30–60 s | ~$0.03–0.07 |
| Idle window before the GPU switches off | 60 s | ~$0.07 |
| Total per session | ≈ $0.30 |
That means the $30 monthly credit covers roughly 100 voiceover sessions a month for $0, and when you are not using it, the bill is $0.
If you produce video content using editors like Descript or programmatic engines like Remotion, pairing them with your own voice engine cuts your monthly software expenses down to almost nothing.
The Honest Catch: A 3-Minute Cold Start
Drama 3 is a big model. When the GPU has been idle and switched off, the next request has to boot a fresh H100 and load the model. In my tests that took about 3 minutes (181 seconds).
First request → GPU boots → model loads (~3 min) → speech
Next requests → speech right away (GPU is still warm)
60 s, no request → GPU switches off → you stop paying
I also tested a faster H200 GPU. It started in 174–218 seconds, so no real gain, and it costs 15% more per second. Most of that time is booting the machine and loading the model, which a faster chip does not speed up. So I stay on the H100.
Tip: send your whole script in one go (chunked, see below). You pay the 3-minute start once, and every chunk after that runs on the warm GPU.
Step 1: Deploying Drama 3 on Modal

Before you start
1. Install Modal and log in:
pip install modal
modal setup
2. Get a free Hugging Face token. Modal uses it to download the Drama 3 weights from Hugging Face.
huggingface.co → Sign up (free) → profile picture → Settings → Access Tokens
→ Create new token → Token type: "Read" → name it "modal-drama3" → Create
→ copy the token (starts with hf_). It is shown only once.
- What it is: a password that lets a script download models under your account.
- Why you need it: the deploy file below expects it, and downloads without a token are slower and rate-limited.
- Drama 3 is not gated, so you do not need to accept any terms on the model page.
- Keep it private. If it ever leaks, delete it under Settings → Access Tokens and make a new one.
3. Save the token in Modal (so it never sits in your code):
modal secret create huggingface-secret HF_TOKEN=hf_your_token_here
Check it worked: modal secret list should show huggingface-secret. You can also do this in the browser: modal.com → Secrets → Create new secret → Hugging Face → paste the token → name it huggingface-secret.
The deploy file I use (drama3_deploy.py)
import os
import shutil
import subprocess
import threading
import time
import modal
from modal import App, Image, Volume, Secret
MODEL_ID = "fishaudio/drama-3"
PORT = 8000
# Weights download once into this volume and are reused on every start
cache = Volume.from_name("drama3-cache", create_if_missing=True)
drama3_image = (
Image.from_registry("lmsysorg/sglang:latest")
.entrypoint([])
.apt_install("git")
.pip_install("uv")
.run_commands(
"git clone https://github.com/sgl-project/sglang-omni.git /opt/sglang-omni",
"cd /opt/sglang-omni && uv pip install --system --prerelease=allow -v -e '.[fishaudio]'",
)
.pip_install("soundfile", "requests")
.env({"HF_HOME": "/cache/hf"})
)
app = App("drama3-server", image=drama3_image)
@app.cls(
gpu="H100",
volumes={"/cache": cache},
secrets=[Secret.from_name("huggingface-secret")],
timeout=1200,
scaledown_window=60, # stay warm for 60 s between requests
max_containers=1,
)
class Drama3Server:
@modal.enter()
def start(self):
import requests
# Clear stale download locks left on the volume by an interrupted run
shutil.rmtree("/cache/hf/hub/.locks", ignore_errors=True)
cmd = ["sgl-omni", "serve", "--model-path", MODEL_ID, "--host", "0.0.0.0", "--port", str(PORT)]
self.proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True, bufsize=1)
def stream_logs():
for line in iter(self.proc.stdout.readline, ""):
print(f"[sgl-omni] {line}", end="", flush=True)
threading.Thread(target=stream_logs, daemon=True).start()
# Wait until the model is loaded (the very first run also downloads the weights)
for _ in range(450):
try:
if requests.get(f"http://127.0.0.1:{PORT}/v1/models", timeout=2).status_code == 200:
return
except Exception:
pass
time.sleep(2)
raise RuntimeError("sgl-omni did not start in time")
@modal.web_server(port=PORT, startup_timeout=300)
def serve(self):
pass
Deploy it to your Modal account:
modal deploy drama3_deploy.py
Copy the URL that modal deploy prints and add /v1/audio/speech to the end. It looks like this:
https://<your-workspace>--drama3-server-drama3server-serve.modal.run/v1/audio/speech
The very first run downloads the weights into the volume, so it takes longer. After that, every cold start is about 3 minutes.
⚠️ Set your HTTP timeout to 600 seconds, because the first request of a session waits for the cold start.
🔒 Your URL is public. Anyone who finds it can spend your GPU credit, so do not post it anywhere.
Step 2: The Universal IDE MCP Configuration
Most creators do not want to run complex Docker containers just to talk to a model. The beauty of the Model Context Protocol is that you can configure your AI coding editor with a simple JSON snippet. If you are exploring how different AI tooling setups compare, check out my breakdown on what are Claude code mods to see how standard MCP servers compare to local plugins.
1. The Standalone MCP Server (drama3_mcp.py)
Save this single Python script on your local computer (e.g. at C:/scripts/drama3_mcp.py or ~/scripts/drama3_mcp.py). It uses the official standard mcp library:
import os
import json
import base64
import urllib.request
from mcp.server.fastmcp import FastMCP
mcp = FastMCP("drama3-voice")
ENDPOINT = os.environ.get("DRAMA3_ENDPOINT", "https://<your-workspace>--drama3-server-drama3server-serve.modal.run/v1/audio/speech")
REF_AUDIO_PATH = os.environ.get("REF_AUDIO", "C:/audio/my_10s_recording.wav")
REF_TRANSCRIPT = os.environ.get("REF_TEXT", "The exact words you spoke in your recording.")
@mcp.tool()
def generate_voiceover(script: str, output_path: str = "voiceover.wav", style: str = "[British accent, friendly, clear]") -> str:
"""Clones your voice and generates speech from text using Fish Audio Drama 3."""
full_text = f"{style} {script.strip()}"
with open(REF_AUDIO_PATH, "rb") as f:
audio_b64 = base64.b64encode(f.read()).decode("ascii")
payload = {
"input": full_text,
"references": [{
"audio_path": f"data:audio/wav;base64,{audio_b64}",
"text": REF_TRANSCRIPT
}]
}
req = urllib.request.Request(
ENDPOINT,
data=json.dumps(payload).encode("utf-8"),
headers={"Content-Type": "application/json"}
)
# 600 s: the first request of a session waits for the ~3 minute cold start
with urllib.request.urlopen(req, timeout=600) as resp:
with open(output_path, "wb") as f:
f.write(resp.read())
return f"Voiceover generated successfully: {output_path}"
if __name__ == "__main__":
mcp.run()
Install the official package once:
pip install mcp
2. Add to Your Editor’s MCP Settings
Now, add this tool to whichever editor you use by pasting this standard block:
For Cursor IDE:
Open Settings → Features → MCP → Add New MCP Server:
* Name: drama3-voice
* Type: command
* Command: python C:/scripts/drama3_mcp.py
For Claude Desktop:
Add to your claude_desktop_config.json:
{
"mcpServers": {
"drama3-voice": {
"command": "python",
"args": ["C:/scripts/drama3_mcp.py"],
"env": {
"DRAMA3_ENDPOINT": "https://<your-workspace>--drama3-server-drama3server-serve.modal.run/v1/audio/speech",
"REF_AUDIO": "C:/audio/my_recording.wav",
"REF_TEXT": "Your exact recording transcript goes here."
}
}
}
}
For Windsurf / Antigravity:
Paste the same block into your mcp_config.json. When you restart your editor, you will see generate_voiceover appear directly in your active tool list.
Step 3: Direct Python Integration (No MCP Required)
If you are building an automated pipeline or just want to call the voice cloner from an existing script without an IDE, you can make a raw HTTP POST request directly:
import base64
import requests
with open("my_reference.wav", "rb") as f:
ref_b64 = base64.b64encode(f.read()).decode("ascii")
response = requests.post(
"https://<your-workspace>--drama3-server-drama3server-serve.modal.run/v1/audio/speech",
json={
"input": "[British accent, excited, quick pace] Welcome back to another video!",
"references": [{
"audio_path": f"data:audio/wav;base64,{ref_b64}",
"text": "The exact sentence you spoke in your reference audio clip."
}]
},
timeout=600,
)
with open("output.wav", "wb") as f:
f.write(response.content)
How to Direct Emotions With Tags
Drama 3 reads a few kinds of tags. I write them straight into my script file, so I can see exactly what gets sent:
| Tag type | What it does | Example from my Short |
|---|---|---|
Style prefix [ ... ] at the start of a line |
Sets the delivery of the whole line | [British accent, excited, loud] Or get <stress>really</stress> excited! |
Scoped tag <x>…</x> |
Changes only the wrapped words | <whisper>I can whisper a secret.</whisper> |
Point tag [x] |
Drops a sound at that exact spot | Laugh at my own jokes. [laughs] |
| Language tag | Switches language mid-line | I can even speak Spanish. <spanish>Hola amigos y bienvenidos a mi canal.</spanish> |
The rules that worked for me
- Style prefix = accent + 2 words you can actually hear, like an emotion and a pace:
[British accent, sneaky, quick pace]. Abstract words like “honest” or “professional” do nothing. - Put the prefix on every line. Without it, the voice drifts back toward the raw reference.
- The accent mostly comes from your reference clip, not the tag. Changing the accent word made very little audible difference in my tests.
- Do not use
.... In my takes it produced dead silence instead of a natural pause. - Skip commas inside a spoken line if you do not want little micro-pauses.
🚨 Fixing Glitches: 95-Second Loops and Silent Takes
During my testing, some takes went wrong: the audio ran on for 95 seconds, or went silent halfway through. Here are the tags that caused trouble for me:
| Tag | What happened | What to do instead |
|---|---|---|
[sad] |
20 seconds of dead silence | Use [sighs] |
[shaky breath] |
95-second runaway take | Use [nervous] |
[pause] |
2.7-second glitch | Leave it out and use shorter sentences |
<|speaker:0|> |
HTTP 400 Bad Request | Remove it (the voice comes from your reference clip) |
But avoiding these tags is not enough. Runaway and silent takes also happen at random, with any tags. Fish Audio’s own tech report describes the same thing: they cap each take at about 2.5× its expected length and regenerate it.
So my client checks every chunk after it comes back:
Take is way longer than the words need? → retry
Mostly silent, or a gap longer than 2.5 s? → retry
Failed 3 times? → split the chunk in half and try each half
That check is what makes long scripts reliable.
The 60–80 Word Chunking Engine: Fixing the Early Audio Cutoff Bug
Like all large autoregressive audio models, Drama 3 generates speech token by token. When you feed a script longer than 100 words with multiple emotional tags in a single request, the model can end the take early and cut off your sentence.
To generate long narrations reliably, use a chunking engine:
Full Video Script (1 to 30 minutes)
↓
Split by Sentence Boundaries ('.', '!', '?') into ~70-Word Chunks
↓
Keep a Style Prefix on Every Line: [British accent, friendly, clear]
↓
Sequential Modal Requests (H100 stays warm between calls)
↓
Check Each Take (length + silence) → Retry if Bad
↓
Lossless FFmpeg Stitching (Concat Demuxer)
Here is a clean Python script that handles chunking, sequential synthesis, and lossless FFmpeg stitching:
import re
import subprocess
import requests
def chunk_text(text: str, target_words: int = 70) -> list[str]:
sentences = re.split(r'(?<=[.!?])\s+', text.strip())
chunks = []
current_chunk = []
current_count = 0
for s in sentences:
words = len(s.split())
if current_count + words > target_words and current_chunk:
chunks.append(" ".join(current_chunk))
current_chunk = [s]
current_count = words
else:
current_chunk.append(s)
current_count += words
if current_chunk:
chunks.append(" ".join(current_chunk))
return chunks
def synthesize_long_script(script: str, output_final: str = "full_voiceover.wav"):
chapters = chunk_text(script, target_words=70)
wav_files = []
for i, chapter in enumerate(chapters):
part_name = f"part_{i:03d}.wav"
# Each line in your script already starts with its own style prefix
res = requests.post(
"https://<your-workspace>--drama3-server-drama3server-serve.modal.run/v1/audio/speech",
json={"input": chapter, "references": [...]}, # same references block as Step 3
timeout=600,
)
with open(part_name, "wb") as f:
f.write(res.content)
wav_files.append(part_name)
# Stitch losslessly using FFmpeg concat
with open("concat_list.txt", "w") as f:
for w in wav_files:
f.write(f"file '{w}'\n")
subprocess.run(["ffmpeg", "-y", "-f", "concat", "-safe", "0", "-i", "concat_list.txt", "-c", "copy", output_final], check=True)
print(f"Narration stitched successfully: {output_final}")
YouTube Shorts & Reels: Cutting Dead Air
For vertical video platforms like YouTube Shorts, Instagram Reels, and TikTok, viewers swipe away if there is dead air.
I use two fixes for short-form video:
1. Add “quick pace” to the Style Prefix
[British accent, excited, quick pace] Or get really excited!
In my test, adding “quick pace” cut one line from 5.0 seconds to 2.9 seconds, and it roughly halved the pauses.
2. Trim Pauses Down to 0.25 Seconds
About 1 second of silence still sits between tagged lines. Running a silence trimmer that cuts every pause longer than 0.25 seconds down to 0.25 seconds gives you a tight, fast rhythm without touching the voice itself.
Optional: EQ & Loudness for Your Final Mix
I keep my voice track untouched and only trim pauses. If your reference was recorded in an untreated room and you want a cleaner sound, this single FFmpeg filter chain is a common starting point:
ffmpeg -i voiceover.wav -af "highpass=f=80,equalizer=f=250:width_type=o:w=1:g=-2.5,equalizer=f=3500:width_type=o:w=1:g=2.0,loudnorm=I=-14:TP=-1.0:LRA=7" mastered_voiceover.wav
What Each Filter Does:
highpass=f=80: Cuts out low-end desk thumps and air conditioner hum below 80 Hz.equalizer=f=250:g=-2.5: Tames 250 Hz muddiness, making your voice sound crisp rather than boomy.equalizer=f=3500:g=+2.0: Boosts 3.5 kHz presence by +2 dB for clarity on phone speakers.loudnorm=I=-14:TP=-1.0: Brings loudness to around -14 LUFS, the level YouTube normalizes to.
Summary Takeaways
Building your own voice generator with Fish Audio Drama 3 and Modal gives you four big advantages:
- A Much Bigger Open Model: 35 billion parameters (MoE), cloned from a short clip, with emotion tags like
<whisper>and[laughs]written right into your script. - Free for Most Creators: Modal’s $30 monthly credit covers roughly 100 voiceover sessions, and the idle bill is $0.
- One Honest Catch: the first request after the GPU has been idle takes about 3 minutes to start. Batch your script into one session.
- Reliable Long-Form Narration: ~70-word chunks plus an automatic check-and-retry on every take prevent cutoffs and runaway audio.
If you are a creator, software engineer, or agency building video content, running your own open-weights voice model on Modal is one of the most cost-effective upgrades you can make to your production workflow.







