Skip to main content

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 链接。等待中的任务可稍后用原 ID 重查。图片需选择 URL 输出。
  • 原有 ACEMUSIC_API_TOKEN、/创作音乐 提示词 和 /音乐任务 原任务ID 继续使用 ACE Music。同一消息的重复投递复用原幂等键。请求超时后先检查 Ace 控制台的任务历史。

令牌仅配置在机器人环境中。请勿在聊天中发送令牌。

支持

Metadata

Release files for nonebot-plugin-acemusic 0.2.2

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-acemusic 0.2.2
File Size Uploaded Provenance Actions
nonebot_plugin_acemusic-0.2.2.tar.gz 7.8 kB With provenance Details for nonebot_plugin_acemusic-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-acemusic 0.2.2
File Interpreter ABI Platform Actions
nonebot_plugin_acemusic-0.2.2-py3-none-any.whl Python 3 none any Details for nonebot_plugin_acemusic-0.2.2-py3-none-any.whl

Total release size: 15.2 kB

Release files / nonebot_plugin_acemusic-0.2.2.tar.gz

Download URL nonebot_plugin_acemusic-0.2.2.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a3f19ff80fa800425f889c65648e5289f347f64f5342ffd5eb953d58498e2909
BLAKE2b-256 checksum
How to use checksums
a09103738fb51a18617eaf6756361054065a41f4b4d57e68d5866d4ed2330813
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 30, 2026.

Transparency log

Release files / nonebot_plugin_acemusic-0.2.2-py3-none-any.whl

Download URL nonebot_plugin_acemusic-0.2.2-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
adfc71ffbdb83f834e789704fbd7a96c232bdb286b7344d5fb912b202a490fbb
BLAKE2b-256 checksum
How to use checksums
d96426e8941c81c17ae56fb79e76d3a011f06f42e7a901596d9e97e7834c497d
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 30, 2026.

Transparency log

Security for nonebot-plugin-acemusic 0.2.2

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.

Select from 2 files

Attestation for nonebot_plugin_acemusic-0.2.2.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 30, 2026.

Transparency log

A 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.

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