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 🙏

© 2024 – Pkg Stats / Ryan Hefner

koishi-plugin-ai-kling-draw

v1.0.8

Published

快手[可灵AI](https://klingai.kuaishou.com/text-to-image/new)绘图模型,原生支持生成准确的图内汉字,每日登录大约能免费画 330 张。自带提示词生成器、垫图等功能。🎨

Downloads

343

Readme

koishi-plugin-ai-kling-draw

npm

✨ 简介

快手可灵AI绘图模型,原生支持生成准确的图内汉字,每日登录大约能免费画 330 张。自带提示词生成器、垫图等功能。🎨

🎉 安装

前往 Koishi 插件市场添加该插件即可

🌈 使用

  1. 获取 Cookie:
  • 前往 AI Kling Draw可灵AI 网站登录。
    • 前者为国际版,后者为国内版。
    • 国际版的 Cookie 无法在国内版使用,反之亦然。
    • 国际版违禁词较少,且国际版的提示词最大长度为 2500,国内版为 500。
  • 登录后,F12 打开控制台,切换到 "Network" (网络) 选项卡。
  • 输入提示词生成一次图片,找到 submit 请求。
  • 在请求标头 (Request Headers) 中,复制 Cookie 的值。
  1. 配置插件: 选择请求 url 并填写 cookie 配置项。
  • https://klingai.com (国际版)
  • https://klingai.kuaishou.com (国内版)
cookie: 'YOUR_COOKIE' // 替换为你的 AI Kling Draw Cookie
  1. 开始创作!
  • 使用 aiKling.绘图 <提示词> 命令,根据提示词生成图片。 例如:

    aiKling.绘图 一只戴着草帽的猫咪,在沙滩上晒太阳
  • 使用 aiKling.提示词生成器 <描述> 命令,可生成 AI 绘图提示词。 例如:

    aiKling.提示词生成器 一只猫
    • 智谱AI 提供支持。
  • 使用 aiKling.参数列表 命令,查看可灵AI支持的参数列表。

  • 建议自行添加别名: 可以将 aiKling.绘图 添加别名为 绘图画图,以便更方便地使用。

⚙️ 配置项

| 配置项 | 默认值 | 说明 | |----------------------|------|--------------------------------| | url | 国内版 | AI Kling Draw 的请求地址。 | | cookie | 必填 | AI Kling Draw 的 cookie,用于身份验证。 | | defaultImageWeight | 1 | 默认图片权重,范围为 0 - 1。 | | defaultAspectRatio | 1 | 默认图片宽高比。 | | timeoutDuration | 10 | 任务超时时长 (分钟),超过该时间任务将被视为失败。 | | printProgress | true | 是否打印任务进度,方便你了解绘图的进展。 |

🌼 命令

| 命令 | 说明 | |-----------------------|------------------| | aiKling | 查看插件的帮助信息。 | | aiKling.绘图 <提示词> | 根据提示词生成图片。 | | aiKling.提示词生成器 <描述> | 根据描述生成 AI 绘图提示词。 | | aiKling.参数列表 | 查看 可灵AI 参数列表。 |

🌸 可灵AI绘图一览

image image image

🍧 致谢

🐱 QQ 群

  • 956758505

✨ License

MIT License © 2024

希望您喜欢这款插件! 💫

如有任何问题或建议,欢迎联系我哈~ 🎈