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 生图;可纯文字或带参考图(附图/回复图)。依赖画画网关,次数受限。

用户命令

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

命令权限

命令 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.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 pallas-plugin-draw 4.1.1
File Size Uploaded
pallas_plugin_draw-4.1.1.tar.gz 2.5 MB Details

Built distribution (wheel)

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

Total release size: 2.5 MB

Release files / pallas_plugin_draw-4.1.1.tar.gz

Download URL pallas_plugin_draw-4.1.1.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
a4536492b244ab314679272aac45b791f5e4f85f45c9b0e4b144d99b4607dfbd
BLAKE2b-256 checksum
How to use checksums
bc336a52e6f951902bb2c96249ff9c5747b0b80d849f051a908c43051fbe9017
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 24, 2026.

Transparency log

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

Download URL pallas_plugin_draw-4.1.1-py3-none-any.whl
Size 68.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ce817e58440a5b51517ecabe9d91ed202dc445c2359b8132f584ad1c5e1dea5
BLAKE2b-256 checksum
How to use checksums
88cf0cd912f4e483e1e1c40a67dbcb2c1f23483ffb58764a15e083a7778ceee8
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 24, 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

4.1.7

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

This release

4.1.1 This release

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