2022-10-14 20:05:49 +08:00
|
|
|
# [koishi-plugin-novelai](https://bot.novelai.dev)
|
2022-10-05 23:12:51 +08:00
|
|
|
|
2022-10-09 05:02:05 +08:00
|
|
|
[![downloads](https://img.shields.io/npm/dm/koishi-plugin-novelai?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-novelai)
|
2022-10-05 23:12:51 +08:00
|
|
|
[![npm](https://img.shields.io/npm/v/koishi-plugin-novelai?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-novelai)
|
|
|
|
|
2022-10-07 17:36:21 +08:00
|
|
|
基于 [NovelAI](https://novelai.net/) 的画图插件。已实现功能:
|
2022-10-07 17:11:44 +08:00
|
|
|
|
2022-10-09 05:02:05 +08:00
|
|
|
- 绘制图片
|
|
|
|
- 更改模型、采样器、图片尺寸
|
|
|
|
- 高级请求语法
|
|
|
|
- 自定义违禁词表
|
2022-11-25 01:10:21 +08:00
|
|
|
- 中文关键词自动翻译
|
2022-10-09 05:02:05 +08:00
|
|
|
- 发送一段时间后自动撤回
|
2023-01-09 11:47:25 +08:00
|
|
|
- 连接到私服 · [SD-WebUI](https://github.com/AUTOMATIC1111/stable-diffusion-webui) · [Stable Horde](https://stablehorde.net/)
|
2022-10-09 05:02:05 +08:00
|
|
|
- img2img · 图片增强
|
2022-10-07 17:11:44 +08:00
|
|
|
|
2022-10-08 10:20:02 +08:00
|
|
|
得益于 Koishi 的插件化机制,只需配合其他插件即可实现更多功能:
|
2022-10-08 00:42:13 +08:00
|
|
|
|
|
|
|
- 多平台支持 (QQ、Discord、Telegram、开黑啦等)
|
|
|
|
- 速率限制 (限制每个用户每天可以调用的次数和每次调用的间隔)
|
|
|
|
- 上下文管理 (限制在哪些群聊中哪些用户可以访问)
|
|
|
|
- 多语言支持 (为使用不同语言的用户提供对应的回复)
|
|
|
|
|
|
|
|
**所以所以快去给 [Koishi](https://github.com/koishijs/koishi) 点个 star 吧!**
|
|
|
|
|
2022-10-09 05:02:05 +08:00
|
|
|
## 效果展示
|
|
|
|
|
|
|
|
以下图片均使用本插件在聊天平台生成:
|
|
|
|
|
2022-10-24 02:59:32 +08:00
|
|
|
| ![example](https://cdn-shiki.momobako.com:444/static/portrait/a11ty-f9drh.webp) | ![example](https://cdn-shiki.momobako.com:444/static/portrait/aaepw-4umze.webp) | ![example](https://cdn-shiki.momobako.com:444/static/portrait/ae4bk-32pk7.webp) | ![example](https://cdn-shiki.momobako.com:444/static/portrait/aoy1m-8evrd.webp) |
|
2022-10-09 05:02:05 +08:00
|
|
|
|:-:|:-:|:-:|:-:|
|
2022-10-29 01:05:56 +08:00
|
|
|
| ![example](https://cdn-shiki.momobako.com:444/static/portrait/ap8ia-2yuco.webp) | ![example](https://cdn-shiki.momobako.com:444/static/portrait/a7k8p-gba0y.webp) | ![example](https://cdn-shiki.momobako.com:444/static/portrait/a31uu-ou34k.webp) | ![example](https://cdn-shiki.momobako.com:444/static/portrait/agxe3-4mwjs.webp) |
|
2022-10-09 05:02:05 +08:00
|
|
|
|
2022-10-11 22:53:52 +08:00
|
|
|
## 使用教程
|
2022-10-07 17:36:21 +08:00
|
|
|
|
2022-10-14 20:05:49 +08:00
|
|
|
搭建教程、使用方法、参数配置、常见问题请见:<https://bot.novelai.dev>
|
2022-10-07 17:36:21 +08:00
|
|
|
|
2022-10-11 22:53:52 +08:00
|
|
|
## License
|
2022-10-08 00:23:16 +08:00
|
|
|
|
2022-11-25 01:10:21 +08:00
|
|
|
使用 [MIT](./LICENSE) 许可证发布。
|
2022-10-07 17:36:21 +08:00
|
|
|
|
2022-11-25 01:10:21 +08:00
|
|
|
```
|
|
|
|
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.
|
|
|
|
```
|
2022-10-07 17:36:21 +08:00
|
|
|
|
2022-10-11 22:53:52 +08:00
|
|
|
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fkoishijs%2Fnovelai-bot.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fkoishijs%2Fnovelai-bot?ref=badge_large)
|