← 返回
未分类 中文

Edge Tts Global

Use the globally installed edge-tts command to generate Chinese or multilingual text-to-speech audio on this machine. Use when the user wants text converted...
在本地使用全局安装的 edge-tts 命令生成中文或多语言语音音频,适用于用户需要将文本转换为语音的场景。
mrliugangqiang mrliugangqiang 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 337
下载
💾 0
安装
1
版本
#latest

概述

Edge TTS Global

Use this skill when the user wants fast text-to-speech with the globally installed edge-tts command.

What is available

Global commands:

  • edge-tts
  • edge-playback

Bundled helper script:

  • scripts/tts_edge.py

Preferred Chinese test voice:

  • zh-CN-XiaoxiaoNeural

Fast workflow

  1. Put output files in the current caller workspace temp/ directory.
  2. Prefer the bundled Python script scripts/tts_edge.py for standard generation.
  3. If needed, call edge-tts directly.
  4. If sending back to Telegram and the user wants a voice bubble, send the audio with message and set asVoice=true.
  5. If the user wants a normal file/audio attachment, send it normally.
  6. After successful sending, immediately delete the generated temporary file.

Preferred script usage

Generate audio to the current caller workspace temp/ directory automatically:

python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py -t "老板,你好,我是你的小助理。"

Generate audio with explicit relative path under the current caller workspace:

python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py -t "老板,你好,我是你的小助理。" -o ./temp/out.mp3

Delete temporary file after successful sending:

python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py cleanup ./temp/out.mp3

Delete both audio and subtitles:

python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py cleanup ./temp/out.mp3 ./temp/out.vtt

Change voice explicitly:

python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py -t "你好" -v zh-CN-XiaoxiaoNeural -o ./temp/out.mp3

Generate subtitles too:

python3 /data/claw/shared/skills/edge-tts-global/scripts/tts_edge.py -t "你好" -o ./temp/out.mp3 --subs ./temp/out.vtt

Direct command patterns

Generate MP3

mkdir -p ./temp
edge-tts --voice zh-CN-XiaoxiaoNeural --text "老板,你好,我是你的小助理。" --write-media ./temp/out.mp3

List voices

edge-tts --list-voices

Telegram sending rule

If the user asks for “气泡语音”, “语音条”, or a voice-message style result:

  • generate the file first
  • send with message
  • set asVoice=true
  • after successful sending, delete the temporary file immediately

If the user asks for a normal audio file:

  • send as a regular attachment
  • do not set asVoice=true
  • after successful sending, delete the temporary file immediately

Cleanup guidance

  • Temporary outputs belong in the current caller workspace temp/ directory
  • Sending succeeds → delete the generated temporary files immediately
  • Prefer python3 scripts/tts_edge.py cleanup [subtitle] for deterministic cleanup
  • Do not remove the global edge-tts install unless the user explicitly asks

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 17:00 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 429 📥 116,747
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 330 📥 93,620
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 216 📥 47,277