Ace 媒体创作助手
在 NoneBot 2 的 OneBot V11 私聊中,把描述提交给音乐、图像或视频服务,并用原任务 ID 取回结果。命令仅向超级用户开放。创作会使用所选应用的 Credits。
nb plugin install nonebot-plugin-acemusic
在 Ace 应用 中开通要用的服务。在机器人的环境文件中设置各服务的应用令牌,填入 NoneBot 的 SUPERUSERS 并启用 OneBot V11 适配器,再启动机器人。插件可以在未配置服务时加载。
ACE_MEDIA_TOKENS='{"suno":"your-suno-token","nano-banana":"your-image-token","seedance":"your-video-token"}'
| 类型 | 命令中的服务名称 |
|---|---|
| 音乐 | acemusic、suno |
| 图片 | nano-banana、gpt-image、seedream、flux |
| 视频 | seedance、kling、veo、hailuo |
/媒体创作 suno 黄昏时的轻快爵士配乐提交一次歌曲创作,并返回专用查询命令。/媒体创作 nano-banana 雨后街道的水彩插画生成一幅场景图。/媒体创作 seedance 小船穿过拂晓时的薄雾提交一段视频。/媒体任务 seedance 原任务ID查同一服务的状态与已交付的 HTTPS 媒体链接。等待中的任务可稍后重查。需要直接下载链接的图片请使用 URL 输出。- 原有
ACEMUSIC_API_TOKEN、/创作音乐 提示词和/音乐任务 原任务ID继续使用 ACE Music。同一消息的重复投递复用原幂等键。请求超时后先检查 Ace 控制台的任务历史。
令牌仅配置在机器人环境中。请勿在聊天中发送令牌。
Metadata
Release files for nonebot-plugin-acemusic 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_acemusic-0.2.1.tar.gz | 7.0 kB | With provenance | Details for nonebot_plugin_acemusic-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_acemusic-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_acemusic-0.2.1-py3-none-any.whl |
Total release size: 13.9 kB
Release files / nonebot_plugin_acemusic-0.2.1.tar.gz
| Download URL | nonebot_plugin_acemusic-0.2.1.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96d6201d2268a47e1e42e06a7de18391d0c5e449d8853e333d7a41b7f83f19d9
|
|
BLAKE2b-256 checksum How to use checksums |
c54176fad3b2d77fbbace7c76b3771c215a5c9106ea3856e931782cea9a522af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logRelease files / nonebot_plugin_acemusic-0.2.1-py3-none-any.whl
| Download URL | nonebot_plugin_acemusic-0.2.1-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39a9b9c0d3e8658e60c1b8e0e5241af952f849353cd23fdcd3d9833820f97f98
|
|
BLAKE2b-256 checksum How to use checksums |
1e6af4b3824575f31e92aab305a2a69e7d6eb934757cfa2e23c77798e308727c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logSecurity for nonebot-plugin-acemusic 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for nonebot_plugin_acemusic-0.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.