Skip to main content

适用于 Nonebot2 的彩云小梦AI续写插件

Project description

nonebot-plugin-caiyunai

适用于 Nonebot2 的彩云小梦AI续写插件

安装

  • 使用 nb-cli
nb plugin install nonebot_plugin_caiyunai
  • 使用 pip
pip install nonebot_plugin_caiyunai

配置

需要在 .env.xxx 文件中添加彩云小梦apikey:

caiyunai_apikey=xxx

apikey获取:

前往 http://if.caiyunai.com/dream 注册彩云小梦用户;

注册完成后,F12打开开发者工具;

在控制台中输入 alert(localStorage.cy_dream_user) ,弹出窗口中的 uid 即为 apikey;

或者进行一次续写,在 Network 中查看 novel_ai 请求,Payload 中的 uid 项即为 apikey。

使用

触发方式:

@机器人 续写/彩云小梦 xxx

示例:

特别感谢

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_caiyunai-0.2.2.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_caiyunai-0.2.2-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page