6tizer

text-to-speech

by @6tizer in Tools
0
0
# Install this skill:
npx skills add 6tizer/alpha-senses --skill "text-to-speech"

Install specific skill from multi-skill repository

# Description

将文字转换为自然语音,支持多种中文音色和情绪

# SKILL.md


name: text-to-speech
description: 将文字转换为自然语音,支持多种中文音色和情绪
license: MIT
metadata:
version: 1.0.0
author: 6tizer
category: audio
updated: 2026-02-21


TextToSpeech

将文字转换为自然语音,支持多种中文音色和情绪

环境变量

  • FAL_KEY:fal.ai API Key

安装

pip install -r requirements.txt

使用

python run.py --text "你好世界" --voice sweet_lady --output ./output.mp3

示例

python run.py --text "你好,世界!" --voice sweet_lady
python run.py --text "重要公告" --voice executive --speed 0.9 --emotion serious
python run.py --list-voices
python run.py --test-all-voices --output-dir ./voice_test

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.