跳到正文
TakoAPI
返回技能列表

lb-pocket-tts-skill

由 leonaaardob 提供

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

简介

Generate speech from text using Kyutai Pocket TTS - lightweight, CPU-friendly, streaming TTS with voice cloning.

描述

该技能的功能

Pocket-TTS generates speech from text using the Kyutai model locally on CPU, with no GPU required. It supports voice cloning from short audio samples and streaming output with under 200ms latency. English only, approximately 6x faster than real-time on modern hardware.

Runs entirely on CPU without cloud API dependencies, making it faster to set up and cheaper to operate than hosted TTS services for local or offline workflows.

何时使用

  • Narrating documentation without a cloud TTS subscription
  • Cloning a custom voice for consistent audio branding
  • Generating speech offline on a laptop during travel
  • Prototyping voice interfaces without API rate limits
  • Batch-converting written content to audio files

示例工作流

输入

User asks: generate speech from a script using my own voice sample

智能体
  1. 1

    Export voice embedding from audio sample with pocket-tts export-voice voice.wav voice.safetensors

  2. 2

    Load the TTSModel and retrieve voice state from the safetensors file

  3. 3

    Call model.generate_audio with the voice state and input text

  4. 4

    Save the returned audio array as a 24kHz WAV file using scipy

输出

A 24kHz mono WAV file with speech in the cloned voice

前置要求

  • HuggingFace account (to access kyutai/tts-voices or kyutai/pocket-tts model weights)

安装

clawhub install leonaaardob/lb-pocket-tts-skill

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

链接