Elevenlabs Tts 标志

Elevenlabs Tts

组织
inference-sh
elevenlabs-tts

ElevenLabs text-to-speech via inference.sh: Eleven v4 and v4 Turbo (newest, most expressive, audio tags, realtime streaming), Eleven v3, Multilingual v2 and Flash v2.5, each as its own app with 22+ premium voices. Capabilities: text-to-speech, realtime text-to-speech streaming, audio tags for emotion and delivery, voice selection, stability control, custom and cloned voices. Use for: voiceovers, audiobooks, video narration, podcasts, voice agents, accessibility, IVR. Triggers: elevenlabs, eleven labs, eleven v4, eleven v4 turbo, eleven v3, elevenlabs tts, premium tts, realtime tts, streaming tts, professional voice, ai voice, high quality tts, multilingual tts, voice generation, natural speech, realistic voice, voice over, speech synthesis

概览

发布者inference-sh
代码仓库skills
技能名称elevenlabs-tts
星标数
765
复刻数
104
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 inference-sh 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Elevenlabs Tts AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/inference-sh/skills/tree/main/tools/audio/elevenlabs-tts
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/inference-sh/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/tools/audio/elevenlabs-tts .claude/skills/elevenlabs-tts
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Elevenlabs Tts,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Elevenlabs Tts。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Elevenlabs Tts 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Install the belt CLI skill: npx skills add belt-sh/cli

ElevenLabs Text-to-Speech

Premium text-to-speech with 22+ voices via inference.sh CLI. Each ElevenLabs model is its own app, at one price.

Quick Start

Requires the inference.sh CLI (belt). Install instructions

bash
belt login

# Generate speech with Eleven v4
belt app run elevenlabs/eleven-v4 --input '{"text": "Hello, welcome to our product demo.", "voice": "aria"}'

The result has an audio URL to the generated file.

Which App

AppModelUse it forText limitPrice per 1K characters
elevenlabs/eleven-v4Eleven v4Newest and most expressive; 90+ languages; audio tags10,000$0.08
elevenlabs/eleven-v4-turboEleven v4 TurboThe low-latency v4; realtime voice agents10,000$0.04
elevenlabs/eleven-v3Eleven v3Previous generation; 70+ languages; audio tags5,000$0.08
elevenlabs/eleven-multilingual-v2Eleven Multilingual v2Stable long-form narration10,000$0.08
elevenlabs/eleven-flash-v2-5Eleven Flash v2.5Fastest and cheapest; long texts and high volume40,000$0.04
  • Every app has run: the whole text in, an audio file out.
  • The two v4 apps also have realtime: text streamed in, speech streamed back as it is written (see Realtime Speech).
  • elevenlabs/eleven-v4 and elevenlabs/eleven-v3 also have dialogue: several voices in one take (see Dialogue).
  • Check the current price with belt app pricing elevenlabs/eleven-v4.

elevenlabs/tts is the older app that takes the model as an input. It still works; prefer the per-model apps above.

Voice Library

Female Voices

VoiceStyle
ariaAmerican, conversational
aliceBritish, confident
bellaAmerican, warm
jessicaAmerican, expressive
lauraAmerican, professional
lilyBritish, soft
sarahAmerican, friendly

Male Voices

VoiceStyle
georgeBritish, authoritative
adamAmerican, deep
billAmerican, mature
brianAmerican, conversational
callumTransatlantic, intense
charlieAustralian, natural
chrisAmerican, casual
danielBritish, commanding
ericAmerican, friendly
harryAmerican, young
liamAmerican, articulate
matildaAmerican, warm
riverAmerican, confident
rogerAmerican, authoritative
willAmerican, bright

Examples

Basic Speech

bash
belt app run elevenlabs/eleven-v4 --input '{"text": "Welcome to our quarterly earnings presentation.", "voice": "george"}'

Audio Tags (v4 and v3)

Tags in square brackets are performed, not read aloud. They are free-form directions: emotion, delivery, accents, sounds.

bash
belt app run elevenlabs/eleven-v4 --input '{
  "text": "[excited] We did it! [whispers] Nobody saw this coming. [laughs] What a day.",
  "voice": "jessica"
}'

Common tags: [laughs], [whispers], [sighs], [excited], [sad], [shouts], [slow], [fast]. The other models read tags aloud, so leave them out there.

Choose a Model

bash
# Long narration, stable delivery
belt app run elevenlabs/eleven-multilingual-v2 --input '{
  "text": "Chapter one. It was a quiet morning in the harbour town.",
  "voice": "daniel"
}'

# High volume at the lowest price
belt app run elevenlabs/eleven-flash-v2-5 --input '{
  "text": "Your order has shipped and will arrive on Thursday.",
  "voice": "sarah"
}'

Voice Tuning

bash
belt app run elevenlabs/eleven-v3 --input '{
  "text": "Fine-tune the voice characteristics for your use case.",
  "voice": "bella",
  "stability": 0.3,
  "similarity_boost": 0.9,
  "style": 0.4
}'
ParameterRangeEffectApps
stability0-1Higher = more consistent, lower = more expressiveall
similarity_boost0-1Higher = closer to original voice characterall
style0-1Higher = more style exaggerationv3, Multilingual v2, Flash v2.5
use_speaker_boosttrue/falseEnhances speaker clarityv3, Multilingual v2, Flash v2.5

Eleven v4 and v4 Turbo have two settings only, stability and similarity_boost. Shape their delivery with audio tags.

Custom Voices

Pass voice_id to use a cloned or designed voice (from elevenlabs/voice-clone or elevenlabs/voice-design). It overrides voice.

bash
belt app run elevenlabs/eleven-v4 --input '{"text": "This is my own voice.", "voice_id": "YOUR_VOICE_ID"}'

