Generate images by NovelAI | 基于 NovelAI 的画图机器人
Go to file
Ninzore 5c8a76c44b
feat: add default prompt support (#204)
* feat: add default prompt support

Add a new option `-d` for adding default prompt to the user prompt.

Allow user to generate images without input (in such case they must toggle the `default` option)

Add a new short cut `default` for quick accessing default prompt without any user input.

* feat: use respond prompt when the backend is sd-webui

Use respond prompt to replace the original prompt as feedback, because the prompt may be affected by some plugins (e.g. dynamic-prompts)

* Feat: add `defaultPromptSw` config and remove the `default` shortcut

* Feat: separate the auth lv requirements for default and normal usage

* Refactor: remove `default` shortcut

* Chore: change some descriptions
2023-07-25 10:33:50 +01:00
.github chore: add stable horde in feature template (#164) 2023-02-01 10:52:46 +08:00
build feat: experimentally support stable horde (#145) 2023-01-05 14:10:28 +08:00
data feat: update stable horde models and samplers (#199) 2023-07-01 22:38:26 +08:00
docs feat: support batch generation, fix #198 (#200) 2023-07-01 22:50:52 +08:00
src feat: add default prompt support (#204) 2023-07-25 10:33:50 +01:00
.editorconfig initial commit 2022-10-05 23:12:51 +08:00
.gitattributes feat: support --undesired syntax 2022-10-31 14:00:23 +08:00
.gitignore docs: removed deprecated pages 2023-06-19 02:17:03 +08:00
crowdin.yml i18n: migrate translations to message components 2022-11-26 00:34:54 +08:00
LICENSE chore: update links 2022-10-14 20:05:49 +08:00
package.json fix: fix config schema, close #169 2023-06-20 04:28:19 +08:00
readme.md docs: add stable-horde type (#153) 2023-01-09 11:47:25 +08:00
tsconfig.json initial commit 2022-10-05 23:12:51 +08:00
vercel.json docs: setup vitepress docs 2022-10-11 21:49:22 +08:00

koishi-plugin-novelai

downloads npm

基于 NovelAI 的画图插件。已实现功能:

  • 绘制图片
  • 更改模型、采样器、图片尺寸
  • 高级请求语法
  • 自定义违禁词表
  • 中文关键词自动翻译
  • 发送一段时间后自动撤回
  • 连接到私服 · SD-WebUI · Stable Horde
  • img2img · 图片增强

得益于 Koishi 的插件化机制,只需配合其他插件即可实现更多功能:

  • 多平台支持 (QQ、Discord、Telegram、开黑啦等)
  • 速率限制 (限制每个用户每天可以调用的次数和每次调用的间隔)
  • 上下文管理 (限制在哪些群聊中哪些用户可以访问)
  • 多语言支持 (为使用不同语言的用户提供对应的回复)

所以所以快去给 Koishi 点个 star 吧!

效果展示

以下图片均使用本插件在聊天平台生成:

example example example example
example example example example

使用教程

搭建教程、使用方法、参数配置、常见问题请见:https://bot.novelai.dev

License

使用 MIT 许可证发布。

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

FOSSA Status