跳到正文
TakoAPI
返回技能列表

miranda-elevenlabs-speech

由 jeffpignataro 提供

Communication
—暂无评分
你的评分

简介

Text-to-Speech and Speech-to-Text using ElevenLabs AI.

描述

该技能的功能

Provides both text-to-speech and speech-to-text using the ElevenLabs API. TTS supports multiple AI voices with adjustable stability and similarity settings. STT uses ElevenLabs Scribe and handles 99 languages, speaker diarization, and common audio formats.

Combining TTS and STT in one API client eliminates the need to integrate separate services for voice input and output.

何时使用

  • Convert a written article to an audio file for listening on the go
  • Transcribe a recorded meeting or voice note into text
  • Reply to a Telegram voice message with a synthesized voice response
  • Generate multilingual audio content using the eleven_multilingual_v2 model
  • Detect and separate speakers in a multi-person audio recording

示例工作流

输入

User asks: transcribe this voice message and reply with audio

智能体
  1. 1

    Receive the audio file (e.g. user_voice.ogg)

  2. 2

    Transcribe it using ElevenLabsScribe.transcribe()

  3. 3

    Apply any processing logic to generate a response text

  4. 4

    Convert the response text to speech using ElevenLabsClient.text_to_speech()

  5. 5

    Send the resulting MP3 as a voice reply

输出

An MP3 audio file containing the spoken response, sent back to the user

前置要求

  • ELEVENLABS_API_KEY environment variable
  • ElevenLabs account (free tier available at elevenlabs.io)

安装

clawhub install jeffpignataro/miranda-elevenlabs-speech

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接