Token导航 LogoToken导航TokenDH.com
效率执行命令clawhub未标认证来源可访问clear审计通过

text-to-voice-local文本转本地语音

Agent Skill

用于辅助音频、音乐、语音转写、语音合成或声音素材处理。它适合让 Agent 生成配乐说明、整理音频流程、调用语音工具或处理播客和视频配音素材。使用时需要确认输入音频来源、输出格式、时长和模型限制;涉及人声克隆、版权音乐或公开发布时,应先核对授权和合规边界。

总安装

4,260

周安装

174

GitHub Stars

1

下载量

1,364
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:text-to-voice-local(文本转本地语音)
来源仓库:https://github.com/betonimig/text-to-voice-local
安装命令:
openclaw skills install text-to-voice-local
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install text-to-voice-local

简介

用于辅助音频、音乐、语音转写、语音合成或声音素材处理。

  • 适合让 Agent 生成配乐说明、整理音频流程、调用语音工具或处理播客和视频配音素材。
  • 使用时需要确认输入音频来源、输出格式、时长和模型限制;涉及人声克隆、版权音乐或公开发布时,应先核对授权和合规边界。
  • 安装命令:openclaw skills install text-to-voice-local
  • 来源仓库:https://github.com/betonimig/text-to-voice-local

SKILL.md

name
text-to-voice-local
description
Local text-to-voice generation for OpenClaw workspaces using a canonical txt-to-mp3 pipeline. Use when the user wants to turn any prepared text into voice, asks to set up or reuse a local text-to-speech workflow, wants one canonical output mp3 path, wants a reusable wrapper for Telegram voice delivery, or wants to replicate the same text-to-voice setup on another OpenClaw instance.

Text to Voice Local

Use the bundled scripts to create one stable local text-to-voice path.

Goal

Produce voice from any text file with:

  • one canonical input text path,
  • one canonical output mp3 path,
  • one high-level wrapper for routine use,
  • low-level scripts for debugging only.

Canonical paths

Default input text:

  • tmp/text-to-voice-input.txt

Canonical output:

  • tmp/voice-mode-latest.mp3

State directory:

  • skills/text-to-voice-local/state/

State pointer:

  • skills/text-to-voice-local/state/last-output.txt

Main command

For normal use, run:

  • scripts/text_to_voice.sh voice <text-file> [voice] [max_direct_chars]

Useful helpers:

  • scripts/text_to_voice.sh status
  • scripts/text_to_voice.sh voices

status now also checks runtime dependencies and prints install hints when something is missing.

Examples:

scripts/text_to_voice.sh text
scripts/text_to_voice.sh voice ./tmp/text-to-voice-input.txt
scripts/text_to_voice.sh voice ./tmp/text.txt ru-RU-SvetlanaNeural 280

What the scripts do

  • scripts/text_to_voice.sh

- high-level entrypoint for normal use

  • scripts/tts_from_file.sh

- one text file to one mp3

  • scripts/tts_from_file_chunked.sh

- long text to multiple chunks and final merged mp3

  • scripts/voice_reply.sh

- safe wrapper that updates canonical output and pointer

  • scripts/voice_reply_latest.sh

- always refresh canonical latest mp3

  • state/text-to-voice.json

- stores default voice, max chars, and canonical paths

  • scripts/edge_tts.js

- low-level TTS helper used by the file wrappers

Install notes

Ensure these dependencies exist on the target machine:

  • node
  • ffmpeg
  • node-edge-tts

The skill checks these at runtime and, if something is missing, prints suggested install commands instead of failing silently.

Verify:

node -v
ffmpeg -version
node -e "require('node-edge-tts'); console.log('node-edge-tts ok')"

If node-edge-tts is missing:

npm i -g node-edge-tts

Setup steps on another OpenClaw

  1. Copy this skill folder into the target workspace skills directory.
  2. Make scripts executable.
  3. Ensure tmp/ exists.
  4. Put text into a txt file.
  5. Run the main command.

Minimal setup:

chmod +x skills/text-to-voice-local/scripts/*.sh
mkdir -p tmp
skills/text-to-voice-local/scripts/text_to_voice.sh voice ./tmp/text-to-voice-input.txt

Delivery rule

If the result is sent as Telegram voice, send only the canonical file:

  • ./tmp/voice-mode-latest.mp3

Prefer sending text and voice as separate messages.

Important constraint

Progress printed by shell scripts is useful in terminal diagnostics, but chat-side live progress editing depends on OpenClaw preview streaming, not shell stdout alone.

When to use low-level scripts

Use low-level scripts only for debugging or careful manual control. Default to the high-level wrapper unless there is a reason not to.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77.15%
按下载量换算1,052

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install text-to-voice-local 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills