牛牛唱歌 / 牛牛说 pallas-plugin-ai-media
提供牛牛唱歌与文字转语音(TTS),依赖 Pallas-Bot-AI 媒体服务。
安装方式
需已安装 Pallas-Bot ≥ 4.0,并部署 Pallas-Bot-AI。
推荐直接在控制台插件商店安装,或在本体项目中执行:
uv run pallas ext install pallas-plugin-ai-media
也可单独安装本包:
uv pip install pallas-plugin-ai-media
酒后对话由本体
llm_chat承接(纯文字)。语音请用本包「牛牛说」。
怎么使用
牛牛唱歌(sing)
AI 翻唱、续唱、点歌与查歌名;依赖 AI 仓与本体 callback 回传音频。
| 口令 / 触发 | 场景 | 说明 |
|---|---|---|
牛牛唱歌 歌曲名 [key=±N] |
群内 | AI 翻唱 |
牛牛继续唱 / 牛牛接着唱 |
群内 | 续唱上一首 |
牛牛点歌 歌曲名 |
群内 | 网易云原曲 |
牛牛什么歌 / 牛牛哪首歌 |
群内 | 查询当前曲目 |
网易云登录 / 网易云登出 |
私聊 | 超管维护 Cookie |
| 命令 ID | 默认等级 |
|---|---|
sing.ncm_login |
仅超管 |
sing.ncm_logout |
仅超管 |
牛牛说(tts)
| 口令 / 触发 | 场景 | 说明 |
|---|---|---|
牛牛说 〈文本〉 |
群内 | 侧车 TTS 合成语音 |
| 命令 ID | 默认等级 |
|---|---|
tts.speak |
所有人 |
详细用法、限制条件和可用范围以帮助为主。
配置项
推荐在控制台 AI 配置 · 媒体:服务地址与 Bearer 在「媒体服务」连接里配置;音色映射 / 启停等在「唱歌」「TTS」面板(与插件页同源)。
自备唱歌音色放到 AI 仓 resource/sing/models/<音色名>/。
排障
| 现象 | 处理 |
|---|---|
| 唱歌无语音 | 查 AI 服务、/callback 可达;牛牛连通 测唱歌网关 |
| 「牛牛说」无语音 | 确认已启用 TTS;媒体服务 Bearer 与 AI 侧 PALLAS_AI_API_TOKEN 一致;音色默认已配置 |
实现
相关链接
| 说明 | 链接 |
|---|---|
| 唱歌 | 文档站 · sing |
| 智能对话 / 酒后 | 文档站 · llm_chat |
| Pallas-Bot-AI | GitHub |
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pallas_plugin_ai_media-4.3.6.tar.gz.
File metadata
- Download URL: pallas_plugin_ai_media-4.3.6.tar.gz
- Upload date:
- Size: 3.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9cffc0d93f0e7624b9d5f00133e8c1de18f324b4a8a19292ab53bfea66a209f
|
|
| MD5 |
94deb39f8c2e36adf90266699b5d67d3
|
|
| BLAKE2b-256 |
8014f0e6330bb067811e01c73797f035489f62af045c841872b8c225550a4c8a
|
Provenance
The following attestation bundles were made for pallas_plugin_ai_media-4.3.6.tar.gz:
Publisher:
publish-pypi.yml on PallasBot/Plugin-Ai-Media
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pallas_plugin_ai_media-4.3.6.tar.gz -
Subject digest:
a9cffc0d93f0e7624b9d5f00133e8c1de18f324b4a8a19292ab53bfea66a209f - Sigstore transparency entry: 2326325204
- Sigstore integration time:
-
Permalink:
PallasBot/Plugin-Ai-Media@066895ea1bb004432d426c4e7d66520b8cb83b6c -
Branch / Tag:
refs/tags/v4.3.6 - Owner: https://github.com/PallasBot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@066895ea1bb004432d426c4e7d66520b8cb83b6c -
Trigger Event:
push
-
Statement type:
File details
Details for the file pallas_plugin_ai_media-4.3.6-py3-none-any.whl.
File metadata
- Download URL: pallas_plugin_ai_media-4.3.6-py3-none-any.whl
- Upload date:
- Size: 46.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46fcadf665cc51afef8e77f6b625cabbe7615f77de80e609411cf9221db83ff5
|
|
| MD5 |
c312460ddc58cb39ef5b4855d03b8e0c
|
|
| BLAKE2b-256 |
53e8596efaeece3b5b95e4a06b1ce4bcd10a4e450a433bdd4bfafc2d0f35e592
|
Provenance
The following attestation bundles were made for pallas_plugin_ai_media-4.3.6-py3-none-any.whl:
Publisher:
publish-pypi.yml on PallasBot/Plugin-Ai-Media
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pallas_plugin_ai_media-4.3.6-py3-none-any.whl -
Subject digest:
46fcadf665cc51afef8e77f6b625cabbe7615f77de80e609411cf9221db83ff5 - Sigstore transparency entry: 2326325249
- Sigstore integration time:
-
Permalink:
PallasBot/Plugin-Ai-Media@066895ea1bb004432d426c4e7d66520b8cb83b6c -
Branch / Tag:
refs/tags/v4.3.6 - Owner: https://github.com/PallasBot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@066895ea1bb004432d426c4e7d66520b8cb83b6c -
Trigger Event:
push
-
Statement type: