← 返回
AI智能

Chattts

High-quality, conversational Text-to-Speech (TTS) generation via local ChatTTS API.
基于本地ChatTTS API的高质量对话式语音合成
djttt
AI智能 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 555
下载
💾 13
安装
1
版本
#latest

概述

ChatTTS Voice Generator

AI-optimized conversational text-to-speech using a local ChatTTS server. Designed to generate highly natural human voices with realistic laughs, breathing, and pauses.

Generate Speech

node {baseDir}/scripts/tts.mjs "你要转换的语音文本"
node {baseDir}/scripts/tts.mjs "你好啊![laugh] 今天天气真不错,[uv_break] 我们出去玩吧?" --seed 2048
node {baseDir}/scripts/tts.mjs "写代码真是太开心了!" --seed 1234 --temperature 0.5

Options

  • --seed : Random seed to fix the speaker's voice/timbre (default: 2048). Change this number to switch between different male/female voices.
  • --temperature : Controls the emotional variance and stability (default: 0.3). Lower is more stable and clear, higher (e.g., 0.6) is more expressive but might mumble.
  • --top_p : Top P sampling parameter for voice generation (default: 0.7).

Notes

  • Requires the local ChatTTS FastAPI server to be running (default target: http://172.23.252.114:8020).
  • Ensure CHATTTS_API_URL is set in your .env file if the API is hosted on a different machine.
  • PRO TIP: Always try to insert [laugh] (laughter) and [uv_break] (pauses/breaths) into the text to make the generated voice sound exactly like a real human.
  • The script will return the absolute local file path of the generated .wav audio file.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-20 06:55 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349 📥 317,678
content-creation

中文笑话库

djttt
提供多类型中文笑话,包括谐音梗、程序员笑话、生活趣事和脑筋急转弯,无需外部接口。
★ 1 📥 764
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,055 📥 795,674