Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

local-piper-tts-multilang-secure

bởi szafranski

Web & Frontend Development
344Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Local offline text-to-speech via Piper TTS.

Mô tả

Kỹ năng này làm gì

Generates audio files from text entirely offline using Piper TTS. Supports automatic language detection for 20+ languages and per-call voice selection. Self-contained setup installs Piper into an isolated virtual environment with no system-wide changes.

Produces speech locally with no API calls, no usage costs, and no data sent to external services.

Khi nào nên dùng

  • Reading articles or documents aloud hands-free
  • Adding narration to videos without cloud TTS costs
  • Converting foreign-language text to speech for pronunciation reference
  • Building voice interfaces for offline or air-gapped systems
  • Creating audio versions of written content for accessibility

Quy trình ví dụ

ĐẦU VÀO

User asks: Read this paragraph aloud using a German voice

AGENT
  1. 1

    Call status() to confirm Piper is installed and a voice model is present

  2. 2

    Call listVoices() to find installed German voice stems

  3. 3

    Call tts() with the text and the matching German voice stem

  4. 4

    Send the generated .ogg file to the user as a voice message

ĐẦU RA

An .ogg audio file of the paragraph spoken in German

Yêu cầu

  • ffmpeg (system binary, required for audio conversion)
  • espeak-ng (system library required by Piper TTS)

Cài đặt

clawhub install szafranski/local-piper-tts-multilang-secure

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết