360 Secure SkillHub
360 安全技能中心

VibeVoice TTS

该 Skill 通过 scripts/vv.sh 封装本地 VibeVoice 模型,将文本或文本文件合成为西班牙语语音音频,支持选择音色与语速,可输出 ogg(Opus)、mp3、wav 格式;模型与依赖需按说明自行克隆安装,生成在本地完成,文档同时给出通过宿主消息工具发送 WhatsApp 语音消息的用法。

javier887
javier887
热度 79.14
最近更新 2026-05-18 12:02:42
分类:创作依赖:代码执行 / 读写文件应用场景:社交媒体

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add vibevoice
Metadata
name
vibevoice
description
Local Spanish TTS using Microsoft VibeVoice. Generate natural voice audio from text, optimized for WhatsApp voice messages.
metadata
{"author":"estudiosdurero","version":"1.0.0","homepage":"https://github.com/microsoft/VibeVoice","openclaw":{"emoji":"🎙️","requires":{"bins":["ffmpeg","python3"],"env":[]},"install":[{"id":"vibevoice-clone","kind":"manual","label":"Clone VibeVoice repo and setup venv","instructions":"git clone https://github.com/microsoft/VibeVoice.git ~/VibeVoice\ncd ~/VibeVoice\npython3 -m venv venv\nsource venv/bin/activate\npip install -e .\npip install torch torchaudio\n"}]}}

VibeVoice TTS

Local text-to-speech using Microsoft's VibeVoice model. Generates natural Spanish voice audio, perfect for WhatsApp voice messages.

Quick Start

# Basic usage
{baseDir}/scripts/vv.sh "Hola, esto es una prueba" -o /tmp/audio.ogg

# From file
{baseDir}/scripts/vv.sh -f texto.txt -o /tmp/audio.ogg

# Different voice
{baseDir}/scripts/vv.sh "Texto" -v en-Wayne -o /tmp/audio.ogg

# Adjust speed (0.5-2.0)
{baseDir}/scripts/vv.sh "Texto" -s 1.2 -o /tmp/audio.ogg

Configuration

Setting Default Description
Voice sp-Spk1_man Spanish male voice (slight Mexican accent)
Speed 1.15 15% faster than normal
Format .ogg Opus codec for WhatsApp

Available Voices

Spanish:

  • sp-Spk1_man - Male, slight Mexican accent (default)

English:

  • en-Wayne - Male
  • en-Denise - Female
  • Other voices in ~/VibeVoice/demo/voices/streaming_model/

Output Formats

  • .ogg - Opus codec (WhatsApp compatible, recommended)
  • .mp3 - MP3 format
  • .wav - Uncompressed WAV

For WhatsApp

Always use .ogg format with asVoice=true in the message tool:

# Generate
{baseDir}/scripts/vv.sh "Tu mensaje aquí" -o /tmp/mensaje.ogg

# Send via message tool
message action=send channel=whatsapp to="+34XXXXXXXXX" filePath=/tmp/mensaje.ogg asVoice=true

Requirements

  • GPU: NVIDIA with ~2GB VRAM
  • VibeVoice: Installed at ~/VibeVoice
  • ffmpeg: For audio conversion
  • Python 3.10+: With torch, torchaudio

Performance

  • RTF: ~0.24x (generates faster than realtime)
  • 1 minute of audio ≈ 15 seconds to generate

Notes

  • First run loads model (~10s), subsequent runs are faster
  • Audio rule: Only send voice if user requests it or speaks via audio
  • Keep text under 1500 chars for best quality