Output Formats

bash
# High-quality MP3
belt app run elevenlabs/eleven-v4 --input '{
  "text": "High quality audio output.",
  "voice": "daniel",
  "output_format": "mp3_44100_192"
}'
FormatDescription
mp3_44100_128MP3 at 44.1kHz, 128kbps (default)
mp3_44100_192MP3 at 44.1kHz, 192kbps
pcm_16000Raw PCM at 16kHz
pcm_22050Raw PCM at 22.05kHz
pcm_24000Raw PCM at 24kHz
pcm_44100Raw PCM at 44.1kHz

Other Languages

Write the text in the language you want spoken.

bash
# Spanish
belt app run elevenlabs/eleven-v4 --input '{
  "text": "Hola, bienvenidos a nuestra presentación.",
  "voice": "aria"
}'

# French
belt app run elevenlabs/eleven-v4 --input '{
  "text": "Bonjour, bienvenue à notre démonstration.",
  "voice": "alice"
}'

Dialogue

dialogue speaks a conversation in one take and returns one file. Each line has its own voice.

bash
belt app run elevenlabs/eleven-v4 --function dialogue --input '{
  "segments": [
    {"text": "[excited] Did you hear? The release went out last night.", "voice": "jessica"},
    {"text": "[surprised] Already? I thought that was next week.", "voice": "george"},
    {"text": "[laughs] Nope. Everything shipped.", "voice": "jessica"}
  ]
}'

Up to 10 different voices. Keep one dialogue under about 2,000 characters and split a longer script into scenes. The price is the app's rate per character, counted across all lines.

Realtime Speech

realtime on elevenlabs/eleven-v4-turbo and elevenlabs/eleven-v4 is a live function: you stream text as it is written (an LLM's tokens, say) and get speech back while it is still coming. It runs over a socket, so call it from the SDK or the app's page, not with belt app run.

python
# pip install "inferencesh[async]"
import asyncio
from inferencesh import async_inference

async def main():
    client = async_inference(api_key="...")
    task, session = await client.live({
        "app": "elevenlabs/eleven-v4-turbo",
        "function": "realtime",
        "input": {"voice": "george"},
    })

    async def speak():
        for piece in ["Hello there. ", "This is spoken ", "while it is being written. "]:
            await session.send({"events": {"type": "text", "text": piece}})
        await session.send({"events": {"type": "end"}})   # finish speaking, then end

    asyncio.create_task(speak())
    async for frame in session:
        if isinstance(frame, bytes):
            play(frame)            # raw PCM, 16-bit mono, 24 kHz
        else:
            print(frame)           # {"characters": 54, "seconds": 3.9}

asyncio.run(main())

What you send, as {"events": {...}}:

EventMeaning
{"type": "text", "text": "..."}Text to speak. Send it in pieces as it arrives.
{"type": "flush"}Speak what was sent so far without waiting for more
{"type": "end"}No more text: finish speaking, then end the session
  • Speech starts once about 40 characters and 8 words have arrived. For a short line, send flush.
  • Closing the socket ends the session at once. Send end when you want to hear the rest first.
  • The voice (voice or voice_id), stability and language_code are set when the session opens.
  • A session ends by itself after idle_minutes (default 2) without text.
  • You pay for the characters sent, at the app's rate.

Voice + Video Workflow

bash
# 1. Generate voiceover
belt app run elevenlabs/eleven-v4 --input '{
  "text": "Introducing the future of AI-powered content creation.",
  "voice": "george"
}' > voiceover.json

# 2. Create talking head video
belt app run bytedance/omnihuman-1-5 --input '{
  "image": "https://portrait.jpg",
  "audio": "<audio-url-from-step-1>"
}'

Use Cases

  • Voiceovers: Product demos, explainer videos, commercials
  • Audiobooks: Long-form narration with consistent voices
  • Podcasts: AI hosts with natural delivery
  • E-learning: Course narration in multiple languages
  • Accessibility: High-quality screen reader content
  • IVR: Professional phone system messages
  • Voice agents: Speak an LLM's answer while it is still being written, with realtime
  • Video Narration: Documentary and social media content

Related Skills

bash
# ElevenLabs multi-speaker dialogue
npx skills add inference-sh/skills@elevenlabs-dialogue

# ElevenLabs voice changer
npx skills add inference-sh/skills@elevenlabs-voice-changer

# ElevenLabs sound effects
npx skills add inference-sh/skills@elevenlabs-sound-effects

# All TTS models (Kokoro, DIA, Chatterbox, Inworld TTS, and more)
npx skills add inference-sh/skills@text-to-speech

# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli

Browse all audio apps: belt app list --category audio

常见问题

Elevenlabs Tts AI 技能有什么作用?

ElevenLabs text-to-speech via inference.sh: Eleven v4 and v4 Turbo (newest, most expressive, audio tags, realtime streaming), Eleven v3, Multilingual v2 and Flash v2.5, each as its own app with 22+ premium voices. Capabilities: text-to-speech, realtime text-to-speech streaming, audio tags for emotion and delivery, voice selection, stability control, custom and cloned voices. Use for: voiceovers, audiobooks, video narration, podcasts, voice agents, accessibility, IVR. Triggers: elevenlabs, eleven labs, eleven v4, eleven v4 turbo, eleven v3, elevenlabs tts, premium tts, realtime tts, streamin...

为什么在 TypingMind 中使用 Elevenlabs Tts?

因为您只需安装一次,就能搭配任何模型使用。Elevenlabs Tts 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Elevenlabs Tts?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/inference-sh/skills/tree/main/tools/audio/elevenlabs-tts。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Elevenlabs Tts?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Elevenlabs Tts 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Elevenlabs Tts 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Elevenlabs Tts AI 技能免费吗?

inference-sh 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