Communitygithub.com

ElevenLabs 文本转语音

通过 inference.sh CLI 提供 22+ 种高级语音的文本转语音服务,支持多语言和语音调优。

ElevenLabs 文本转语音 是什么?

AngelescuCiprian/claude-skills 中的 ElevenLabs 文本转语音技能是一个高级 TTS 工具,通过 inference.sh CLI 提供 22 种以上的高质量语音。它支持三种模型:eleven_multilingual_v2(最高质量,支持 32 种语言)、eleven_turbo_v2_5(平衡速度与质量)和 eleven_flash_v2_5(超低延迟)。用户可以选择不同的语音(如 Aria、George 等),并调整稳定性、相似度增强和风格等参数来优化输出。该技能适用于语音解说、有声读物、视频配音、播客、无障碍功能、IVR 等场景。触发词包括“elevenlabs”、“eleven labs”、“premium tts”、“multilingual tts”等,确保在 Claude Code、Cursor 或 Codex 等平台上轻松集成。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/AngelescuCiprian/claude-skills/tree/HEAD/.agents/skills/elevenlabs-tts

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

预览

来自技能 README

ElevenLabs TTS

文档

ElevenLabs 文本转语音 是做什么的?

通过 inference.sh CLI 提供 22+ 种高品质语音的文本转语音服务。

ElevenLabs TTS

快速开始

需要 inference.sh CLI (infsh)。安装指南

infsh login

# 使用 ElevenLabs 生成语音
infsh app run elevenlabs/tts --input '{"text": "你好,欢迎来到我们的产品演示。", "voice": "aria"}'

可用模型

模型ID适用场景延迟
Multilingual v2eleven_multilingual_v2最高质量,支持 32 种语言~250ms
Turbo v2.5eleven_turbo_v2_5速度与质量的平衡~150ms
Flash v2.5eleven_flash_v2_5超低延迟~75ms

语音库

女声

语音风格
aria美式,对话式
alice英式,自信
bella美式,温暖
jessica美式,富有表现力
laura美式,专业
lily英式,柔和
sarah美式,友好

男声

语音风格
george英式,权威
adam美式,深沉
bill美式,成熟
brian美式,对话式
callum跨大西洋,强烈
charlie澳式,自然
chris美式,随意
daniel英式,威严
eric美式,友好
harry美式,年轻
liam美式,表达清晰
matilda美式,温暖
river美式,自信
roger美式,权威
will美式,明亮

示例

基础语音

infsh app run elevenlabs/tts --input '{"text": "欢迎参加我们的季度财报发布会。", "voice": "george"}'

选择模型

# 最高质量
infsh app run elevenlabs/tts --input '{
  "text": "这是我们拥有最佳质量的高级多语言模型。",
  "voice": "aria",
  "model": "eleven_multilingual_v2"
}'

# 适用于实时应用的超快速模型
infsh app run elevenlabs/tts --input '{
  "text": "用于低延迟应用的 Flash 模型。",
  "voice": "brian",
  "model": "eleven_flash_v2_5"
}'

语音调优

infsh app run elevenlabs/tts --input '{
  "text": "根据您的使用场景对语音特性进行微调。",
  "voice": "bella",
  "stability": 0.3,
  "similarity_boost": 0.9,
  "style": 0.4
}'
参数范围效果
stability0-1越高越稳定,越低越富表现力
similarity_boost0-1越高越接近原始语音特征
style0-1越高风格夸张度越强
use_speaker_boosttrue/false增强说话人清晰度

输出格式

# 高品质 MP3
infsh app run elevenlabs/tts --input '{
  "text": "高品质音频输出。",
  "voice": "daniel",
  "output_format": "mp3_44100_192"
}'
格式描述
mp3_44100_128MP3,44.1kHz,128kbps(默认)
mp3_44100_192MP3,44.1kHz,192kbps
pcm_16000原始 PCM,16kHz
pcm_22050原始 PCM,22.05kHz
pcm_24000原始 PCM,24kHz
pcm_44100原始 PCM,44.1kHz

多语言

ElevenLabs 支持 32 种语言,包括英语、西班牙语、法语、德语、意大利语、葡萄牙语、中文、日语、韩语、阿拉伯语、印地语、俄语等。

# 西班牙语
infsh app run elevenlabs/tts --input '{
  "text": "Hola, bienvenidos a nuestra presentación.",
  "voice": "aria",
  "model": "eleven_multilingual_v2"
}'

# 法语
infsh app run elevenlabs/tts --input '{
  "text": "Bonjour, bienvenue à notre démonstration.",
  "voice": "alice",
  "model": "eleven_multilingual_v2"
}'

语音 + 视频工作流

# 1. 生成配音
infsh app run elevenlabs/tts --input '{
  "text": "欢迎来到由 AI 驱动的内容创作的未来。",
  "voice": "george"
}' > voiceover.json

# 2. 创建讲话头像视频
infsh app run bytedance/omnihuman-1-5 --input '{
  "image_url": "https://portrait.jpg",
  "audio_url": "<步骤1中的音频url>"
}'

