netori/dsh-imagegen-zhenzhen0

dsh-imagegen-zhenzhen

DSH image-generation plugin with native support for the zhenzhen-image async task gateway (POST /image/generations -> top-level task_id -> poll GET /image/generations/<id>): text-to-image and multi-reference image-to-image, no bridge process or external image host required. Forked from @dickpy/dsh-imagegen.

包名
dsh-imagegen-zhenzhen
版本
1.5.11-zhenzhen.1
许可证
Apache-2.0
最近更新
2026年9月11日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:netori/dsh-imagegen-zhenzhen

配置

在「设置 → 插件 → AI 生图」里添加渠道,或直接写 ~/.dsh/settings.yaml

dsh-imagegen:
  enabled: true
  allowAgentImageGeneration: true
  defaultChannelId: my-gateway
  channels:
    - id: my-gateway
      name: 我的网关
      apiUrl: https://api.example.com/v1
      models:
        - { alias: zhenzhen-image-g-v2.5-flare, id: zhenzhen-image-g-v2.5-flare }
  channelSecrets:
    my-gateway: ""
  • apiUrl基地址(含 /v1),插件会自动追加 /image/generations/files/upload
  • 模型 id 需匹配 /^zhenzhen-image/i 才会走本 fork 的原生协议分支; 其它模型仍按上游的各族协议(Seedream / Qwen / MiniMax / Grok / Nano Banana / 智谱)处理。