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

karin-plugin-drawimages

v1.0.4

Published

Karin AI drawing plugin for #draw, supporting text-to-image and image-to-image with Images API, Chat Completions, and Responses backends

Readme

karin-plugin-drawimages

npm version license

Karin 的 AI 绘图插件。支持文生图、图生图、Responses、Chat Completions 与 Images API 兼容接口。

快速开始

在 Karin 根目录执行:

pnpm add karin-plugin-drawimages
pnpm exec ki rs

安装后进入 Karin Web 面板,打开 AI 绘图 配置页,填写 baseUrlapiKey、模型等参数并保存。

功能特性

  • #draw 文生图,附带或引用图片时自动进入图生图。
  • #tpdraw 临时透明背景绘图,不会写回配置文件。
  • 固定三组配置档,可在 Web 面板或群内命令切换。
  • 配置档字段留空时自动继承全局配置。
  • 支持 imagesresponseschatCompletionscustom 四种接口模式。
  • 支持默认直传、base64、自定义图床上传三种图片输入处理方式。
  • 默认启用绘图任务锁,上一张完成前不接受下一张任务。

使用命令

| 命令 | 说明 | | --- | --- | | #draw 提示词 | 文生图 | | #draw 提示词 + 图片 | 图生图 | | #draw 提示词 + 引用图片 | 使用引用消息里的图片图生图 | | #tpdraw 提示词 | 临时透明背景绘图 | | #help | 查看绘图插件命令菜单 | | #配置 | 查看三组配置档,群主/管理员可用 | | #切换配置1 | 切换到第 1 组配置,群主/管理员可用 | | #分辨率 | 查看固定分辨率预设,群主/管理员可用 | | #切换分辨率1 | 切换当前配置档分辨率,群主/管理员可用 |

开发

pnpm install
pnpm build
pnpm test
pnpm lint

Web 面板开发:

pnpm web:dev

许可证

Apache-2.0