跳到正文
TakoAPI
返回技能列表

lh-edge-tts

由 liuhedev 提供

Git & GitHub
206下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Text-to-speech conversion using Python edge-tts for generating audio from text.

描述

该技能的功能

Converts text to speech using Microsoft Edge's neural TTS service via Python edge-tts. Supports multiple languages and voices, with controls for speed, pitch, volume, and subtitle file generation in SRT or VTT format.

Uses Microsoft Edge's neural voices at no cost, with no API key required, while still supporting a wide range of languages and fine-grained audio controls.

何时使用

  • Listen to a long article while commuting
  • Generate narration for a tutorial in a specific accent
  • Convert cooking instructions to audio hands-free
  • Create accessible audio versions of written content
  • Produce subtitled audio files for video projects

示例工作流

输入

User asks: tts 'Welcome to the tutorial' with a British male voice at slightly faster speed

智能体
  1. 1

    Detect 'tts' trigger in user message

  2. 2

    Strip TTS-related keywords from the target text

  3. 3

    Call tts_converter.py with --voice en-GB-RyanNeural and --rate +10%

  4. 4

    Receive the generated MP3 file path

  5. 5

    Return the MEDIA: path to Clawdbot for delivery

输出

Audio file played in the current channel using en-GB-RyanNeural voice at +10% speed

安装

clawhub install liuhedev/lh-edge-tts

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

链接