Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

tts

БесплатноБез исполняемых скриптовНе проверен

Convert text to speech using ElevenLabs with emotional audio tags, pronunciation control, and blog-to-audio workflows

wpgauravот wpgaurav★ 24 звезды на GitHub

Об этом скилле

ElevenLabs Text-to-Speech Skill

Generate natural, expressive speech from text using ElevenLabs. This skill covers voice selection, audio tags, pronunciation control, text normalization, and multi-speaker dialogue.

When to Use This Skill

  • Converting blog posts or articles to audio
  • Creating voiceovers for videos
  • Generating podcast intros/outros
  • Building conversational AI responses
  • Producing audiobook chapters
  • Creating voice demos or samples

Quick Reference

Model Selection

Model Best For Latency Quality
Eleven v3 Expressive content, emotional range, audio tags Medium Highest
Multilingual v2 Multiple languages, number/currency handling Medium High
Turbo v2.5 Low-latency applications, conversational AI Fast Good
Flash v2 Speed-critical applications Fastest Acceptable

Default choice: Eleven v3 for most content. Multilingual v2 if you need reliable number pronunciation without preprocessing.

Stability Settings (v3 Only)

  • Creative (0.0-0.3): Most expressive, responds well to audio tags, may hallucinate
  • Natural (0.4-0.6): Balanced, closest to original voice
  • Robust (0.7-1.0): Most stable, less responsive to direction

Default: Natural (0.5) for most use cases.


Core Techniques

1. Pauses

For v2 models: Use SSML break tags.

"Hold on, let me think." <break time="1.5s" /> "Alright, I've got it."

Maximum pause: 3 seconds. Don't overuse. Too many break tags cause instability.

For v3 models: SSML breaks don't work. Use these alternatives:

  • Ellipses (...) for hesitant pauses
  • Dashes (-- or —) for short pauses
  • [short pause] or [long pause] audio tags
  • Line breaks in text
"I thought about it for a while... and I realized you were right."

2. Pronunciation

Phoneme tags (v2 models only):

<phoneme alphabet="cmu-arpabet" ph="M AE1 D IH0 S AH0 N">Madison</phoneme>

Use CMU Arpabet over IPA. More consistent results.

For v3 or when phonemes don't work:

Write words phonetically. Use capitals for emphasis, apostrophes for syllable breaks.

  • "trapezii" → "trapezIi" (emphasize the "ii")
  • "Nguyen" → "Win" or "Nwin"
  • "GIF" → "jiff" or "giff" depending on your preference

Alias tags (for pronunciation dictionaries):

<lexeme>
  <grapheme>Claughton</grapheme>
  <alias>Cloffton</alias>
</lexeme>

3. Emotion and Delivery

Narrative context works better than hoping the AI "gets it":

"You're leaving?" she asked, her voice trembling with sadness.

The model reads the emotional guidance. Remove it in post-production if you don't want it in the final audio.

For v3, use audio tags instead:

[sad] "You're leaving?"

Eleven v3 Audio Tags

v3 introduces audio tags for emotional control. These go in square brackets before or after the text they modify.

Voice/Emotion Tags

[laughs], [laughs harder], [starts laughing], [wheezing]
[whispers]
[sighs], [exhales]
[sarcastic], [curious], [excited], [crying], [snorts], [mischievously]
[happy], [sad], [angry], [annoyed], [appalled], [thoughtful], [surprised]
[professional], [sympathetic], [reassuring], [dramatic]

Sound Effect Tags

[gunshot], [applause], [clapping], [explosion]
[swallows], [gulps]
[short pause], [long pause]

Special Tags

[strong French accent]
[strong Russian accent]
[sings]
[whispers]

Replace "French" or "Russian" with any accent. Results vary by voice.

Tag Placement Examples

Before the line:

[excited] "You won't believe what just happened!"

After the line:

"I can't believe this is happening..." [sighs]

Mid-sentence:

"I thought about it [long pause] and I realized you were right."

Combined:

[whispers] "Don't tell anyone, but..." [giggles] "I already knew."

What Works, What Doesn't

Tags must match the voice's character. A calm, meditative voice won't shout convincingly. A hyped voice won't whisper well.

Works:

  • Subtle emotional shifts
  • Laughs, sighs, pauses
  • Accent shifts (if voice has range)

Doesn't work:

  • Asking a whisper voice to shout
  • Requesting music or complex sound effects
  • Tags that contradict the voice's training data

Text Normalization

Smaller models struggle with numbers, dates, currencies, and special formats. Fix this before sending to the API.

Problem Inputs

Input Problem
$1,000,000 May say "one thousand thousand dollars"
555-123-4567 May read as one big number
2024-01-15 May read digits individually
9:30 AM May stumble on format
example.com/path Unpredictable URL handling

Solutions

Option 1: Use Multilingual v2. It handles these better natively.

Option 2: Preprocess text before sending to API.

Normalization Reference

| Input | Normalized Output |

Полный SKILL.md на GitHub

Установить tts в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл tts?

Convert text to speech using ElevenLabs with emotional audio tags, pronunciation control, and blog-to-audio workflows

Как установить скилл tts?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл tts запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить tts с