Skip to main content

牛牛画画

牛牛画画 pallas-plugin-draw

提供群内 AI 生图与参考图改图能力。

官方插件 控制台插件商店 安装命令 PyPI 版本

安装方式

需已安装 Pallas-Bot ≥ 4.0。

推荐直接在控制台插件商店安装,或在本体项目中执行:

uv run pallas ext install pallas-plugin-draw

也可单独安装本包:

uv pip install pallas-plugin-draw

怎么使用

群内 AI 生图;可纯文字或带参考图(附图/回复图)。依赖画画网关,可配置每日次数。

可选安装社区插件 牛牛爱发电(afdian) 后,免费用尽可使用额外额度;未安装时行为与原先一致,不会出现付费相关提示。

用户命令

口令 / 触发 场景 说明
牛牛画画 … 群内 按描述生图或改图

命令权限

命令 ID 默认等级
draw.draw 所有人

详细用法、限制条件和可用范围以帮助为主。

配置项

WebUI 插件 → 牛牛画画 或 服务网关 / 连通性;字段前缀为 pallas_image_*(历史命名,见文档站)。

完整键:本仓库 config.py

排障

现象 处理
失败提示 看返回文案;用 牛牛连通 测网关
次数用尽 等待重置或调配额

实现

源码位置:src/pallas_plugin_draw/

关键文件:

实现要点:

  • 在 Bot 进程内直连配置的画画网关;主/备线可填 provider_id 沿用 AI · Provider 凭证,也可手动填写 base_url / api_key。
  • 支持纯文本生成与带参考图的改图路径。
  • 结果依赖外部画图网关,失败时以返回文案和连通性为主要事实源。

相关链接

说明 链接
牛牛画画 · 用户文档 文档站 · draw
插件开发入门 develop/plugin/getting-started

Metadata

Release files for pallas-plugin-draw 4.1.7

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

Source distribution (sdist)

Source distribution for pallas-plugin-draw 4.1.7
File Size Uploaded
pallas_plugin_draw-4.1.7.tar.gz 2.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pallas-plugin-draw 4.1.7
File Interpreter ABI Platform
pallas_plugin_draw-4.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 2.6 MB

Release files / pallas_plugin_draw-4.1.7.tar.gz

Download URL pallas_plugin_draw-4.1.7.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
79e354047486a59bedd342a843b38cd9ddf9c3e1e07a0282d8d7540d2bac0dec
BLAKE2b-256 checksum
How to use checksums
f853e2f7a0494a2509ce49a7a688631d923449b37857a0348a6bdb428b3ff0b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 26, 2026.

Transparency log

Release files / pallas_plugin_draw-4.1.7-py3-none-any.whl

Download URL pallas_plugin_draw-4.1.7-py3-none-any.whl
Size 70.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f45bbd491e41ce3516b54a60cb1d065df47938db5d955d364c968d58af3425df
BLAKE2b-256 checksum
How to use checksums
b50f385497c31ccb59e9c43ed0885b6244c0ca4cc855c1f7f01973abe64fb28b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 26, 2026.

Transparency log

Release history Release notifications | RSS feed

4.1.16

2 release files

4.1.15

2 release files

4.1.14

2 release files

4.1.13

2 release files

4.1.12

2 release files

4.1.11

2 release files

4.1.10

2 release files

4.1.9

2 release files

4.1.8

2 release files

This release

4.1.7 This release

2 release files

4.1.6

2 release files

4.1.5

2 release files

4.1.4

2 release files

4.1.3

2 release files

4.1.2

2 release files

4.1.1

2 release files

4.1.0

2 release files

4.0.17

2 release files

4.0.16

2 release files

4.0.15

2 release files

4.0.12

2 release files

4.0.11

2 release files

4.0.10

2 release files

4.0.9

2 release files

4.0.8

2 release files

4.0.7

2 release files

4.0.6

2 release files

4.0.5

2 release files

4.0.4

2 release files

4.0.3

2 release files

4.0.2

2 release files

4.0.1

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