Communitygithub.com

ComeOnOliver/skillshub

通过 inference.sh CLI 实现 ElevenLabs 文本转语音,支持 22+ 种高级语音、多语言和语音微调。模型包括:eleven_multilingual_v2(最高质量)、eleven_turbo_v2_5(低延迟)、eleven_flash_v2_5(超快)。功能:文本转语音、语音选择、稳定性/风格控制、32 种语言。适用于:配音、有声书、视频旁白、播客、无障碍、IVR。触发词:elevenlabs、eleven labs、elevenlabs tts、premium tts、professional voice、ai voice、high quality tts、multilingual tts、eleven labs voice、voice generation、natural speech、realistic voice、voice over、speech synthesis。

skillshub 是什么?

这个技能通过 [inference.sh](https://inference.sh) CLI 提供 ElevenLabs 的文本转语音功能,拥有超过 22 种高质量语音,支持多语言和语音微调。它适用于 Claude Code、Cursor 和 Codex 等 AI 代理平台,用户可以直接在终端中通过 `infsh app run elevenlabs/tts` 命令快速生成语音,无需额外基础设施。技能支持三种模型:`eleven_multilingual_v2`(最高质量,延迟约 250ms)、`eleven_turbo_v2_5`(速度与质量平衡,延迟约 150ms)和 `eleven_flash_v2_5`(超低延迟,约 75ms)。用户可以调整 `stability`、`similarity_boost` 和 `style` 等参数来微调语音输出,还可以选择多种音频输出格式(如 MP3 或 PCM)。该技能特别适合配音、有声书、播客、电子学习、无障碍以及 IVR 等场景,并支持 32 种语言的混合使用。此外,它还能与视频生成技能(如 ByteDance OmniHuman)配合,实现完整的配音视频工作流。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/aiskillstore/marketplace/inferen-sh/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": "欢迎来到由人工智能驱动的内容创作新时代。",
  "voice": "george"
}' > voiceover.json

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

使用场景

  • 配音:产品演示、解说视频、广告
  • 有声书:长篇幅旁白,语音一致
  • 播客:自然表达的人工智能主持人
  • 电子学习:多语言课程旁白
  • 无障碍:高质量屏幕阅读器内容
  • 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 20 individual skills — each has its own dedicated page.

ComeOnOliver/skillshub

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

ComeOnOliver/skillshub

Next.js 16+ 和 Turbopack — 增量打包、文件系统缓存、开发速度,以及何时使用 Turbopack 与 webpack。

ComeOnOliver/skillshub

SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.

ComeOnOliver/skillshub

See, Understand, Act on video and audio. See- ingest from local files, URLs, RTSP/live feeds, or live record desktop; return realtime context and playable stream links. Understand- extract frames, build visual/semantic/temporal indexes, and search moments with timestamps and auto-clips. Act- transcode and normalize (codec, fps, resolution, aspect ratio), perform timeline edits (subtitles, text/image overlays, branding, audio overlays, dubbing, translation), generate media assets (image, audio, video), and create real time alerts for events from live streams or desktop capture.

ComeOnOliver/skillshub

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

ComeOnOliver/skillshub

Next.js 15 애플리케이션을 위한 프론트엔드 개발 가이드라인. React 19, TypeScript, Shadcn/ui, Tailwind CSS를 사용한 모던 패턴. Server Components, Client Components, App Router, 파일 구조, Shadcn/ui 컴포넌트, 성능 최적화, TypeScript 모범 사례 포함. 컴포넌트, 페이지, 기능 생성, 데이터 페칭, 스타일링, 라우팅, 프론트엔드 코드 작업 시 사용.

ComeOnOliver/skillshub

Provides Tamagui patterns for config v4, compiler optimization, styled context, and cross-platform styling. Must use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).

ComeOnOliver/skillshub

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

ComeOnOliver/skillshub

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

ComeOnOliver/skillshub

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

ComeOnOliver/skillshub

Next.js development tooling via MCP. Inspect routes, components, build info, and debug Next.js apps. Use when working on Next.js applications, debugging routing, or inspecting app structure. NOT for general React or non-Next.js projects.

ComeOnOliver/skillshub

Implement UI using Shadcn MCP (atoms/theme) and 21st.dev MCP (complex sections). Use when adding buttons, layouts, or generating landing pages.

ComeOnOliver/skillshub

A conceptual skill for building an API client in Next.js that handles JWT tokens

ComeOnOliver/skillshub

Best practices and patterns for Next.js App Router, Server Actions, and Routing in this project.

ComeOnOliver/skillshub

The Design System, Theme, and UX rules for the Physical AI Hub.

ComeOnOliver/skillshub

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

ComeOnOliver/skillshub

This document captures learnings from fixing keyboard navigation issues when floating components (Select, DropdownMenu, Popover) have CSS open/close animations.

ComeOnOliver/skillshub

Build Next.js 16 applications with correct patterns and distinctive design. Use when creating pages, layouts, dynamic routes, upgrading from Next.js 15, or implementing proxy.ts. Covers breaking changes (async params/searchParams, Turbopack, cacheComponents) and frontend aesthetics. NOT when building non-React or backend-only applications.

ComeOnOliver/skillshub

Comprehensive Framer Motion animation library for React. Covers motion components, variants, gestures, page transitions, and scroll animations. Use when adding animations to React/Next.js applications.

ComeOnOliver/skillshub

Build interfaces that resonate, not just render. This skill enforces bold, intentional

相关技能