跳到导航

智能体工具

帮助智能体使用 ElevenLabs 构建应用的工具。

概述

智能体工具包括可复用技能和本地集成,帮助你在开发者工具和助手中自动化 ElevenLabs 工作流程。

智能体技能

智能体技能是适用于常见 ElevenLabs 工作流程的可复用构建模块。它们遵循智能体技能规范,可与兼容的编程助手搭配使用。使用以下命令安装技能:

npx skills add elevenlabs/skills

官方技能集合托管在 elevenlabs/skills 仓库中。 安装技能后,打开各项技能,即可获取可粘贴到助手中的提示词。

使用 ElevenLabs 音色将文本转换为语音。

Use the text to speech skill to generate audio for the script below.
Model: eleven_v4
Voice: "Juniper" (or default).
Output: Save the MP3 file locally and return the file path.
Script: "Welcome to ElevenLabs. Today we will walk through the new agent tooling."

将音频转写为带时间戳的文本。

Use the speech to text skill to transcribe the audio file path/to/file.mp3.
Return a transcript that contains speaker IDs and timestamps at the start of each paragraph.

以低延迟流式传输实时转写。

Use the speech to text skill to start a real-time transcription session for microphone input.
Model: scribe_v3_live.
Stream partial transcripts and return committed transcripts with word-level timestamps.

构建对话式语音智能体。

Use the Agents skill to create a voice agent named "Support Concierge".
Persona: friendly, concise, asks clarifying questions when needed.
Goals: answer pricing questions and route enterprise leads to sales.

使用语音引擎技能,为自定义聊天智能体添加语音。

Use the Speech Engine skill to add voice to my chat agent.
Server: Node.js with an existing HTTP server.
LLM: Use my existing chat completion logic.
Output: Create the Speech Engine server route, client connection code, and setup steps.

使用实时技能,在 Eleven Realtime 模型上运行 ElevenAgents 智能体,或将浏览器语音应用从 OpenAI Realtime 迁移至兼容 OpenAI 的 ElevenLabs Realtime API。仅安装此技能:

npx skills add elevenlabs/skills --skill realtime
Use the Realtime skill to switch agent agent_7101k5zvyjhmfg983brhmhkd98n6 to a Realtime model.
Model: eleven_realtime_v1_mini.
Check that the agent can use Realtime before changing it, then set the model with the CLI.
Use the Realtime skill to migrate my browser voice app from OpenAI Realtime to ElevenLabs Realtime.
Keep the @openai/agents-realtime SDK.
Output: Update the client secret route, the browser session, and the audio handling.

根据文本提示词生成音效。

Use the Sound effects skill to generate a 3-second effect: "Wooden door creaks open, then a soft slam."
Output WAV at 48 kHz and return the file path.

根据提示词生成音乐曲目。

Use the Music skill to generate a 30-second instrumental loop.
Style: lo-fi hip hop, warm, chill.
BPM: 80. No vocals.
Return the audio file path.

将录音转换为不同目标音色,同时保留原始表达方式。

Use the voice changer skill to transform path/to/file.mp3 into the voice "George".
Model: eleven_multilingual_sts_v2.
Return the transformed audio file path.

去除音频文件中的背景噪声。

Use the voice isolator skill to remove background noise from path/to/file.mp3.
Return the cleaned audio file path.

获取并配置 ElevenLabs API 密钥。

How do I get my ElevenLabs API key?

ElevenLabs MCP 服务器

ElevenLabs MCP 服务器是一项远程模型上下文协议服务器,可让 Claude 等助手通过简单提示词生成语音、图像和视频,设计音色,构建 Flows 并管理智能体。它使用 ElevenLabs 账户 OAuth 登录,无需本地安装。将 URL https://api.elevenlabs.io/v1/mcp 作为自定义连接器添加到助手中。