npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

koishi-plugin-comfy-indextts

v1.0.1

Published

调用 ComfyUI 的 IndexTTS-2 节点,通过文本和参考音频生成语音。

Readme

Koishi 插件:comfy-indextts

  • 我没有任何程序知识,都是AI写的!
  • 我没有任何程序知识,都是AI写的!
  • 我没有任何程序知识,都是AI写的!

这是一个为 Koishi 机器人开发的插件,它通过连接到您本地的 ComfyUI 服务器,调用 IndexTTS-2 相关节点,来实现高-质量的文本到语音(TTS)合成。

⚠️ 重要:前置依赖

本插件只是一个“遥控器”,在使用本插件前,您必须确保:

  1. ComfyUI 正在运行:

    • 您的 ComfyUI 服务器必须已经启动。
    • 启动时,必须添加了 --api--listen 参数,以开放API接口。
  2. 自定义节点已安装:

    • 您的 ComfyUI 中,必须已经正确安装了提供 IndexTTS-2 相关节点的自定义节点包。
  3. 工作流与音频文件:

    • 工作流下载地址:https://pan.baidu.com/s/1GnxdsLJkCZyaIrC0HujaTg?pwd=9a52 提取码: 9a52
    • 所有用于声音克隆的参考音频 .wav 文件,都必须放置在 ComfyUI 的 input 文件夹内。

功能特性

  • 多角色管理: 支持在配置页面添加任意多个声音角色,每个角色都有自己独立的触发指令和参考音频。
  • 情感向量控制: 支持通过指令参数,实时调整 Happy, Sad, Angry 等多种情感的强度。
  • 高度可配: 您需要在插件配置页面,指定您的 ComfyUI 服务器地址、工作流.json文件的绝对路径,并管理您的角色列表。

指令

  • TTS <角色名> <情感参数> <要说的话>

    • 角色名: (可选) 在配置中设定的角色名。如果省略,则使用上次用过的角色。
    • 情感参数: (可选) 形如 happy0.8 sad0.2 的参数,用于控制语气。
    • 要说的话: (必需) 您想让机器人说的话。
  • TTS.列表

    • 查看当前所有已配置的角色及其编号。
  • 示例:

    • TTS 小明 你好啊
    • TTS 小红 happy0.7 sad0.1 今天天气真不错

注意事项

  • 本插件的性能和结果,完全取决于您本地ComfyUI服务器的运行状况和您提供的工作流配置。