Skip to main content
NoneBotPluginLogo

NoneBotPluginText

NoneBot-Plugin-Riffusion

✨ 你给歌词,AI 作曲 ✨

python pdm-managed wakatime
Pydantic Version 1 Or 2 license pypi pypi download

💿 安装

以下提到的方法 任选其一 即可

[推荐] 使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-riffusion
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-riffusion
pdm
pdm add nonebot-plugin-riffusion
poetry
poetry add nonebot-plugin-riffusion
conda
conda install nonebot-plugin-riffusion

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分的 plugins 项里追加写入

[tool.nonebot]
plugins = [
    # ...
    "nonebot_plugin_riffusion"
]

⚙️ 配置

在 NoneBot2 项目的 .env 文件中添加下表中的必填配置

配置项 必填 默认值 说明
PROXY 否 None 插件请求 API 使用的代理地址
RIFFUSION_TIMEOUT 否 30 插件请求接口超时,单位秒
RIFFUSION_BREAK_URL 否 False 是否破坏插件消息中的 URL 以降低风控概率

🎉 使用

使用指令 riffusion -h 查看帮助

📞 联系

QQ:3076823485
Telegram:@lgc2333
吹水群:1105946125
邮箱:lgc2333@126.com

💡 鸣谢

Riffusion

  • 服务提供

nonebot/plugin-alconna

  • 强大的命令解析库,和多平台适配方案

💰 赞助

感谢大家的赞助!你们的赞助将是我继续创作的动力!

  • 爱发电

  • 赞助二维码(点击展开)

    讨饭

📝 更新日志

0.2.1

  • 修 Bug

0.2.0

  • 适配 Pydantic V1 & V2

0.1.2

  • 添加 PROXY 配置项

0.1.1

  • 修复 -h 参数无效的问题

Metadata

Release files for nonebot-plugin-riffusion 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-riffusion 0.2.1
File Size Uploaded
nonebot_plugin_riffusion-0.2.1.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-riffusion 0.2.1
File Interpreter ABI Platform
nonebot_plugin_riffusion-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.7 kB

Release files / nonebot_plugin_riffusion-0.2.1.tar.gz

Download URL nonebot_plugin_riffusion-0.2.1.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
96080f5d9cd78db1824a55df26ecf30e248ded1b64672793ffaa17ab7ab048e3
BLAKE2b-256 checksum
How to use checksums
975d8faf7343cd16deec459cfb11bedeb98e82da45cf09eeed318cd494950f7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.12.4 CPython/3.10.12

Release files / nonebot_plugin_riffusion-0.2.1-py3-none-any.whl

Download URL nonebot_plugin_riffusion-0.2.1-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2b866de04451e81069209826eb418f207cbc09797f9962ddc368c89faf79996
BLAKE2b-256 checksum
How to use checksums
89281afb1b112228b785cbc92a4bdce3e9c7d0ecb18b57f5ce430c86ff80cc46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.12.4 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page