haimuhaimu/dsh-image-gen0

dsh-image-gen

DeepSeek Harness plugin: generate images via Aliyun Bailian Qwen-Image (bl CLI). Adds a generate_image tool that returns images as conversation attachments.

包名
dsh-image-gen
版本
0.1.0
最近更新
2026年8月19日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:haimuhaimu/dsh-image-gen

使用

装好后 agent 会自动获得 generate_image 工具,直接对 DSH 说"生成一张……的图片"即可。 工具参数:

参数必填说明
prompt图片描述(越详细越好:主体、风格、构图、光线)
size尺寸:比例 3:4 / 16:9 / 1:1 或像素 1024*10242048*2048;默认 1024*1024
model模型:默认 qwen-image-3.0;可选 wan2.6-t2iz-image-turbo
n生成数量(1-6),默认 1
negative_prompt排除的元素
seed随机种子,可复现结果
watermark是否保留水印,默认 false

配置

cordis.patch.ymlconfig 块:

- id: image-gen
  name: dsh-image-gen
  config:
    blPath: ""   # bl CLI 路径;留空自动查找 PATH 与常见安装位置