tts-director

Rewrites scripts for the ear and adds ElevenLabs audio tags within a strict budget, then lints them and gates generation on your approval.

  • 78 GitHub stars
  • ⚖️ MIT

Last verified: write-up checked

git clone https://github.com/aligh98/tts-director ~/.claude/skills/tts-director
tts-director — skill preview

What it is

Text-to-speech scripts tend to fail in one of two ways: they sound read, or they carry so many tags they sound like an over-acted ad. This skill maps the beats of a video, rewrites for speech while keeping every fact, and allows about one tag per three to four sentences and at most two laughs per reel. The useful engineering is the approval gate. A stamp records the exact text someone approved, and any later change fails the check, which stops a pipeline spending credits on a script nobody signed off. The repo had 78 stars under MIT on 2026-11-07. It is not affiliated with ElevenLabs.

Who it's for

  • Reel and short video makers using ElevenLabs voices
  • Creators working in Persian or English who keep burning credits on over-acted takes

Requirements

Requirements

  • Python 3.9 or later, no dependencies
  • ffmpeg is optional
  • ElevenLabs API key only for ab.py generation

Setup

  1. Step 1

    bash
    git clone https://github.com/aligh98/tts-director ~/.claude/skills/tts-director

تعيد كتابة النصوص لتناسب السمع وتضيف وسوم ElevenLabs الصوتية ضمن حد صارم، ثم تفحصها ولا تسمح بالتوليد إلا بعد موافقتك.

Examples

Free lint with A/B plan

bash
bash
python scripts/tag_lint.py examples/reel-en.txt --model eleven_v4 --tempo 1.15 --ab-budget 160

What it does: Checks beats, register and over-tagging, and costs no credits.

Approval gate

bash
bash
python scripts/tag_lint.py script.txt --check-approved   # exit 0 approved, 3 not

What it does: Fails until the approval stamp matches the text, so a pipeline cannot generate an unapproved script.

Pros & cons

Pros

  • Pro:Linting and dry-run cost checks are free
  • Pro:Practical findings, for example that eleven_v4 ignores speed and style

Cons

  • Con:Built Persian first with English support; no Arabic reference in the README
  • Con:Generating A/B variants uses ElevenLabs credits
  • Con:The README says speech-to-text cannot prove a line sounds excited, so a human ear is still the final judge