tts-voice-synthesis

Convert text to speech with voice cloning and emotional adaptation.

5.0k|479|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/anbeime/skill --skill tts-voice-synthesis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tts-voice-synthesis
Source: https://github.com/anbeime/skill/tree/main/skills/tts-voice-synthesis
Command: npx skills add https://github.com/anbeime/skill --skill tts-voice-synthesis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires torch, torchaudio, transformers, scipy, numpy, librosa, soundfile, pydub, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill transforms written text into natural-sounding speech, offering advanced features like voice cloning, emotional adaptation, and real-time streaming.

Core Features & Use Cases

  • Text-to-Speech: Convert any text into high-quality audio.
  • Voice Cloning: Create custom voices from short audio samples.
  • Emotional Adaptation: Generate speech with specific emotions (happy, sad, angry, etc.).
  • Real-time Streaming: Produce audio incrementally for interactive applications.
  • Multi-language Support: Supports Chinese, English, and Cantonese.
  • Use Case: Create voiceovers for videos, generate audio content for accessibility, power virtual assistants with natural voices, or produce audiobooks.

Quick Start

Use the tts-voice-synthesis skill to convert the text 'Hello, world!' into an audio file named 'output.wav'.

Frequently Asked Questions about tts-voice-synthesis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert text to natural sounding speech with emotional adaptation?

Text-to-speech synthesis transforms written text into natural audio by leveraging models like Fish-Speech, ChatTTS, and CosyVoice to generate speech with specific emotional tones such as happy, sad, or angry.

Can I clone a voice from a short audio sample for text-to-speech generation?

Yes, voice cloning creates custom voices from short audio samples using PyTorch and transformers. It synthesizes new speech matching the original speaker's characteristics for Chinese, English, or Cantonese text.

Does this text-to-speech synthesis skill support real-time audio streaming?

Real-time audio streaming produces audio incrementally using torchaudio and librosa. This enables interactive applications to generate and play speech chunks immediately without waiting for the entire text to process.

What Python dependencies do I need to generate speech from text?

Generating speech from text requires PyTorch, torchaudio, transformers, scipy, numpy, librosa, soundfile, and pydub. These libraries handle deep learning inference, audio processing, and output file creation.

What is the best way to create Chinese and Cantonese voiceovers from text?

The best way to create Chinese and Cantonese voiceovers is using multi-language text-to-speech synthesis with CosyVoice or ChatTTS, outputting high-quality WAV files via the soundfile library.

Are there limitations when using transformers for voice cloning?

Voice cloning limitations depend on the input audio quality and length provided to the transformers models. While short samples work, clear audio yields better custom voice synthesis results for text-to-speech.