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-drawer

v1.0.3

Published

通过连接本地ComfyUI服务器,实现专业的AI绘画功能。

Readme

Koishi 插件:comfy-drawer

  • 我没有任何程序知识,都是AI写的!
  • 我没有任何程序知识,都是AI写的!
  • 我没有任何程序知识,都是AI写的! 基本上是私用的(指抽彩虹社图),工作流弄了动态提示词,搞得有点复杂甚至重复了。

这是一个为 Koishi 机器人开发的、功能极其强大的“AI绘画总管”插件。它通过连接到您本地的 ComfyUI 服务器,为您提供了一个专业级的、可通过聊天指令进行交互的AI创作平台。

⚠️ 重要:前置依赖

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

  1. ComfyUI 正在运行:

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

    • 您的 ComfyUI 中,必须已经正确安装了工作流中需要的所有自定义节点(例如 Impact Pack, pysssss, ControlNet Preprocessors 等)。
  3. 模型与工作流文件:

    • 您需要准备好所有需要的工作流.json文件,并将它们的绝对路径填写到插件的配置页面。
    • 工作流下载地址:https://pan.baidu.com/s/1Mhy0cp9ZIOPbXSUhark_Iw?pwd=8r3x 提取码: 8r3x
    • 所有CheckpointLoRAControlNet等模型,都必须放置在ComfyUI可以访问的正确路径下。

核心功能

  • 多种创作模式:

    • 文生图: 画 <提示词>
    • 图生图: 回复一张图片,然后发送 画 <提示词>
    • ControlNet: 回复一张图片,然后发送 画.<模式> <提示词> (例如 画.深度参考 ...)(第一次用会自动下载模型,得等久一些)
    • 自动提示词: 自动提示词画 <自然语言描述>,利用LLM生成专业提示词。(这个可以用ollama部署,或者各种大模型API)
  • 专业参数控制:

    • 高清放大: 画大图 ...
    • 构图控制: 画横构图 ...
    • 批量生成: 画3张 ...
  • 智能模型管理:

    • 模型库扫描: 插件会自动扫描您指定的文件夹,生成模型列表。(也得保证你comfyui里能读取到才能切换使用)
    • 可视化换模: 使用 切换模型 指令,会生成一张包含所有模型预览图的“菜单”(预览图得自己设置,在模型的同一个文件夹放一张和模型同名的图片文件。),方便您通过回复数字来一键切换。(需要ImageMagick

指令列表

  • 画 <提示词>
  • 画大图 <提示词>
  • 画横构图 <提示词>
  • 画大横构图 <提示词>
  • 自动提示词画 <描述>
  • 自动提示词画横构图 <描述>
  • 自动参考图画 <描述> (需要回复图片)
  • 画.深度参考 <提示词> (需要回复图片)
  • 画.线稿参考 <提示词> (需要回复图片)
  • ... (以及您配置的所有其他ControlNet子指令)
  • 高清重绘 (需要回复图片)
  • 切换模型

注意事项

  • 本插件的性能和结果,完全取决于您本地ComfyUI服务器的运行状况和您提供的工作流配置。
  • “可视化模型菜单”功能,依赖于ImageMagick的正确安装和配置。下载地址:https://imagemagick.org/script/download.php#windows