应用场景

  • 配音:产品演示、解说视频、广告
  • 有声书:长时间叙述,语音一致
  • 播客:自然表达的 AI 主持人
  • 在线学习:多语言课程讲解
  • 无障碍:高品质屏幕阅读内容
  • IVR:专业电话系统消息
  • 视频旁白:纪录片和社交媒体内容

相关技能

# ElevenLabs 多说话人对话
npx skills add inference-sh/skills@elevenlabs-dialogue

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

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

# 所有 TTS 模型(Kokoro、DIA、Chatterbox 等)
npx skills add inference-sh/skills@text-to-speech

# 完整平台技能(150+ 应用)
npx skills add inference-sh/skills@infsh-cli

浏览所有音频应用:infsh app list --category audio

Individual skills in this repo

This repo contains 12 individual skills — each has its own dedicated page.

AngelescuCiprian/claude-skills

Create AI avatar and talking head videos with OmniHuman, Fabric, PixVerse via inference.sh CLI. Models: OmniHuman 1.5, OmniHuman 1.0, Fabric 1.0, PixVerse Lipsync. Capabilities: audio-driven avatars, lipsync videos, talking head generation, virtual presenters. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos. Triggers: ai avatar, talking head, lipsync, avatar video, virtual presenter, ai spokesperson, audio driven video, heygen alternative, synthesia alternative, talking avatar, lip sync, video avatar, ai presenter, digital human

AngelescuCiprian/claude-skills

Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awareness. Triggers: marketing video, ad video, promo video, commercial, brand video, product video, explainer video, ad creative, video ad, facebook ad video, youtube ad, instagram ad, tiktok ad, promotional video, launch video

AngelescuCiprian/claude-skills

Generate AI videos with Google Veo, Seedance, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 1.5 Pro, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative

AngelescuCiprian/claude-skills

Explainer video production guide: scripting, voiceover, visuals, and assembly. Covers script formulas, pacing rules, scene planning, and multi-tool pipelines. Use for: product demos, how-it-works videos, onboarding videos, social explainers. Triggers: explainer video, how to make explainer, product video, demo video, video production, video script, animated explainer, product demo video, tutorial video, onboarding video, walkthrough video, video pipeline

AngelescuCiprian/claude-skills

Still-to-video conversion guide: model selection, motion prompting, and camera movement. Covers Wan 2.5 i2v, Seedance, Fabric, Grok Video with when to use each. Use for: animating images, creating video from stills, adding motion, product animations. Triggers: image to video, i2v, animate image, still to video, add motion to image, image animation, photo to video, animate still, wan i2v, image2video, bring image to life, animate photo, motion from image

AngelescuCiprian/claude-skills

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

AngelescuCiprian/claude-skills

Generate videos with Pruna P-Video and WAN models via inference.sh CLI. Models: P-Video, WAN-T2V, WAN-I2V. Capabilities: text-to-video, image-to-video, audio support, 720p/1080p, fast inference. Pruna optimizes models for speed without quality loss. Triggers: pruna video, p-video, pruna ai video, fast video generation, optimized video, wan t2v, wan i2v, economic video generation, cheap video generation, pruna text to video, pruna image to video

AngelescuCiprian/claude-skills

Best practices for Remotion - Video creation in React

AngelescuCiprian/claude-skills

Render videos from React/Remotion component code via inference.sh. Pass TSX code, get MP4. Supports all Remotion APIs: useCurrentFrame, useVideoConfig, spring, interpolate, AbsoluteFill, Sequence. Configurable resolution, FPS, duration, codec. Use for: programmatic video generation, animated graphics, motion design, data-driven videos, React animations to video. Triggers: remotion, render video from code, tsx to video, react video, programmatic video, remotion render, code to video, animated video, motion graphics code, react animation video

AngelescuCiprian/claude-skills

Video ad creation with exact platform-specific specs for TikTok, Instagram, YouTube, Facebook, LinkedIn. Covers dimensions, duration limits, AIDA framework, and caption requirements. Use for: video ads, social media ads, paid media creative, video marketing, ad production. Triggers: video ad, social media ad, tiktok ad, instagram ad, youtube ad, facebook ad, linkedin ad, video creative, ad specs, paid media, video marketing, ad production, reels ad, stories ad, pre roll, bumper ad

AngelescuCiprian/claude-skills

Best practices and techniques for writing effective AI video generation prompts. Covers: Veo, Seedance, Wan, Grok, Kling, Runway, Pika, Sora prompting strategies. Learn: shot types, camera movements, lighting, pacing, style keywords, negative prompts. Use for: improving video quality, getting consistent results, professional video prompts. Triggers: video prompt, how to prompt video, veo prompts, video generation tips, better ai video, video prompt engineering, video prompt guide, video prompt template, ai video tips, video prompt best practices, video prompt examples, cinematography prompts

AngelescuCiprian/claude-skills

YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A/B testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image

相关技能